Linux - DistributionsThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Rep:
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?
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
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Original Poster
Rep:
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.