PCLinuxOS New User Guide : AddPCLosToLilo

HomePage :: PCLinuxOS Forum | Index | Categories | Changes | Login/Register
Most recent edit on 2007-05-06 21:58:00 by SySy [moved]

Additions:
moved to http://docs.mypclinuxos.com/index.php?title=Adding_PCLinuxOS_to_an_existing_LILO

Deletions:

Adding PCLinuxOS to an existing LILO

Back to The Bootloader FAQ

You have installed another Linux already, with Lilo as bootloader. Now you are wondering how you can add PCLinuxOS to the Lilo already installed?

You have two options:

Chainloading PCLinuxOS


If you have installed the bootloader in the bootsector of the partition holding the PCLinuxOS installation, you are in luck. It just got quite a bit easier. I'll presume you have installed your new PCLinuxOS to /dev/hda3. If not, you'll have to make changes to the example below accordingly. Start by booting the Linux that "owns" the lilo in the MBR.

As root-user, edit the file /etc/lilo.conf of the linux that "owns" the "master" bootloader in the MBR. At the bottom of the file, add:
other=/dev/hda3
	    label="PCLinuxOS"
	    table=/dev/hda

Explanation:

line 1: other=... The partition you want to boot. In our example we've installed the bootloader to the partition /dev/hda3.
line 2: label=... This is what you'll see in the boot menu. Use any title you like.
line 3: table=... This is the harddisk you are using. In our case /dev/hda.

After editing lilo.conf, you have to install the changed lilo to the MBR again. Make sure you are either booted from the Linux that comes with the lilo.conf you've just edited. (or that you are correctly chrooted - experienced users) If that is the case, then install lilo using:
lilo -v

The complete PCLinuxOS configuration


Start by booting the Linux that "owns" the master bootloader in the MBR. Before we start to make changes make sure you have mounted PCLinuxOS. I'll presume you have installed your new PCLinuxOS to /dev/hda3 and you have /dev/hda3 mounted on /mnt/hda3. If not, you'll have to make changes to the example below accordingly.

As root-user, edit the file /etc/lilo.conf of the linux that owns the "master" bootloader in the MBR. At the bottom of the file, add:
image=/mnt/hda3/boot/vmlinuz-2.6.13-oci2.mdk-i686-up-4GB
	    label="PCLinuxOS"
	    root=/dev/hda3
	    initrd=/mnt/hda3/boot/initrd-2.6.13-oci2.mdk-i686-up-4GB.img
	    append="nomce acpi=ht splash=silent psmouse.proto=imps"
	    vga=788

Explanation:

line 1: image=... The kernel you want to boot. Go to the /boot folder of the installed PCLinuxOS to locate the kernel (a file starting with vmlinuz) you like. You could go with the default image, being "/boot/vmlinuz". You might not get your latest kernel however, when you've added or updated kernels via Synaptic / apt-get.
line 2: label=... This is what you'll see in the boot menu. Use any title you like.
line 3: root=... This is the partition you'd like to use as / folder. It is the partition you installed PCLinuxOS to.
line 4: The initrd is created when you install kernel. Make sure you pick the initrd file from the /boot folder that matches the kernel you picked on line 1 (image=...). If you went with "/boot/vmlinuz", pick "/boot/initrd.img"
line 5: Take this as verbatim. If you know you need/want different boot options, you can change these
line 6: This means you'd like to have a graphical boot-up, instead of text based.

After editing the configuration file, you have to install updates again. Make sure you are either booted from the Linux that comes with the file you've just edited. (or that you are correctly chrooted - experienced users) If that is the case, then install the bootloader using:
lilo -v

Make sure you have correctly mounted your PCLinuxOS when you install lilo, using the command above.


CategoryFAQ




Edited on 2005-12-07 09:39:58 by LexNL

Additions:
CategoryFAQ

Deletions:
CategoryAdvanced



Edited on 2005-12-07 08:49:40 by LexNL [Edit intro]

Additions:
You have installed another Linux already, with Lilo as bootloader. Now you are wondering how you can add PCLinuxOS to the Lilo already installed?

Deletions:
You want to list PCLinuxOS in the Lilo of an existing Linux?



Edited on 2005-12-07 03:46:54 by LexNL [Edits]

