Yellow Dog Linux General

TOPIC: Configuring yaboot for 2+ YDL installations



Introduction
It is possible to have more than one Yellow Dog Linux installation on a single drive, with or without a shared home directory.


Setup
This requires that you have already partitioned your drive appropriately with a shared /home directory (if you desire) and most definately with a shared /swap. To share the /home, simply select it to be mounted but not formatted when you install the second Yellow Dog Linux.


Execution
  1. Find the filenames for the new kernel components:
    nano /etc/yaboot.conf [ENTER]

  2. Copy-n-paste the section starting with "image=" and ending with "append=", duplicating the entire section below the first.

  3. Modify the image=, label=, initrd=, and root= lines accordingly. Make certain the 2 sections have different labels.

  4. The result should look something like this:
    image=/boot/vmlinux-2.6.12-3.ydl.1
            label=linux-one
            read-only
            initrd=/boot/initrd-2.6.12-3.ydl.1.img
            root=/dev/hda[x]
            append="rhgb quiet"
    
    image=/boot/vmlinux-2.6.12-3.ydl.2
            label=linux-two
            read-only
            initrd=/boot/initrd-2.6.12-3.ydl.2.img
            root=/dev/hda[y]
            append="rhgb quiet"
    	
  5. Commit the changes:
    ybin [ENTER]

  6. Reboot.
This HOWTO was created by Kai Staats, Terra Soft Solutions