/dev/hdb error. i cant boot

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

/dev/hdb error. i cant boot

Post by juandelacruz101 » 2009/12/04 03:48:55

hi

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..
tnx

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: /dev/hdb error. i cant boot

Post by toracat » 2009/12/04 13:05:56

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

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

Re: /dev/hdb error. i cant boot

Post by 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]mount -w -o remount /[/code]. You should then be able to edit /etc/fstab and comment out the problematic entries.

The information [b]toracat[/b] requested is essential to go any further. You might also want to run[code]
fdisk /dev/hdb
v
[/code]
to verify the partition table. The extended partition is usually the last one. You may have overlapping entries.

Post Reply