LinuxQuestions.org
Review your favorite Linux distribution.
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 07-19-2005, 11:02 PM   #1
darkangel29
Member
 
Registered: Nov 2004
Location: Puerto Rico
Distribution: Ubuntu 10.04
Posts: 121

Rep: Reputation: 15
Booting 2 linux


Hey,
Im using rigth know fedora core 3 and I want to install mandrake 10.2. I remember that I have a copy of college linux around and I want to install it in my second hd. So my first hd will be mandrake and windows and in my second hd college linux. How can I do this in order to have grub or lilo to boot in to any of them without any problem??? thanx
 
Old 07-19-2005, 11:56 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
After installing college linux on the second HD and Mandrake on the First (I would split this into 2 sections to make sure that I could boot one system) , add an entry to the menu.lst (or lilo.conf - I use grub so I really have no knowledge of lilo) file of one of the distro that idicates where the boot partitions are.(If college linux asks if you want to install a bootloader - say no) Assuming that there are 3 partitions on the first harddrive (Windows, Mandrake, and Swap for Mandrake - 1 2 and 3 respectively) and 2 partitions on the second, college linux and its swap. (you could make college linux use the Mandrake's swap - but that's a bit more complex than I want to go. ) Your menu.lst should look something like this:

title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

title Mandrake
root (hd0,1)
kernel=/boot/vmlinuz root=/dev/hda2

title College Linux
root (hd1,0)
kernel=/boot/vmlinuz root=/dev/hdb1


Note that Grub has a slightly different way of notating the partitions than the standard system. The "grub way" takes a bit of getting used too - especially if you get into extended/logical partions. If you can't figure out the naming - please post back with a list of your partitons (if you don't know how to do this - you can use cfdisk from within Mandrake or Fedora)

I know this is probably very fragmented (I just understood that you wanted to replave Fedora Core3 with Mandrake), if I make no sense - please let me know and I will try again.


Oh and here's my menu.lst for reference (I have Windows XP on the First partiton, A storage drive on the second,Arch Linux on the Third partiton, and a Hobby OS called Syllable on the 7th (I believe))

timeout 15

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

title Arch Linux (2.6.12, Udev)
root (hd0,4)
kernel=/boot/vmlinuz26 root=/dev/hda5

title Syllable
root (hd0,6)
kernel=/boot/system/kernel.so
(More here that isn't relevant to the problem, as it is modules that I have to load for Syllable to boot properly)

Good luck.

and should you need it I can write you a menu.lst (Wont guarantee that it works - but I will try)
 
Old 07-20-2005, 10:10 PM   #3
darkangel29
Member
 
Registered: Nov 2004
Location: Puerto Rico
Distribution: Ubuntu 10.04
Posts: 121

Original Poster
Rep: Reputation: 15
I install first College Linux in the 2nd hd without the lilo and Mandrake in the first hd and the grub. Windows and Mandrake work fine but when i try to boot College Linux it start booting up and stops in this message: kernel panic- notsyncing : No init found. Try passing init=option to kernel.
The config is this:
Mandrake
kernel(hd0,2) /boot/vmlinuz-2.6.11-6mdk
root=/dev/hda3 acpi=ht resume=/dev/hda4 splash=silent vga=788
initrd(hd0,2)/boot/initrd.img
Windows
root (hd0,0)
chainloader +1
College linux
kernel(hd0,2)/boot/vmlinuz root=/dev/hdb2 acpi=ht resume=/dev/hda4
initrd(hd0,2)/boot/initrd.img

My configuration is this:
hda1-Windows
hda5-fat32
hda3-linux
hda4-swap

hdb1-swap
hdb2-linux
Thanx for the help
 
Old 07-22-2005, 11:45 AM   #4
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
I see the problem already, I believe. (and I'm sorry it took me so long to get back to you)

I think your college linux bootup entry needs to be this....

College linux
kernel(hd1,1)/boot/vmlinuz root=/dev/hdb2 acpi=ht
initrd(hd1,1)/boot/initrd.img

(Note that I have removed the "resume" argument, that's because....well, I don't know what it does and I cannot tell you whether or not you were right in using it there and whether the drive is correct or not.)

I hope this works for you - Good Luck!
 
  


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
Triple Booting linux/linux/windows Flak Pyro Linux - Distributions 10 12-08-2003 08:46 PM
Tripple booting linux/linux/windows Flak Pyro Linux - General 1 12-05-2003 11:24 PM
booting to linux endezeichen Linux - General 2 11-18-2003 10:38 PM
triple booting linux linux and 2000 devashish Linux - Software 12 08-28-2003 07:44 AM
Booting into Linux gsibble Linux - Newbie 2 08-06-2003 11:39 PM


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