LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-13-2004, 11:36 AM   #1
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Rep: Reputation: 15
Booting 4 OS's with three primary partitions..


I would like to boot XP, kanotix, knoppix, and mandrake and want to know how to do it with only 3 primary partitions. I have to use a primary for xp because I resize my original windows partition to make room for the other. I need to get the other distros to boot with only 2 more primary partitions. It is my understanding that linux only boot from primary partitions. So with that in mind I need to get the kernels on one small partiton(extended or logical) and boot them from there. How do I go about doing that? Please be descriptive because I am pretty new to linux.

I had my system configured once to boot xp,kanotix, and mandrake but I tried to fix it and now mandrake wont boot anymore so I want to fix it again by repartitioning and reformatting and getting it right the first time around. Any help would be appreciated.
 
Old 11-13-2004, 12:50 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You don't need to have all paritions primary, you can use the bootloader on one of your primary partitions to boot an os on any partition.
 
Old 11-13-2004, 01:47 PM   #3
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
How do I go about doing that? I don't understand.
 
Old 11-13-2004, 03:34 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,753

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
Not true, linux does can boot from a logical partition.

Last edited by michaelk; 11-13-2004 at 03:36 PM.
 
Old 11-13-2004, 04:37 PM   #5
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
I was told the kernel has to be on a primary partition and the rest of the files can sit in any other partition. I just need help getting these 4 OS's to load correctly. I can get three to load but when I try to load the fourth I get an error. I posted about that error and was told that linux can only boot from primary partitions. So I switched 2 linux OS's around and now the one on the primary loads correctly and the one on the other partition does not. I'm believing that this is true. Any suggestions appreciated.
 
Old 11-13-2004, 04:42 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Can you post a copy of your current bootloader config file, the error you are getting and your partition layout.
 
Old 11-13-2004, 10:02 PM   #7
The Chain
LQ Newbie
 
Registered: Oct 2004
Location: USA
Distribution: Slackware10.0,SuSE...
Posts: 24

Rep: Reputation: 15
good luck buddy linux is not all it's cracked up to be

I found out the hard way after many woes
 
Old 11-14-2004, 10:49 AM   #8
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
For instance if I have linux on partition /dev/hda9. On hda9 the lilo.conf looks something like this:

boot=/dev/hda9
image=/boot/vmlinuz
root=/dev/hda9
label=Linux
initrd=/boot/initrd
read-write
I run lilo from /dev/hda9 and it installs on the boot sector for /dev/hda9. Then in my linux distro on /dev/hda2 I have another lilo.conf that has an entry something like this:

boot=/dev/hda
map=/boot/map
default="Linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
suppress-boot-time-BIOS-data
image=/boot/vmlinuz
label="Linux"
root=/dev/hda2
initrd=/boot/initrd.img
append="panic=15 acpi=ht splash=silent"
vga=788
read-only
...
...
other=/dev/hda9
label="Knoppix"
 
Old 11-14-2004, 04:10 PM   #9
rrfish72
Member
 
Registered: Jan 2003
Location: Wisconsin, USA
Distribution: Kanotix, Mandrake, Red Hat
Posts: 85

Original Poster
Rep: Reputation: 15
I got it to load. I reinstalled the kanotix to the mandrake partition and then reinstalled the mandrake to the kanotix partiton(which is and extended partiton) and used the mandrake lilo to boot. I know how to config lilo better than grub so it worked out properly. I also got rid of 98 and used that partition space for my recovery partition. Now all boot and loads and works great. Thanks for the help. Will post lilo.conf when I get to linux. In XP now.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting Linux OS's virtualme Linux - Newbie 2 02-08-2005 09:16 AM
Managing Multiple Partitions and OS's Echo Kilo Linux - Software 0 10-22-2004 11:28 AM
Problem Booting 2 OS's cptncraig Linux - Software 5 09-06-2004 07:50 PM
Multi Booting many, many, many, OS's mac_man25 Linux - General 10 10-26-2003 09:13 AM
Dual Booting 2 Linux OS's spindley Linux - General 7 04-26-2003 05:13 PM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration