I am in the process of recovering my system from a bad drive and have almost succeeded. My system had 2 drives both were very similar in that they each had a version of linux installed with a swap partition and primary partition. The hda drive died in a way that made the mbr unavailable. I switch the drives making hdb hda. I then booted into a rescue mode (Suse) and modified the /boot/grub/menu.lst file and replaced the references for hdb with hda. It now reads kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent desktop resume=/dev/hda1 showopts initrd (hd0,1)/boot/initrd I also modified the /boot/grub/device.map file. Upon rebooting the system it comes up allows me to choose at the grub menu and proceeds to boot. The boot messages are: Checking root file system... fsck 1.34 (25-Jul-2003) Failed to open the device '/dev/hdb2': No such device or address Warning... fsck.reiserfs for device /dev/hdb2 exited with signal 6. < more messages > file system is currently mounted read-only. The correct file system is mounted and I can remount it as read-write. There appears to be another reference to hdb2 somewhere. Any ideas how to fix this? Thanks, Mike
At first glance I would say it's probably /etc/fstab. -Andy On 6/28/05, Michael Long <mlong@datalong.com> wrote:
I am in the process of recovering my system from a bad drive and have almost succeeded. My system had 2 drives both were very similar in that they each had a version of linux installed with a swap partition and primary partition. The hda drive died in a way that made the mbr unavailable. I switch the drives making hdb hda. I then booted into a rescue mode (Suse) and modified the /boot/grub/menu.lst file and replaced the references for hdb with hda. It now reads
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent desktop resume=/dev/hda1 showopts initrd (hd0,1)/boot/initrd
I also modified the /boot/grub/device.map file. Upon rebooting the system it comes up allows me to choose at the grub menu and proceeds to boot. The boot messages are:
Checking root file system... fsck 1.34 (25-Jul-2003) Failed to open the device '/dev/hdb2': No such device or address Warning... fsck.reiserfs for device /dev/hdb2 exited with signal 6. < more messages > file system is currently mounted read-only.
The correct file system is mounted and I can remount it as read-write. There appears to be another reference to hdb2 somewhere. Any ideas how to fix this?
Thanks, Mike _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- -Andy
participants (2)
-
Andrew Mellors
-
Michael Long