LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2004, 05:15 AM   #1
idris1388
Member
 
Registered: Mar 2004
Location: London, UK
Distribution: Slackware/Debian
Posts: 49

Rep: Reputation: 15
Question Multi-boot PC - Slack/SuSe/WinXP


Hi All,

I have a PC which used to run WinXP. I added a second IDE drive which I partitioned when installing SuSE 9.0 and that installed fine. I can boot between SuSE and XP without any issues.

As I had some free space left on the drive, I also decided to install Slackware 9.1 as this is apparently a good distro to learn about the command line stuff with, as you have to do a lot of things manually.

Anyway, Slackware is now on and running after a HUGE problem getting X to run. Went through the "Screens found, but no usable configuration" malarkey, but have fixed it now I hope, after upgrading to XFree 4.4.0 and tweaking the XF86Config file, but I digress.....

so anyway there is no problem there now, however, during the install I wasn't sure what to do about the LILO install as I already had GRUB installed when I put SuSE on the box so I didn't install it but made a boot floppy.

Currently if I need to go into the Slackware install, I boot from floppy and all is well.

What I would like to do is configure GRUB to also show my Slackware install on the menu so that I can use it that way and just keep the floppy for emergencies.

I've done some googling and it seems feasible. I presume that I just need to edit the menu.lst file under GRUB to have another entry for Slackware.

However, I am looking for a bit of hand-holding and guidance through it. I understand that GRUB uses numbers instead of letters for the disks. In my system Slackware is installed on /dev/hdd1. Therefore would my entry in GRUB look something like:

title slackware
chainloader (hd4,0)+1

Any suggestions? Do I need to add anything about the kernel location or anything?

Thanks in advance

PS - Apologies for the long post
 
Old 03-21-2004, 08:57 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
To make Grub boot on Slackware, you just have to "copy" the line corresponding to your Suse boot... So it should be something like that:
title Slacware 9.1
root(hd1,0)
kernel /boot/vmlinuz root=/dev/hdd1

So you have to tell grub that Slack is on the second disk... that's why you put hd1. And It will find the kernel on the first partition of this disk... so it's (hd1,0). Then you tell him where the kernel is exactly and which filesystem will be rootFS
Of course you can add specific option to your kernel at boot time

Oliv'
 
Old 03-21-2004, 09:04 AM   #3
idris1388
Member
 
Registered: Mar 2004
Location: London, UK
Distribution: Slackware/Debian
Posts: 49

Original Poster
Rep: Reputation: 15
Cheers. I'd actually got it working doing pretty much exactly what you said. Used the YaST utility that comes with SuSE and that does all the work for you. It was just the options really.

I gather that GRUB uses the number which is one less that your letter. i.e. my drive was hdd1, so my grub entry is hd1,0.....

Thanks for replying anyway
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-boot WinXP and FC4 yourno1web Fedora - Installation 3 09-28-2005 01:02 PM
Multi Boot Win98-WinXP add MEPIS olkar Linux - Newbie 5 05-23-2005 01:34 AM
Slack and other Distros: Multi Boot Questions c31c Slackware 5 10-22-2004 06:28 AM
multi-boot --- win98SE + winXP + win2003 + Red Hat 9 +FreeBSD 5.2.1 + more distro's mhykgyver *BSD 6 09-02-2004 09:14 PM
trouble with Multi-boot w/WinXP-Mandrake-FreeBSD setup ggutierrez Linux - Newbie 1 08-05-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration