Need help adding second linux distro to grub
So, I'm already dual-booting Windows and openSUSE, and I want to add Slackware to the mix. I've installed slackware on /dev/sda4, but I refrained from installing LILO at that time because I've heard that GRUB is easier to use, and I was kind of afraid that it might screw up openSUSE because obviously it's a little more tightly integrated than slack. I'm a little unsure exactly how to add slack to my /boot/grub/menu.lst, and if there is anything else that I would need to do. Thanks!
Oh, afterthought: what would be a good command to list my partition table for y'all to see? |
It's pretty simple. You need to add a line for the title, the grub root (probably the first drive) and a kernel statement. It's all clearly explained in the GRUB manual, but here is an excerpt from my /boot/grub/menu.lst that shows three options on one of my machines.
Code:
#-------------------------------------------------------# |
Okay, my openSUSE root is on /dev/sda5, and my slack is on /dev/sda4, and this is what it looks like now:
Code:
# Modified by YaST2. Last modification on Sat Jun 21 04:35:54 UTC 2008 Code:
title Slackware |
No, where the Slackware partition mounts when you use SuSE is irrelevant. When you choose to boot Slackware, your setup will look for the Slackware kernel named vmlinuz in /slack/boot. It should read /boot/vmlinuz.
The 'ro' causes the kernel to mount the drive read-only initially; later the drive will be remounted read/write. This is generally done so fsck can run on / at bootup. The VGA=791 sets the grub screen geometry. You can choose from the following: Code:
Color depth | 640x480 800x600 1024x768 1280x1024 |
Problem solved! Thanks!
|
All times are GMT -5. The time now is 12:39 PM. |