LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-17-2004, 02:37 AM   #1
Cr4wford
Member
 
Registered: Oct 2003
Location: Southern California
Distribution: Win98SE + Slackware 9.1
Posts: 51

Rep: Reputation: 15
Dual Booting SuSE and Slackware


After searching linuxquestions.org and google.com a little bit, I can't find any guides for dual booting two Linux operating systems. I already have SuSE 9.0 installed on my computer. GRUB is my bootloader. I made a separate "/boot" partition for SuSE. I have about 35 gb of unused, unpartitioned space on my hard drive. I want to set aside about 10 gb of my free space for Slackware and install Slackware. Exactly how do I go about this?

And do I need to create another swap partition? Or can I just mount the other swap partition that I created for SuSE, and use that for both operating systems?

Thank you for your help.
 
Old 01-17-2004, 03:56 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You can either load the kernel for Slackware directly with GRUB, or install lilo into the partition bootsector of the Slackware /boot partition (or / if u dont have one), then use the chainloader method to load lilo, and yeah they can share one swap partition.
So for example if your Slackware /boot is on /dev/hda3, which should be (hd0,2) in grub, you have something like this in your menu.lst:
Code:
Title Slackware
kernel (hd0,2)/vmlinuz-<version> <parameters>
initrd (hd0,2)/initrd-<version>
With this way there's no need to install a bootloader during Slackware installation (Slackware only comes with lilo if memory serves)
Otherwise if you opt to install lilo into the partition bootsector, you can use something like this:
Code:
title Slackware
root (hd0,2)
chainloader +1
 
Old 01-17-2004, 10:29 AM   #3
Cr4wford
Member
 
Registered: Oct 2003
Location: Southern California
Distribution: Win98SE + Slackware 9.1
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks. So can I opt not to install lilo during the slackware installation? Would I be able to go to "menu" for the package selection part of the install and deselect it? If I did install lilo, in the menu.lst file do I absolutely have to use the chainloader method? And I'm not exactly sure what the chainloader does. Does it just, when I select Slackware in grub, go to the lilo bootloader, where slackware is the only option, and I select slackware again in lilo to boot? Thank you for your help.

Last edited by Cr4wford; 01-17-2004 at 10:59 AM.
 
Old 01-17-2004, 04:38 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If I remember correctly the installation will prompt to install lilo after the partitioning, you just have to choose not to install lilo.
Even if lilo is installed you can still load Slackware kernel directly, in fact I think its a good idea to have it installed in the partition bootsector, in case u need it.
The chainloader method basically gives control to lilo, and yeah unless configured you'll have to make anther selection in lilo.
 
Old 01-17-2004, 08:02 PM   #5
Cr4wford
Member
 
Registered: Oct 2003
Location: Southern California
Distribution: Win98SE + Slackware 9.1
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks. Just two more questions... Installing Lilo, does it write in the MBR? If it does, how do I make it so that it doesn't? You said something about installing it in the "partition bootsector," when you said that were you addressing this question? If so, could you explain a little more please?

menu.lst is located in /boot/grub, correct?

Again, thank you very much for your help. It is greatly appreciated.

Last edited by Cr4wford; 01-17-2004 at 08:12 PM.
 
Old 01-17-2004, 08:34 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
During Slackware installation, when it gets to the stage where it needs to install lilo it'll give you 3 choices, do not install lilo, install into the partition bootsector or install to the MBR.By installing it to the MBR it will probably overwrite your current grub, therefore you either have to choose not to install or install into the partition bootsector, unless of course you want to use lilo instead. When lilo is installed in the partition bootsector you need something capable of loading it, such as grub inside MBR. Keep in mind that you do not need lilo at all, one bootloader is enough to boot any number of linux installations, you can even keep kernel images for Slackware in the same /boot partition, and it'll work as long as you specify correct kernel parameters.
Yeah menu.lst is in /boot/grub
 
  


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
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
Dual booting Slackware and XP Fritz_Monroe Linux - Newbie 7 11-28-2005 07:07 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 03:37 PM
Slackware and XP dual booting Sleepycow Linux - Newbie 3 07-05-2004 02:23 PM
Dual booting XP pro and slackware 9.1 sharpie Slackware 8 01-28-2004 02:51 PM


All times are GMT -5. The time now is 10:41 AM.

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