> I've never tried this before, but I've got a disk with basically three > partitions on it, one for Redhat, a linux swap partition, and one for > Mandrake. Crazy, I know, but basically I wanted some room to play with > different distros and stuff.
Not crazy, pretty common really. > Currently, I have a boot floppy to get Mandrake to boot, and Redhat > (installed first) boots from grub. Is there a way to have grub boot > Mandrake too? Definately. You can even use the same partitions. Grub is pretty easy to configure. Basically all you do is edit the file /boot/grub/grub.conf or /boot/grub/menu.lst. I have the two symlinked. You need three things minimum in each entry in your grub menu file (/boot/grub/grub.conf). I will paste a few entries from my /boot/grub/grub.conf. --- begin grub.conf snippet --- default 0 fallback 1 timeout 30 splashimage=(hd1,0)/boot/grub/splash.xpm.gz title=Gentoo 2.6-test11-r1 kernel root (hd1,0) kernel=/boot/bzImage_2.6-test11-r1 root=/dev/hdc3 title=Gentoo High Performance Kernel root (hd1,0) kernel=/boot/bzImage.ck root=/dev/hdc3 --- end grub.conf snippet --- As you can see I specify the default entry to boot with "default 0". Then I specify a fallback entry in case the default fails with "fallback 1". The entries are numbered from zero to n in the order they are encountered in the file. The timeout value tells grub to boot the default entry after waiting 30 seconds. The splashimage is not needed. The rest of the file contains the entries to boot. Each entry needs a title (displayed in the menu at boot time), a root (where the kernel can be found), and a path to the kernel relative to the root you specified. So as you can see entry zero is titled "Gentoo 2.6-test11-r1 kernel", the root is at /dev/hdc1 ((hd1,0) in grub speak). And the kernel can be found in the directory /boot on /dev/hdc1. Anything after the kernel are kernel parameters. I am simply telling the kernel that the '/' filesystem is found on /dev/hdc3. Gentoo has some good docs on getting grub setup. Try this URL: http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=9#doc_chap2 It isn't very gentoo specific and it covers that basics of grub and walks you through it. If you save a copy of your grub.conf file, then you can hack away at it all you want and just restore it if you hose the working version. Anyway, I hope this helped. -- Michael GnuPG Fingerprint: 4C56 7C23 8BD9 8B39 C4D4 B8F3 42FB 3634 31B5 E963
pgp00000.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
