LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-03-2002, 11:30 PM   #1
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Dual booting Linux


I've just installed Debian 3.0 on my 40gb hd and currently have Win XP Pro and Slackware 8.0 installed. Since I've installed Debian, I had it put lilo in the mbr so I guess it overwrote Slack's lilo file and now I have to boot slack with the floppy disk. Debian picked up Winxp(ntfs) and a windata(fat32) partition but didn't pick up Slackware's partition.

What I need to know is how do I add Slack's lilo info to Debian's lilo file to have the choice of booting Debian or Slackware.

Do I need to get into Slack and tell it to put lilo in Slack's /root partition and then modify Debian's lilo to add it's info?

Thnx.
 
Old 11-03-2002, 11:50 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need to syncronize the /boot folders and cp the slack kernel to /vmlinuz on debian, or you could setup slack to use /boot to store the kernel instead of using /

this way no matter which distro you are in running lilo will not screw things up


How to do it

mount one system on the other in a folder and copy the /boot files of one to the other for each distro, also if you leave slacks kernel in / copy it to / of other distros

if you have different files with the same name you can rename them and adjust lilo.conf

you only need one boot.b so that won't be a problem
 
Old 11-04-2002, 12:08 AM   #3
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx for the reply...let me get this straight. Well, I kinda messed up cause I don't have a separate /boot partition. I should have made one but I had slack installed for quite awhile now.

So you say I should mount slack's partition to Debians, which I have done before. Then copy all of Slack's /boot files to Debian's /boot folder? Then copy Slacks kernel to debian's kernel folder=root?

Then I add slack's info to debian's lilo file?

Thnx again.

I just never tried dual booting different versions of linux before!

This is my partition layout:

/dev/hda1=winxp
/dev/hda5=slack
/dev/hda6=swap
/dev/hda7=windata
/dev/hda8=debian
 
Old 11-04-2002, 12:27 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yes, you also need to copy debians files to slacks /boot folder
and setup slacks lilo.conf
then you can also run lilo from slack

Last edited by DavidPhillips; 11-04-2002 at 12:29 AM.
 
Old 11-04-2002, 12:44 AM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx for the help...I'm go give it a shot when I get home.

One more question. Is it possible to move Slack's & Debian's /boot files to a separate /boot partition without major problems/issues?
 
Old 11-04-2002, 03:10 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
sure, no problem

the only time they are used are at boot.
just copy both systems /boot/files somewhere, then if you have a free partition for them just mount it someplace and put them on it. then add the partition to fstab to mount on /boot

just make sure you have a boot folder to mount it on for both systems


/dev/md0 /boot ext3 defaults 1 2


the last two numbers are the fdisk order you can use what you want there

be careful when changing partitions around, reboot your system to sync the kernel partition table with the filesystem before doing other stuff.
 
  


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 with XP and Linux jonliu Linux - Newbie 22 05-29-2004 07:08 PM
Dual Booting XP and Linux LeftofCool Linux - Software 17 02-11-2004 09:24 AM
Dual Booting XP and Linux... DiZASTiX Linux - General 6 07-20-2003 09:34 AM
dual linux booting salparadise Linux - Software 2 04-24-2003 02:18 AM
Dual-booting Linux hank@$3800 Linux - Newbie 1 07-08-2002 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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