APA Conversion using xRhino 2.2.21-pre1-xr7 Kernel Mini-HOWTO 1.0

by Graham Inggs pixie2004@users.playstation2-linux.com

Created: September 16, 2006

Last edited: September 16, 2006


REVISION HISTORY:
1.0 September 16, 2006 Initial revision


OVERVIEW:
This Mini-HOWTO will show you how to upgrade to the xRhino 2.2.21-pre1-xr7 kernel and repartition your hard-drive using the APA partition scheme. During this process you will need to make a full backup of your PS2 Linux installation and transfer it to another computer (or PS2) running an FTP server. The backup procedure described here uses unpartitioned space on your hard-drive, you will need about 25% to 50% of your drive unpartitioned. You will also require approximately 4MB of free space on your PS2 Linux memory card for the new kernel.
There are four major steps in this procedure:


INSTRUCTIONS:

Installing the xRhino 2.2.21-pre1-xr7 kernel

Making a full backup of your PS2 Linux installation

Re-partitioning your hard-drive

Restoring your PS2 Linux installation

  • Now you need to transfer the backup file back to the PS2. Using FTP the download took 149 seconds.
  • unpack your linux installation files:
    cd /mnt/hda1
    tar zxvpf /mnt/hda3/backup.tar.gz
    It took 4 minutes 25 seconds to decompress the archive.
  • Verify that you can see your installation at /mnt/hda1:
    ls /mnt/hda1
  • Unmount the temporary partition:
    umount /dev/hda3
  • Delete the temporary partition:
    ps2fdisk
    Type d and press Enter to delete a partition.
    Type 3 and press Enter for the partition number.
    Type w and Enter to write the partition table and exit.
  • Change the location of your swap partition:
    vi /mnt/hda1/etc/fstab
    About the 3 lines down you should see the line that mounts the swap partition, it starts like this:
    /dev/hda5  none  swap
    Change hda5 to hda2 and save the changes.
  • Unmount your linux installation and restart PS2 Linux:
    cd /
    umount /dev/hda1
    reboot
  • Verify that all went well:
    Choose the xRhino Kernel boot option and log in as you usually would.