Additions:
~- You have installed the bootloader, of the PCLinuxOS you want to boot, to the partitions bootsector. You can chainload PCLinuxOS - this, luckily, is easy. In this case you also don't have to modify anything in the "master" bootloader if the "slave" boot configuration changes.
As root-user, edit the file /etc/lilo.conf of the linux that "owns" the "master" bootloader in the MBR. At the bottom of the file, add:
table=/dev/hda
===Explanation:===
**line 2**: label=... This is what you'll see in the boot menu. Use any title you like.
**line 3**: table=... This is the harddisk you are using. In our case /dev/hda.
Start by booting the Linux that "owns" the master bootloader in the MBR. Before we start to make changes make sure you have mounted ""PCLinuxOS"". I'll presume you have installed your new ""PCLinuxOS"" to /dev/hda3 and you have /dev/hda3 mounted on /mnt/hda3. If not, you'll have to make changes to the example below accordingly. 
As root-user, edit the file /etc/lilo.conf of the linux that owns the "master" bootloader in the MBR. At the bottom of the file, add:
image=/mnt/hda3/boot/vmlinuz-2.6.13-oci2.mdk-i686-up-4GB
===Explanation:===
**line 2**: label=... This is what you'll see in the boot menu. Use any title you like.
After editing the configuration file, you have to install updates again. Make sure you are either booted from the Linux that comes with the file you've just edited. (or that you are correctly chrooted - experienced users) If that is the case, then install the bootloader using: 
lilo -v%%


Deletions:
~- You have installed the bootloader, of the PCLinuxOS you want to boot, to the partitions bootsector. You can chainload PCLinuxOS - this, luckily, is easy.
As root-user, edit the file /etc/lilo.conf of the linux that "owns" the lilo in the MBR. At the bottom of the file, add:
table=/dev/hda
===Explanation:===
**line 2**: label=... This is what you'll see in boot menu. Use any title you like
**line 3**: table=... This is the harddisk you are using. In our case /dev/hda
Start by booting the Linux that "owns" the lilo in the MBR. Before we start to make changes make sure you have mounted ""PCLinuxOS"". I'll presume you have installed your new ""PCLinuxOS"" to /dev/hda3 and you have /dev/hda3 mounted on /mnt/hda3. If not, you'll have to make changes to the example below accordingly. As root-user, edit the file /etc/lilo.conf of the linux that "owns" the lilo in the MBR.
===The entries you make are:===
image=/mnt/hda3/boot/vmlinuz-2.6.13-oci2.mdk-i686-up-4GB
Explanation:
**line 2**: label=... This is what you'll see in boot menu. Use any title you like
After editing lilo.conf, you have to install the changed lilo to the MBR again. First of all make sure you are either booted from the Linux that comes with the lilo.conf you've just edited. (That or you are correctly chrooted - for experienced users) If that is the case, then install lilo using: 
lilo -v%%




Edited on 2005-12-07 03:25:49 by LexNL [Initial text]

Additions:

Explanation:

The entries you make are:



Deletions:
The entries you make are:



Edited on 2005-12-07 03:25:10 by LexNL [Initial text]

Deletions:
For this example I'll suppose you have installed PCLinuxOS on



Edited on 2005-12-07 03:24:23 by LexNL [Initial text]

Additions:
You want to list PCLinuxOS in the Lilo of an existing Linux? You have two options:
Open the existing lilo.conf file on the *other* linux located at: /lilo/grub.conf
You have two options know.
- You have installed the bootloader, of the PCLinuxOS you want to boot, to the partitions bootsector. You can chainload PCLinuxOS - this, luckily, is easy.
- If you didn't install any bootloader for the PCLinuxOS you want to install at all, you'll have to add a complete PCLinuxOS configuration, which is a bit more work.




Edited on 2005-12-07 03:23:17 by LexNL [Initial text]

No differences.


Edited on 2005-12-07 03:22:32 by LexNL [Initial text]

Additions:
line 1: other=... The partition you want to boot. In our example we've installed the bootloader to the partition /dev/hda3.
line 3: table=... This is the harddisk you are using. In our case /dev/hda




Edited on 2005-12-07 03:20:45 by LexNL [Initial text]

Additions:
Open the existing lilo.conf file on the *other* linux located at: /lilo/grub.conf
You have two options know.
- You have installed the bootloader, of the PCLinuxOS you want to boot, to the partitions bootsector. You can chainload PCLinuxOS - this, luckily, is easy.
- If you didn't install any bootloader for the PCLinuxOS you want to install at all, you'll have to add a complete PCLinuxOS configuration, which is a bit more work.

Chainloading PCLinuxOS

