Jump to content

Debian install on hda1 [solved]


Recommended Posts

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 by ilia_kr
Link to comment
Share on other sites

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 by scarecrow
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...