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
  •  


Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$259.00



Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI picture

Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI

$144.00



Lenovo ThinkPad laptop T490 14

Lenovo ThinkPad laptop T490 14" i5 8365U 16GB NEW 256gb SSD WIN 11 pro CAM WIFI

$259.99



Lenovo ThinkPad X13 Gen 3 13.3” FHD Laptop Intel i5 16GB RAM 256GB SSD Win 11 picture

Lenovo ThinkPad X13 Gen 3 13.3” FHD Laptop Intel i5 16GB RAM 256GB SSD Win 11

$299.85



Lenovo ThinkPad T14S Gen 1 CORE i7-10610U 1.80GHZ 256GB 16GB WCam WiFi W11 Cord picture

Lenovo ThinkPad T14S Gen 1 CORE i7-10610U 1.80GHZ 256GB 16GB WCam WiFi W11 Cord

$175.00



Lenovo IdeaPad 5 2-in-1 16

Lenovo IdeaPad 5 2-in-1 16" WUXGA Touch Ryzen 7 8845HS 16GB 512GB SSD FPReader

$571.00



Lenovo - Yoga 7i 2-in-1 - Copilot+ PC - 16

Lenovo - Yoga 7i 2-in-1 - Copilot+ PC - 16" 2K Touchscreen Laptop - Intel Cor...

$699.99



Lenovo ThinkPad T480 14

Lenovo ThinkPad T480 14" HD i5 8250u 16GB 256gb NVME WIFI CAM WIN 11 PRO laptop

$299.99



Lenovo THINKPAD L15 GEN 4 15.6

Lenovo THINKPAD L15 GEN 4 15.6" 16GB, Thunder Black

$327.00



Lenovo ThinkPad P14s Gen 1 14

Lenovo ThinkPad P14s Gen 1 14" Touchscreen i7-10610U 1.8GHz 48GB/1TB Quadro P520

$319.99