Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: gpart

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    i do not quite "trust" gpart, mainly cause of the tendency to make wrong diagnosis of large disk geometries, it is slightly unstable above 1024 cylinders (which is quite common today)

  2. #2
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    Don't prepend the'http://' with wget

    I had a suspicion, and tried the address given here, w/o the http:// prefix:
    Code:
    root@Microknoppix:/home/knoppix# wget ftp.us.debian.org/debian/pool/main/g/gpart/gpart_0.1h-4.1_i386.deb 
    --2010-02-04 22:48:15--  http://ftp.us.debian.org/debian/pool...h-4.1_i386.deb
    Resolving ftp.us.debian.org... 35.9.37.225, 64.50.236.52, 128.30.2.36, ...
    Connecting to ftp.us.debian.org|35.9.37.225|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 36310 (35K) [application/octet-stream]
    Saving to: `gpart_0.1h-4.1_i386.deb'
    
    100%[======================================>] 36,310      45.7K/s   in 0.8s    
    
    2010-02-04 22:48:16 (45.7 KB/s) - `gpart_0.1h-4.1_i386.deb' saved [36310/36310]
    So, nothing wrong with the advice, really. And wget is your friend.

  3. #3
    Member registered user
    Join Date
    Jul 2009
    Posts
    38
    Quote Originally Posted by OErjan
    i do not quite "trust" gpart, mainly cause of the tendency to make wrong diagnosis of large disk geometries, it is slightly unstable above 1024 cylinders (which is quite common today)

    Is there a better way to recover the partition table? gpart rocked for me on that particular occasion. It might not the next time around. Maybe thats why it isn't included on Knoppix6.2.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    sadly every tool has it's limits, to eliminate errors I use several to get all information I can on the disk first
    smartmontools
    fdisk
    sfdisk
    testdisk

    also I frequently use ddrescue and regular dd with flags conv=noerror,sync to "save" images of drives, it takes forever on large disks but it can save me in long run.
    also I frequently use gzip to compress the image.
    Code:
    dd if=/dev/sdaX conv=noerror,sync | gzip -9 > /dev/sdbY/image.gz
    sometimes I have used hex-edit to "rescue" important documents form such drive-images of damaged disks, it can be, uhm challenging but beter than total loss.
    this is a jungle, I have been called by friends and friends of friends... to rescue "crashed" computers for two decades+ and I have only scratched the surface over that time, i have no banks of circuitboards from HDD's (ok a few), no clean rooms... i just try as best i can, if i see i can not do anything i say so and inform them about the more competent alternatives, sadly those come at a cost, some opt for that others not.

  5. #5
    Member registered user
    Join Date
    Jul 2009
    Posts
    38
    Quote Originally Posted by OErjan
    sadly every tool has it's limits, to eliminate errors I use several to get all information I can on the disk first
    smartmontools
    fdisk
    sfdisk
    testdisk

    also I frequently use ddrescue and regular dd with flags conv=noerror,sync to "save" images of drives, it takes forever on large disks but it can save me in long run.
    also I frequently use gzip to compress the image.
    Code:
    dd if=/dev/sdaX conv=noerror,sync | gzip -9 > /dev/sdbY/image.gz
    sometimes I have used hex-edit to "rescue" important documents form such drive-images of damaged disks, it can be, uhm challenging but beter than total loss.
    this is a jungle, I have been called by friends and friends of friends... to rescue "crashed" computers for two decades+ and I have only scratched the surface over that time, i have no banks of circuitboards from HDD's (ok a few), no clean rooms... i just try as best i can, if i see i can not do anything i say so and inform them about the more competent alternatives, sadly those come at a cost, some opt for that others not.

    Will dd work when you cant actually see that the hard drive exists with fdisk, df, or blkid?

  6. #6
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528

    Re: Yahoo!

    Quote Originally Posted by sbininit
    Quote Originally Posted by rusty
    Lets try it another way then. In a root terminal type:and then
    Code:
    dpkg -i gpart_0.1h-4.1_i386.deb

    Thanks I couldn't get it with wget for some reason-


    root@Microknoppix:/home/knoppix# wget http//ftp.us.debian.org/debian/pool/main/g/gpart/gpart_0.1h-4.1_i386.deb
    --2010-01-31 08:38:59-- http://http//ftp.us.debian.org/debia...h-4.1_i386.deb
    Resolving http... failed: Name or service not known.
    wget: unable to resolve host address `http'
    root@Microknoppix:/home/knoppix#


    but I manually found found the .deb and opened it with debi package installer and now it works.
    Hey-

    note the extra http here: http://http//ftp.us.debian.org/ - happens all the time, IMHO

    -Krishna

Page 2 of 2 FirstFirst 12

Similar Threads

  1. gpart utility: Can't access USB Hard Drive
    By ktas in forum Hardware & Booting
    Replies: 12
    Last Post: 09-08-2005, 12:01 AM
  2. gpart help?
    By OpenIntro in forum General Support
    Replies: 17
    Last Post: 04-04-2005, 10:33 PM
  3. Trying to fixi FAT32 drive with gpart
    By Albretch in forum Hardware & Booting
    Replies: 0
    Last Post: 12-23-2004, 10:49 AM
  4. I need help using gpart
    By Baraboo in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-09-2004, 02:06 PM
  5. messed up partitiontable -help with gpart
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-21-2004, 12:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$739.99



ON SALE TURBOLINK EVO  4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive picture

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive

$199.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$36.99



Western Digital Blue 3D NAND 250GB 2.5

Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A

$29.99



Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop picture

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop

$1790.00



SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$40.99



256GB mSATA SSD DRIVE  MIXED BRAND TESTED WORKING picture

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING

$23.50



SAMSUNG SSD 860 EVO 1TB 960GB 512GB 500GB 480GB 250GB 2.5 6Gbps picture

SAMSUNG SSD 860 EVO 1TB 960GB 512GB 500GB 480GB 250GB 2.5 6Gbps

$125.00



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99



Samsung 860 EVO 2TB 2.5

Samsung 860 EVO 2TB 2.5" SATA III 3D NAND SSD MZ-76E2T0 95%-100% Health

$207.00