Results 1 to 4 of 4

Thread: HELP. trying to fsck or fdisk the hardrive. zero-length. I/O

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Posts
    2

    HELP. trying to fsck or fdisk the hardrive. zero-length. I/O

    i have a dying hardrive on an ibm laptop that i wish to get data off. it has redhat linux on it and will not boot of the hdd.

    so i turned to knoppix, made the cd, and booted off the cd. it managed to boot in
    knoppix 2

    my problem is finding out the proper partition and fixing it.

    but every fdisk or fsck command i give returns an i/o error as follows:

    for a list of partitions on device hda
    >fdisk -l /dev/hda
    end_request: I/O error, dev 03:00 (hda), sector 0

    and fsck partition hda1
    >fsck /dev/hda1
    fsck 1.35 (28-Feb-2004)
    e2fsck 1.35 (28-Feb-2004)
    end_request: I/O error, dev 03:01 (hda), sector 0
    end_request: I/O error, dev 03:01 (hda), sector 2
    end_request: I/O error, dev 03:01 (hda), sector 4
    end_request: I/O error, dev 03:01 (hda), sector 6
    fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda1
    Could this be a zero-length partition?

    i believe the /etc/fstab is incorrect, it follows:

    /proc /proc proc defaults 0 0
    /sys /sys sysfs noauto 0 0
    /dev/pts /dev/pts devpts mode=0622 0 0
    /dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask-000 0 0
    /dev/cdrom /mnt/auto/cdrom auto user, noauto,exec,ro 0 0
    *Added by KNOPPIX
    /dev/hda1 /mnt/hda1 ext2 noauto, users, exec 0 0
    *Added by KNOPPIX
    /dev/hda5 /mnt/hda5 auto noauto, users, exec 0 0
    *Added by KNOPPIX
    /dev/hda6 /mnt/hda6 auto noauto, users, exec 0 0
    *Added by KNOPPIX
    /dev/hda7 /mnt/hda7 auto noauto, users, exec 0 0
    *Added by KNOPPIX
    /dev/hda8 /mnt/hda8 auto noauto, users, exec 0 0

    how can knoppix even run without access to a hdd. it must have space, no. where is root mounted?

    how can i find out the proper partition and fix the %$$££bugger?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323

    Re: HELP. trying to fsck or fdisk the hardrive. zero-length.

    Quote Originally Posted by hdd_messed
    end_request: I/O error, dev 03:00 (hda), sector 0
    This is often seen when DMA is not supported, try the cheatcode nodma.

    how can knoppix even run without access to a hdd. it must have space, no. where is root mounted?
    It makes a ramdisk out of your RAM and uncompresses there what it needs.

  3. #3
    Junior Member
    Join Date
    Sep 2004
    Posts
    2

    Re: HELP. trying to fsck or fdisk the hardrive. zero-length.

    [quote="Markus"]
    Quote Originally Posted by hdd_messed
    end_request: I/O error, dev 03:00 (hda), sector 0
    This is often seen when DMA is not supported, try the cheatcode nodma.

    thanks for the info. on nodma and ramdisk

    now i get no hda entries in /etc/fstab

    fdisk -l /dev/hda
    returns nothing

    it is not possible to run fsck on /dev/hda1. there is not device at that address.

    what is the next step for adding devices.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Do you have some kind of RAID or SATA disk?
    You said you wanted to get data of it, can't you just copy it off with cp or dd before trying to fix it? Obviously you need to have the devices detected for that..
    You might want to try some other no-cheatcodes: noapic nodma nomce noscsi noswap

Similar Threads

  1. Password Length Limit in Knoppix
    By sakiZ in forum General Support
    Replies: 3
    Last Post: 02-18-2005, 02:21 PM
  2. Boot problem: Empty / Zero length initrd.img-2.6.5 file
    By Calvi Risorta in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-20-2004, 03:09 AM
  3. maximum twisted-pair cable length ?
    By adyga in forum Networking
    Replies: 7
    Last Post: 05-13-2004, 04:58 AM
  4. BLock size/image length
    By warawara in forum General Support
    Replies: 1
    Last Post: 04-15-2004, 05:45 PM
  5. Average European Vacation length?
    By Duffin444 in forum The Lounge
    Replies: 8
    Last Post: 12-09-2003, 05:52 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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin picture

CRUCIAL DDR3L 8GB 16GB 32GB 1600 MHz PC3-12800 Laptop Memory RAM SODIMM 204-Pin

$14.35



HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco picture

HMT84GL7AMR4C-RD 32GB DDR3 Server Memory RAM 14900L ECC REG 4Rx4 SK Hynix Cisco

$13.99



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



Crucial  DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L picture

Crucial DDR3 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3L 16G DDR3L

$21.95



Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM picture

Hynix 64GB 4Rx4 PC4-2133P-L LRDIMM DDR4-17000 ECC Load Reduced Server Memory RAM

$64.99



A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-19200R DDR4 2400MHz ECC REG RDIMM Server Memory RAM

$87.96