[opensuse] How to update initrd on an other boot for multiboots? (long)
Hello, I am trying to work around a rather nasty 11.0 reiserfs bug. I am constantly having to reboot because of hangs on files. I wiped one of my various boot disks, change the fs to ext3 and installed openSUSE 11.0 on it. I should have saved initrd but I forgot. I then cpio-ed the orignal openSUSE 11.0 install and it wiped out the /boot/... files. When I attempt to boot from it I get cannot mount / EXT3. I have in my menu.lst boots for 15 different OS's or distro's of Linux. I need to be able to boot to this ext3 install of 11.0 to avoid the hangs. Before the orignal install I was able to boot to either the SCSI or IDE installs of 11.0 and the other OS's. Since changing the FS I am unable to figure-out the right combination to be able to choose between the SCSI and IDE boot of 11.0. This is an older HP server. I have 8 SCSI disks 3 IDE and some USB devices. The BIOS does not allow to choose IDE boot only the SCSI, but because of the IO addresses the IDE boots before the SCSI. A fresh install of 11.0 on the IDE drive only allows or installs a single set of choices. Standard 11.0 and Failsafe. A fresh install to a SCSI device gives all the choices of the OS's/Distros. I think there is a bug in openSUSE 11.0 that prevents grub installs to be correct. I have tried supergrub but it does not allow me to fix grub or to have the choices. I have munged grub to default boot to the SCSI disk but it gives an error of hd(0,5) message ... Here is the device.map This coloum not in device.map (hd0) /dev/sda # First SCSI (hd1) /dev/sdb # Second SCSI (hd2) /dev/sdc # First IDE (hd3) /dev/sdd # Second IDE (hd4) /dev/sde # Third IDE drive ... # other SCSI and USB devices. (hd26) /dev/sdz # last USB device. This is the starts of the menu.lst SCSI then IDE file... # Modified by YaST2. Last modification on Wed Aug 20 01:36:04 MDT 2008 default 0 timeout 8 gfxmenu (hd0,5)/boot/message # Modified by YaST2. Last modification on Wed Aug 20 01:36:04 MDT 2008 default 0 timeout 8 gfxmenu (hd2,1)/boot/message ... This is what I found in my grub.conf file right after install. setup --stage2=/boot/grub/stage2 (hd0,5) (hd2,1) setup --stage2=/boot/grub/stage2 (hd0) (hd0,5) setup --stage2=/boot/grub/stage2 (hd2) (hd2,1) quit
From the booted system I run yast boot loader and it changes the file to
setup --stage2=/boot/grub/stage2 (hd0,5) (hd0,5) setup --stage2=/boot/grub/stage2 (hd0) (hd0,5) setup --stage2=/boot/grub/stage2 (hd2) (hd0,5) quit But when I try to boot to the IDE drive I get the EXT3 error. This is what I get in the menu.lst after a repair from the 11.0 boot disks SCSI first then IDE. ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.0 root (hd0,5) kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-200000e110027803e-part6 resume=/dev/sda5 splash=verbose showopts initrd /boot/initrd title OpenSUSE 11.0 IDE boot root (hd2,1) kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_FUJITSU_MPF3204_01087687-part2 resume=/dev/sdc1 splash=verbose showopts initrd /boot/initrd then... ###Don't change this comment - YaST2 identifier: Original name: linux### title OpenSUSE 11.0 IDE boot root (hd2,1) kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_FUJITSU_MPF3204_01087687-part2 resume=/dev/sdc1 splash=verbose showopts initrd /boot/initrd But the IDE will not boot, I get the error about EXT3. This is what I have currently at the top of the IDE menu.lst I had to change the default from 0 to 1 to get the system back up. I also had to remove the root (...) from the top of each entry to boot. # Modified by YaST2. Last modification on Wed Aug 20 01:36:04 MDT 2008 default 1 timeout 8 gfxmenu (hd2,1)/boot/message ###Don't change this comment - YaST2 identifier: Original name: linux### title OpenSUSE 11.0 IDE boot default kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_FUJITSU_MPF3204_01087687-part2 resume=/dev/sdc1 splash=verbose showopts initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: SCSI-linux### title openSUSE 11.0 SCSI boot kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-200000e110027803e-part6 resume=/dev/sda5 splash=verbose showopts initrd /boot/initrd ... Every thing else works just fine. When I had 10.0-10.2 on this system I had root=/dev/sda6 resume=/dev/sda5 root=/dev/hda2 resume-/dev/hda1 with 10.3 I had root=/dev/sda6 resume=/dev/sda5 root=/dev/hsdc2 resume-/dev/sdc1 What should be the right incantation to get this all working. Thanks for taking the time to read and possibly answer this. I really apperciate any suggestions. Thanks, -- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Boyd Lynn Gerber