Linux - GeneralThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi to all,
my goal is to have multiple linux distributions installed on my laptop, but I
can't figure out how to do it.
A few questions in random order first:
1. Where should I put lilo: in the MBR or any first sector of some root
partition fits? I already have lilo placed in the first sector of a root
partition, can I live it there?
Also, how does lilo.conf have to look like?
2. should I have many /boot partitions (one for each installed distro) or
only one is sufficient? I know the /boot dir contains the kernel image file
which is loaded by lilo, can it contain many different kernel images safely?
Would a successive installation overwrite some files of a previous inst.?
BTW, another question is why to have /boot mounted on a separate partition:
if it can contain many kernel images, the answer is obvious, otherwise what's the reason for it? To have the system boot from a primary partition? But does Linux care of primary vs. logical partitions at all? The literature answers it doesn't, but when I try to install some red-hat based distro in the free space of my HDD, the Disk Druid complains it can't create the root partition because there are already four primary partitions (which is true, BTW).
Anyway, please let me know how many /boot partitions are needed, whether the boot partition must be primary or not, how its layout should look like (which files should it contain), where to put lilo and how to configure it.
If you search the Distrowatch website (news section I think) there is a good "How-to" on having multiple distributions - if any one knows how to do that, those guys do!
Lilo should be fine in the MBR, "man lilo.conf" will give you an example, one boot partition is enough, it will be able to keep as many different kernel images as you have space, /boot is on it's own partition because it's so important - it's easier to maintain and protect it that way.
Where should I put lilo
You can use either lilo or grub. You can install lilo/grub boot loader on the MBR of your first drive.
Please note that after you install your first distro with a boot loader, take adequate care that you DO NOT allow the subsequent distros to install a boot loader.
should I have many /boot partitions
It is not mandatory to have a separate boot partition. Please do not misunderstand me here. You DO need to keep the boot files of each distro separate. But you do not need a separate boot partition. You can keep the boot files in the boot directory of your root (/) directory of each distro. You can however share the same swap partition among your distros. You can also share your home directory IF it is on a separate partition.