LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-28-2004, 03:08 PM   #1
Accordion
LQ Newbie
 
Registered: Nov 2003
Location: Edmonton, Alberta, Canada
Distribution: Slackware 9.1
Posts: 23

Rep: Reputation: 15
Please help! Double booting Mandrake and Slack


I've been using mandrake 9.1 for a few months now, and decided to try slackware too. Problem is, they don't seem to like sharing the same hard drive. I re-installed mandrake and put the boot loader into the first section of the drive, and then installed slackware and put the boot loader in the root partition (hda7), but I can't choose which distro I want to run. Mandrake boots when I restart the computer, but it doesn't have the graphical interface any more, just a logon prompt . I can get into slackware by booting from the cd, but I'd like lilo to give me a choice of distros. Is that possible? Thanks!
 
Old 03-28-2004, 04:57 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I was in the same position as you a few months ago and in my experience it is not possible to boot two different linux distros with lilo. What you need to do is boot into Mandrake, open the mandrake control centre and change the bootloader to grub. Agree to whatever options it offers you and then when it's all done open /boot/grub/menu.lst in a text editor (kate or gedit) and add an entry something like this
Code:
title Slack
root (hd0,8)
kernel /boot/vmlinuz root=/dev/hda9 vga=788
see the way I've got slack on hda9 but grub sees it as (hd0,8)? If it was on hdb4 grub would see that as (hd1,3), always 1 less than you're used to counting. You have to specify root=/wherever it's mounted so the kernel knows where to boot.
 
Old 03-28-2004, 05:38 PM   #3
JohnKFT
Member
 
Registered: Aug 2003
Location: NW Scotland
Distribution: Slackware 10
Posts: 169

Rep: Reputation: 30
I triple boot Mandrake 9.1, Windows XP and Slack 9.1. I use the Mandrake /etc/lilo.conf and have no /etc/lilo.conf in Slackware. When the computer boots I get a graphical login allowing me to choose XP, MDK, Slack ,floppy etc. Slack is the default. Here is my Mandrake /etc/lilo.conf:

boot=/dev/hda
map=/boot/map
vga=normal
default="Slackware"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda6
initrd=/boot/initrd.img
append="devfs=mount acpi=off"
read-only
image=/boot/vmlinuz
label="Failsafe"
root=/dev/hda6
initrd=/boot/initrd.img
append="failsafe devfs=nomount acpi=off"
read-only
other=/dev/hda1
label="Windows"
table=/dev/hda
other=/dev/fd0
label="Floppy"
unsafe
image=/mnt/sk/boot/vmlinuz
label="Slackware"
root=/dev/hda9
append="acpi=off"
vga=normal
read-only

I had mandrake installed first so it already had the working lilo.conf, which I altered to accommodate Slack. Presumably your partition numbers may be different, but hopefully this will help you.

I have my Slackware installation mounted in Mandrake at /mnt/sk and my Mandrake mounted in Slack at /mnt/mdk (each noted in the respective /etc/fstab), which enables me to easily access each from the other, and to do this multi-boot business. Beware, however, I do not really know what I am doing - this was a mixture of research, logical deduction and trial and error. Anyway, it works perfectly for me. Good luck

PS - most important that you have no bootloader for Slack.
 
  


Reply



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
Double-headed (2 terminal) Mandrake System conn-fused Linux - Hardware 3 03-17-2006 03:19 PM
Everythings double spaced with Mandrake update jackp Mandriva 1 09-18-2004 04:11 PM
Setting double click as default action in mandrake 9.1 Moses420ca Linux - Newbie 7 10-26-2003 08:52 PM
Problem double-booting WinXP and RH8.0 GodFoca Linux - General 4 06-19-2003 04:50 PM
XP Pro and Mandrake double boot japple91 Linux - General 12 02-27-2003 08:38 AM

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

All times are GMT -5. The time now is 03:57 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