ilia_kr Posted May 4, 2007 Report Share Posted May 4, 2007 (edited) This is my first experience of installing OSes on more than one hd. I have hdc with XP and Mandriva on it and hda with Debian. During Debian installation i was asked if i want to set up grub on MRB and answered yes. On reboot i got the old Mandriva grub screen with no debian in it. Question: what should i add to menu.lst in order to have Debian boot option? Mandriva's menu.lst (the working one): timeout 10 color black/cyan yellow/cyan gfxmenu (hd0,6)/boot/gfxmenu default 0 title linux kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hdc7 splash=silent vga=788 initrd (hd0,6)/boot/initrd.img title failsafe kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hdc7 failsafe initrd (hd0,6)/boot/initrd.img title windows root (hd0,0) makeactive chainloader +1 debian's menu.lst: default 0 timeout 5 color cyan/blue white/blue title Debian GNU/Linux, kernel 2.6.18-4-686 root (hd0,0) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro initrd /boot/initrd.img-2.6.18-4-686 savedefault title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode) root (hd0,0) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro single initrd /boot/initrd.img-2.6.18-4-686 savedefault title Other operating systems: root title linux (on /dev/hdc7) root (hd1,6) kernel /boot/vmlinuz BOOT_IMAGE=linux root=/dev/hdc7 splash=silent vga=788 initrd (hd0,6)/boot/initrd.img savedefault boot title failsafe (on /dev/hdc7) root (hd1,6) kernel /boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hdc7 failsafe initrd (hd0,6)/boot/initrd.img savedefault boot title Microsoft Windows XP Professional root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1 Edited May 5, 2007 by ilia_kr Quote Link to comment Share on other sites More sharing options...
scarecrow Posted May 4, 2007 Report Share Posted May 4, 2007 (edited) Just add to the Mandy grub menu title Debian GNU/Linux, kernel 2.6.18-4-686 root (hd1,0) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hdc1 ro initrd /boot/initrd.img-2.6.18-4-686 title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode) root (hd1,0) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hdc1 ro single initrd /boot/initrd.img-2.6.18-4-686 Should work, although I'm curious how the distros can't agree about who is hda and who hdc. Did you change the BIOS boot order before installing Debby? Edited May 5, 2007 by scarecrow Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 4, 2007 Author Report Share Posted May 4, 2007 No, but maybe i've messed my master/slave priority? Currently i have: the debian (hda) hd sits alone on IDE as a master (i should check this though...) the other hd (hdc, mandi) is master and CD-ROM a slave on other IDE bus. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 5, 2007 Author Report Share Posted May 5, 2007 Just add to the Mandy grub menu title Debian GNU/Linux, kernel 2.6.18-4-686 root (hd1,0) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hdc1 ro initrd /boot/initrd.img-2.6.18-4-686 title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode) root (hd1,0) kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hdc1 ro single initrd /boot/initrd.img-2.6.18-4-686 Should work, although I'm curious how the distros can't agree about who is hda and who hdc. Did you change the BIOS boot order before installing Debby? No, doesn't work. It says that there is no such a disc and gives me an error. Quote Link to comment Share on other sites More sharing options...
jaraeez Posted May 5, 2007 Report Share Posted May 5, 2007 maybe try fdisk -l & find out exactly what drives are where Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted May 5, 2007 Author Report Share Posted May 5, 2007 Fuf... I'm so stupid! I've didn't connect properly all my devices, didn't run bios IDE configuration tool and messed all my grub entries... Now its OK, thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.