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

Thread: gpart

  1. #11
    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. #12
    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. #13
    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. #14
    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. #15
    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. #16
    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
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server picture

Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server

$525.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w

$538.88



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w

$218.88



Dell PowerEdge T620 2x E5-2620 v2 @ 2.20GHz, 64GB 2X600GB HDD DVDRW H310  NO OS picture

Dell PowerEdge T620 2x E5-2620 v2 @ 2.20GHz, 64GB 2X600GB HDD DVDRW H310 NO OS

$449.99



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99



Dell Poweredge R720xd 2x Xeon E5-2660 2.2GHz 16-Cores  64gb  H710  26x Trays picture

Dell Poweredge R720xd 2x Xeon E5-2660 2.2GHz 16-Cores 64gb H710 26x Trays

$364.99