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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...