I have a server xbox with plain gentoo on it and its installed alright. I want to put a linuxroot 4 gig file system on my other xbox for music and torrents. I made the swap file and the linuxoot already. all i need to do is make a initrd to boot the linuxroot off of the fatx.
Shallax can you give me some help?? Or anyone else. I know how to use the mkinitrd file, but i dont know what modules i need, remastering it, etc.
Thanks
Making a new initrd for gentoo (not gentoox)
-
- Linux User
- Posts: 19
- Joined: Sat Aug 07, 2004 5:00 pm
look inside initrd.gz
Yes it would be nice to know exactly how to recreate initrd.gz etc Unfortunately I don't.
Of course you can take a peek inside, and that may help... its as far as I have got on the subject.
As root:
Look around to your hearts content... then later:
The above was done on an gentooX home install that has a /dev/loop/0 used already for the rootfs. YMMV.
Of course you can take a peek inside, and that may help... its as far as I have got on the subject.
As root:
Code: Select all
cd
mkdir unpack
cd unpack
cp /mnt/fatx/e/initrd.gz .
gunzip initrd.gz
mkdir mnt_initrd
losetup /dev/loop/1 initrd
mount -t ext2 /dev/loop/1 ./mnt_initrd
cd mnt_initrd
ls
Code: Select all
umount ./mnt_initrd
losetup -d /dev/loop/1
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
Or quicker still...
look around
Code: Select all
mkdir /mnt/tmp
gunzip ./initrd.gz
mount -o loop initrd /mnt/tmp
Code: Select all
umount /mnt/tmp
gzip ./initrd
rm -rf /mnt/tmp
The original Xbox adaptation of Gentoo