[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to boot alternative Debian version safely?



On Thu, 2005-02-10 at 17:09 +0000, Anthony Campbell wrote:
> I want to install a second version of Debian on a different partition
> (don't ask why, it's a long story; I need to experiment).
> 
> My  main version is at /dev/hdb9. I therefore installed a second version
> at /dev/hda7. 
> 
> I wanted to make a floppy to boot this but that didn't work. I therefore
> added the  following entry to my /boot/grub/menu.lst:
> 
> 
> title 		Debian test system, kernel 2.4.27-1-386
> root       	(hd0,7)
> kernel		/boot/vmlinuz=2.4.27-1-386 root=/dev/hda7 ro
> savedefault
> boot

Whoop, Whoop... error, error!

change the entry to this:

title 		Debian test system, kernel 2.4.27-1-386
root       	(hd0,6)
kernel		/boot/vmlinuz=2.4.27-1-386 root=/dev/hda7 ro
savedefault
boot

Grub starts from 0. So:
        /dev/hda1 == (hd0,0)
        /dev/hda2 == (hd0,1)
        /dev/hda3 == (hd0,2)
        /dev/hda4 == (hd0,3)
        /dev/hda5 == (hd0,4)
        /dev/hda6 == (hd0,5)
        /dev/hda7 == (hd0,6)

That would definitely make a difference.
-- 
greg, greg@gregfolkert.net

The technology that is
Stronger, better, faster:  Linux

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: