Click to See Complete Forum and Search --> : Can one get Grub as bootloader from Knoppix 3.3?


saikee
07-04-2004, 08:03 PM
Using Grub as the bootloader I have installed FC2, Suse 9.1 and Mandrake 9.2 to go with XP and everything seems to work fine. I can select any one of them to boot within the same HDD.

I have added Knoppix 3.3 (bootable CD version) and put it on the same HDD, thinking I could do the same trick by instructing Knoppix to use Grub. It turned out Knoppix only been packed with Lilo in the distro HDD installation script and so I now got the system inside the HDD but could only boot it with a floppy. The Knoppix works fine too.

In Knoppix the files used for Lilo are different to Grub. Is it technically possible to assemble the necessary files needed to boot with grub bootloader?

Before I get myself into trouble think I should ask comments from the experts first.

saikee
07-05-2004, 04:00 AM
This morning I woke up by one thought.

The problem of my post is that I can multi-boot a system as long as it uses Grub for booting and the Knoppix isn't. I am so new that I haven't read anything about Lilo.

Then I tried to argue with myself what about Windows? The difference of Windows is that it is in the first partition hde1 and Knoppix resides in hde9. That fellow is completely foreign to Grub and Lilo is at least part of Linux.

So I went to my FC2 partition that control the rest and in its menu.lst I added

title Knoppix
root (hd0,8)
chainloader +1

Reboot and the system fired up and I could get Knoppix boot up in the HDD without a floppy!

Didn't believe my eye so reboot it again. Yes it is there.

Selected knoppix from the FC2 menu and I am writing this message and sent it from Knoppix.

Am I doing it legally or is it really that simple?

I was so new and inexperienced that when I started Linux two weeks ago my first post was locked by the moderator.

Took the moderator's point and read about Grub tutorial suggested by the Forum.

Using just the weekend I installed XP, FC2, Suse, Mandrake and Knoppix into one hard disk and they are selectable to boot.

It cannot be that easy surely? I even needed assistance (by posting) on how to use "mount", where to find /etc/fstab and how not to retype the last shell command!

XiaoKJ
07-05-2004, 07:43 AM
You can compile grub from source, or get it from apt-get with debian sources for knoppix.

and if you install lilo to knoppix's own partition, then grub can chainload it. You are in no problem right now as it worked.

You've learnt something -- and thats great! :D