LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-04-2004, 09:20 PM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
Talking dual boot linux, need to setup "another" lilo during installation?


hi, this is what i got so far: hda xp, hdb1 swap, hdb2 mdk 9.2, and 10 G free space for slack 9.1 (which i'm gonna install soon once i figure this out)



there's a lot artical about dual boot linux + win, but what about dual boot linux + linux?

when install slack (or any other linux(s) ) there will be a point it ask me if i wanna install boot loader. in my case, i already got lilo from mdk, what should i tell slack's installation? should i say "no", then just copy the vmlinuz and System.map and such to and point root to /dev/hdb6 ?

thanks
 
Old 02-04-2004, 09:33 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Choose to not install one. Make a mount point while in Mandrake to point to the Slack root partition (unless you have a seperate /boot, then point to the /boot). Ex: mkdir /mnt/slack
Edit your /etc/fstab to include that mount point, using the same flags and permissions you have for what you already have in there:
/dev/hdb6 /mnt/slack user,ro 0 0 #or whatever you want

Then, edit your /etc/lilo.conf to point to the boot image for slack:

image="/dev/hdb6/{whatever_your_slack_kernel_is_named}
label=blablabla
etc {whatever appends you want and whether its RW or RO, etc}

I think that'll do the trick.
 
Old 02-04-2004, 09:33 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
yes, you only need one bootloader, so if the one you've got already works, choose "no" to install another one (which would probably only overwrite the one you have anyway ). then just edit your /etc/lilo.conf to contain the info for the other operating system/distro, run /sbin/lilo, and you should be good to go.
 
Old 02-04-2004, 10:10 PM   #4
sjia
Member
 
Registered: Jan 2004
Location: Ont, Canada
Distribution: Fedora Core 1
Posts: 113

Rep: Reputation: 15
I just installed Red hat, Mandrake and SuSE on separate partitions. I had to go through the process myself and learned through trial and error. I made a lot of mistakes and had to re-install several times but I finally got it working.

I used Grub. If I am not mistaken Lilo is older software.

Now there maybe a simpler way, I do not know.

Before you install your second version, make sure you get the code for booting Mdk9.2 and XP. Slackware will write over the boot loader of Mdk and Slackware boot loader will become default because you installed it last.
You will have to re-enter all your boot info into the new boot loader of Slackware.


For me, Booting Mdk 9.2 was as follows. I do not know if it is the same for you because I am a newbee to linux.

Bootloader sequence:

------------------------------------------------------------------------------------------
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=mount acpi=ht resume

initrid (hd0,4)/boot/initrd.img
------------------------------------------------------------------------------------------

The above command (hd0,4) refers to hda5 which is the first partion of my Extended partition. Grub starts at hda5.

(hd0,4) - the four is the fifth number starting at zero because zero is included in the count. You probably already know this if you installed XP and MDK 9.2

By the way, where did you get slackware.

After you install slackware, boot it. Go into Control Center as root login. It would probably be in the boot section or the System section where you can Add and enter your other boot entries. I do not know how to help you anymore because I do not know Slackware.

Again, it is important to get the bootloader info for each OS. I suppose you can boot into Mandrake and get that info from the same area before you install slackware.
 
  


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
How to "dual boot" linux (debian) and Freebsd using Grub? hkl8324 Debian 4 06-15-2005 02:32 PM
Dual Boot xp/linux "autochk not found" mattrieck Linux - Newbie 4 03-05-2005 12:19 AM
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 08:25 PM
I Dual Boot, Is there Compatable "Drive imaging" that works with linux joncolby Linux - Software 6 06-21-2004 03:11 AM
Seeing Linux as a "Drive" from Windows OS on a dual boot System teclipse Linux - Newbie 4 09-29-2003 10:19 AM

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

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration