Niki Kovacs
2007-May-27 14:56 UTC
[CentOS] Slightly OT: Debian and CentOS multiboot: menu.lst problem
Hi, I want to slowly migrate from Debian to CentOS, so I setup a multiboot on my main machine. There's a Debian Etch install on /dev/hda, and GRUB is also installed on the Debian side. On /dev/hdb, I have CentOS 5. I fdisked the drive manually, then chose manual partitioning during install. The setup for CentOS is: hdb1 -> swap hdb2 -> /boot, ext2 hdb3 -> / , ext3 After completing the install, I rebooted on the Debian side and edited menu.lst like this: <snip> title Debian GNU/Linux, kernel 2.6.18 root (hd0,1) kernel /vmlinuz-2.6.18 root=/dev/hda3 vga=788 ro initrd /initrd.img-2.6.18 title CentOS 5 sur hdb3 root (hd1,1) kernel /vmlinuz-2.6.18-8.el5 root=/dev/hdb3 ro initrd /initrd-2.6.18-8.el5 Now when I try to reboot on CentOS, I get an 'Error 15: file not found'. I add that I've done many multiboot configurations before, so it's not the first time I have such a scenario. I thought, aha, maybe a typo. So I entered the GRUB shell and booted CentOS without problems, using tab completion. I double- and triple-checked after this, but I can't seem to find the error. The stanza seems OK, but still it won't work. Do you see a mistake that I don't see? Niki Kovacs -- Dyslexics have more fnu.
Akemi Yagi
2007-May-27 15:17 UTC
[CentOS] Slightly OT: Debian and CentOS multiboot: menu.lst problem
On 5/27/07, Niki Kovacs <contact at kikinovak.net> wrote:> Hi, > > I want to slowly migrate from Debian to CentOS, so I setup a multiboot > on my main machine. There's a Debian Etch install on /dev/hda, and GRUB > is also installed on the Debian side. > > On /dev/hdb, I have CentOS 5. I fdisked the drive manually, then chose > manual partitioning during install. The setup for CentOS is: > > hdb1 -> swap > hdb2 -> /boot, ext2 > hdb3 -> / , ext3 > > After completing the install, I rebooted on the Debian side and edited > menu.lst like this: > > <snip> > > title Debian GNU/Linux, kernel 2.6.18 > root (hd0,1) > kernel /vmlinuz-2.6.18 root=/dev/hda3 vga=788 ro > initrd /initrd.img-2.6.18 > > title CentOS 5 sur hdb3 > root (hd1,1) > kernel /vmlinuz-2.6.18-8.el5 root=/dev/hdb3 ro > initrd /initrd-2.6.18-8.el5 > > Now when I try to reboot on CentOS, I get an 'Error 15: file not found'. > I add that I've done many multiboot configurations before, so it's not > the first time I have such a scenario. I thought, aha, maybe a typo. So > I entered the GRUB shell and booted CentOS without problems, using tab > completion. > > I double- and triple-checked after this, but I can't seem to find the > error. The stanza seems OK, but still it won't work. > > Do you see a mistake that I don't see? > > Niki KovacsWhat is the /etc/fstab line for /dev/hdb3 like? Akemi
Marko A. Jennings
2007-May-27 15:27 UTC
[CentOS] Slightly OT: Debian and CentOS multiboot: menu.lst problem
On Sun, May 27, 2007 10:56 am, Niki Kovacs wrote:> Hi, > > I want to slowly migrate from Debian to CentOS, so I setup a multiboot > on my main machine. There's a Debian Etch install on /dev/hda, and GRUB > is also installed on the Debian side. > > On /dev/hdb, I have CentOS 5. I fdisked the drive manually, then chose > manual partitioning during install. The setup for CentOS is: > > hdb1 -> swap > hdb2 -> /boot, ext2 > hdb3 -> / , ext3 > > After completing the install, I rebooted on the Debian side and edited > menu.lst like this: > > <snip> > > title Debian GNU/Linux, kernel 2.6.18 > root (hd0,1) > kernel /vmlinuz-2.6.18 root=/dev/hda3 vga=788 ro > initrd /initrd.img-2.6.18 > > title CentOS 5 sur hdb3 > root (hd1,1) > kernel /vmlinuz-2.6.18-8.el5 root=/dev/hdb3 ro > initrd /initrd-2.6.18-8.el5 > > Now when I try to reboot on CentOS, I get an 'Error 15: file not found'.<snip> Are you sure about the initrd line? All initrd files on my CentOS boxes have the .img extension. Unless you rebuilt yours and named it differently, that might be the problem.