If you have installed the bootloader in the bootsector of the partition holding the PCLinuxOS installation, you are in luck. It just got quite a bit easier. I'll presume you have installed your new PCLinuxOS to /dev/hda3. If not, you'll have to make changes to the example below accordingly. Start by booting the Linux that "owns" the lilo in the MBR.
As root-user, edit the file /etc/lilo.conf of the linux that "owns" the lilo in the MBR. At the bottom of the file, add:
other=/dev/hda3
	    table=/dev/hda

After editing lilo.conf, you have to install the changed lilo to the MBR again. Make sure you are either booted from the Linux that comes with the lilo.conf you've just edited. (or that you are correctly chrooted - experienced users) If that is the case, then install lilo using:
lilo -v

The complete PCLinuxOS configuration

Start by booting the Linux that "owns" the lilo in the MBR. Before we start to make changes make sure you have mounted PCLinuxOS. I'll presume you have installed your new PCLinuxOS to /dev/hda3 and you have /dev/hda3 mounted on /mnt/hda3. If not, you'll have to make changes to the example below accordingly. As root-user, edit the file /etc/lilo.conf of the linux that "owns" the lilo in the MBR.
For this example I'll suppose you have installed PCLinuxOS on
image=/mnt/hda3/boot/vmlinuz-2.6.13-oci2.mdk-i686-up-4GB
root=/dev/hda3
initrd=/mnt/hda3/boot/initrd-2.6.13-oci2.mdk-i686-up-4GB.img
line 1: image=... The kernel you want to boot. Go to the /boot folder of the installed PCLinuxOS to locate the kernel (a file starting with vmlinuz) you like. You could go with the default image, being "/boot/vmlinuz". You might not get your latest kernel however, when you've added or updated kernels via Synaptic / apt-get.
line 2: label=... This is what you'll see in boot menu. Use any title you like
line 3: root=... This is the partition you'd like to use as / folder. It is the partition you installed PCLinuxOS to.
After editing lilo.conf, you have to install the changed lilo to the MBR again. First of all make sure you are either booted from the Linux that comes with the lilo.conf you've just edited. (That or you are correctly chrooted - for experienced users) If that is the case, then install lilo using:
lilo -v

Make sure you have correctly mounted your PCLinuxOS when you install lilo, using the command above.


Deletions:
Open the existing lilo.conf file on the *other* linux located at: /etc/grub.conf
image=/boot/vmlinuz-2.6.13-oci2.mdk-i686-up-4GB
root=/dev/hda1
initrd=/boot/initrd-2.6.13-oci2.mdk-i686-up-4GB.img
line 1: this is the kernel you want to boot. Go to the /boot folder of the installed PCLinuxOS to locate the kernel (file starting with vmlinuz) you like. You could go with the default image, being "/boot/vmlinuz". You might not get your latest kernel however, when you've added or updated kernels via Synaptic / apt-get.
line 2: label, this is what you'll see in boot menu. Use any title you like
line 3: root=... this is the partition you'd like to use as / folder. It is the partition you installed PCLinuxOS to.




Oldest known version of this page was edited on 2005-12-07 03:04:52 by LexNL []
Page view:

Adding PCLinuxOS to an existing LILO

Back to The Bootloader FAQ

You want to list PCLinuxOS in the Lilo of an existing Linux?

Open the existing lilo.conf file on the *other* linux located at: /etc/grub.conf

The entries you make are:

image=/boot/vmlinuz-2.6.13-oci2.mdk-i686-up-4GB
	    label="PCLinuxOS"
	    root=/dev/hda1
	    initrd=/boot/initrd-2.6.13-oci2.mdk-i686-up-4GB.img
	    append="nomce acpi=ht splash=silent psmouse.proto=imps"
	    vga=788


Explanation:
line 1: this is the kernel you want to boot. Go to the /boot folder of the installed PCLinuxOS to locate the kernel (file starting with vmlinuz) you like. You could go with the default image, being "/boot/vmlinuz". You might not get your latest kernel however, when you've added or updated kernels via Synaptic / apt-get.
line 2: label, this is what you'll see in boot menu. Use any title you like
line 3: root=... this is the partition you'd like to use as / folder. It is the partition you installed PCLinuxOS to.
line 4: The initrd is created when you install kernel. Make sure you pick the initrd file from the /boot folder that matches the kernel you picked on line 1 (image=...). If you went with "/boot/vmlinuz", pick "/boot/initrd.img"
line 5: Take this as verbatim. If you know you need/want different boot options, you can change these
line 6: This means you'd like to have a graphical boot-up, instead of text based.



CategoryAdvanced
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.2677 seconds