Remastering Debian Netinstall CD for PS3: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 24: Line 24:


# we have to modify initrd.gz and replace vmlinux with our PS3 Linux kernel
# we have to modify initrd.gz and replace vmlinux with our PS3 Linux kernel
cat iso/install/powerpc64/initrd.gz | gunzip > initrd.cpio
mkdir initrd
cpio -i -d -H newc --no-absolute-filenames < ../initrd.cpio
</syntaxhighlight>}}
</syntaxhighlight>}}

Revision as of 10:37, 8 September 2012

Introduction

  • Unfortunately, we cannot use official Debian netinstall CD with PS3 OtherOS++ because of the vanilla ps3disk HDD driver.
  • We have to modify it and replace the Linux kernel on the netinstall CD with our PS3 Linux kernel.

Remastering

Type This
mkdir netinst
cd netinst

losetup /dev/loop1 ./debian-6.0.5-powerpc-netinst.iso
mount /dev/loop1 /mnt/iso

cp -r /mnt/iso /root/netinst/

ls -l iso/install/powerpc64/
total 22636
-r--r--r-- 1 root root  4414184 Sep  8 13:30 initrd.gz
-r--r--r-- 1 root root 11384603 Sep  8 13:30 vmlinux
-r--r--r-- 1 root root  7375128 Sep  8 13:30 vmlinuz-chrp.initrd

# we have to modify initrd.gz and replace vmlinux with our PS3 Linux kernel

cat iso/install/powerpc64/initrd.gz | gunzip > initrd.cpio
mkdir initrd
cpio -i -d -H newc --no-absolute-filenames < ../initrd.cpio