Mixed Native (f native) (incomplete guide)
Posted: Mon Jul 03, 2006 5:33 pm
Disregard all previous info in this post, I've read a LOT and came up with some bits. So, here we go (so far)
All of this is done from sparkle, just hit ctrl+c twice when you get to the disk repair section
INFO: f's sector start position is 15633072, if you wish to use g instead and leave f fatx replace all instances with 268435456
zero f's fatx partition marker
create the partitions, ensuring to use the sector start position as to not overwrite the fatx partitions
from inside fdisk
note: I've opted out of making a swap partition, instead I will use a swap file on one of the existing fatx partitons (will expand on this idea later). If you want a swap partition, create the partitions how you like, just abide by the start sector
you really ought to reboot the xbox here, and launch sparkle again
format the new partition
mount it to /mnt/f just for ease of memory
if you don't have rootfs on the system yet copy your rootfs in, I put it on the new partition because I don't have space on e. Use whatever method is applicable for you, I have rootfs on a webserver so I used
mount the loopback, replacing the path to the rootfs as applicable
copy the contents from rootfs
clean /boot
more to come, I'll explain how to edit the linuxboot.cfg properly aswell as fstab, writing this as I go.
Info for this so far incomplete guide was taken from http://www.x-dsl.org/wiki/Partitioning , viewtopic.php?t=3092 , and viewtopic.php?t=2254
All of this is done from sparkle, just hit ctrl+c twice when you get to the disk repair section
INFO: f's sector start position is 15633072, if you wish to use g instead and leave f fatx replace all instances with 268435456
zero f's fatx partition marker
Code: Select all
dd if =/dev/zero of=/dev/hda seek=15633072 bs=512 count=1
Code: Select all
fdisk -u /dev/hda
Code: Select all
n
p
1
15633072
<just hit enter her for default>
w
you really ought to reboot the xbox here, and launch sparkle again
format the new partition
Code: Select all
mkfs.ext2 /dev/hda1
Code: Select all
mount /dev/hda1 /mnt/f
cd /mnt/f
Code: Select all
wget http://192.168.1.200/gentoox/rootfs
Code: Select all
mkdir /mnt/loopback; mount -o loop /mnt/f/rootfs /mnt/loopback
Code: Select all
cp -a /mnt/loopback/* /mnt/f
Code: Select all
rm /mnt/f/boot/*
more to come, I'll explain how to edit the linuxboot.cfg properly aswell as fstab, writing this as I go.
Info for this so far incomplete guide was taken from http://www.x-dsl.org/wiki/Partitioning , viewtopic.php?t=3092 , and viewtopic.php?t=2254