/dev/hdb error. i cant boot

General support questions including new installations
Posts: 1
Joined: 2009/12/04 02:44:31

/dev/hdb error. i cant boot

Postby juandelacruz101 » 2009/12/04 03:48:55


this is my scenario

im running centos at Virtual box with 2 hardisk.
i configure hdb to have 3 partition using parted
hdb1 and hdb3 are primary ext3... and hdb2 extended
i add them to /etc/fstab and mount to /mnt/hdb1 , /mnt/hdb2, /mnt/hdb3
i succestful mount it...

after i reboot, error occured.

fsck.ext3: attemp to read block from filesystem resulted in short
read while trying to open /dev/hdb2

give root password for maintenance

then i try to remove the second hardisk. then it result to other error.. /hdb1 /hdb2 and /hdb3 error..
i also try to edit the /etc/fstab but no luck. file is readeable at the mode.

how can i make, not to read the other hardisk?
please help me..

User avatar
Forum Moderator
Posts: 7219
Joined: 2006/09/03 16:37:24
Location: California, US

Re: /dev/hdb error. i cant boot

Postby toracat » 2009/12/04 13:05:56

Could you show us the content of /etc/fstab and the output from 'fdisk -l' ?

Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: /dev/hdb error. i cant boot

Postby pschaff » 2009/12/04 21:33:07

Second time using this answer today - must be a FAQ now. To mount the root partition read/write in maintenance mode

Code: Select all

mount -w -o remount /
. You should then be able to edit /etc/fstab and comment out the problematic entries.

The information toracat requested is essential to go any further. You might also want to run

Code: Select all

fdisk /dev/hdb

to verify the partition table. The extended partition is usually the last one. You may have overlapping entries.