Linux - NewbieThis 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
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.
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
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
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)
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
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
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.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.