Welcome to Gentoox!
The original Xbox adaptation of Gentoo

· Home
· Buy_Gentoox
· Contact
· Dev_and_Sources
· Downloads
· Forums
· Links
· Magic_Repository
· Misc
· News Archive
· Patches
· Polls
· Search
· Sections
· Server_Stats
· Top 10
· Tutorials





Donors will be listed HERE!

Donations are handled by paypal.com

Hardware donations are also welcome, email me using the contact form!

     Latest Versions

     Powered by

Resize rootfs

(264 total words in this text)
(13198 reads)   Printer Friendly Page

This tutorial is for all of you that are complaining about the “oversized” 4GB rootfs. To resize it, you will need another linux computer. Bear in mind that the home edition’s rootfs has about 2GB of data preinstalled onto the rootfs so anything smaller than this wont be big enough to hold it all! Also note that 4GB is the filesize limitation imposed by FatX – DO NOT MAKE YOUR ROOTFS BIGGER THAN 4GB!

1) Place the rootfs inside /tmp on your linux computer
2) mv /tmp/rootfs /tmp/oldfs
3) mkdir /mnt/oldfs
4) mkdir /mnt/newfs
5) dd if=/dev/zero of=/tmp/rootfs count=XXXX bs=1024k (Note that XXXX is the size of the new rootfs in megabytes! So 2GB is 2000)
6) yes | mkreiserfs --format 3.6 -f /tmp/rootfs
7) mount -o loop -t reiserfs /tmp/rootfs /mnt/newfs
8) mount -o loop -t reiserfs /tmp/oldfs /mnt/oldfs
9) cp -avx /mnt/oldfs/* /mnt/newfs/ (Note: Takes a long time!)
10) cd /
11) umount /mnt/oldfs
12) umount /mnt/newfs
13) rm -rf /tmp/oldfs

14) Copy /tmp/rootfs (The new one you just made) back up to your Xbox and it should work when you boot!
Good luck! If you find yourself needing more space later you can always use the “magic newfs” script (providing you have an accessible F drive with enough free space!).

[ Back to Tutorials | Sections Index ]

Gentoox is distributed under the terms of the General Public License

Page Generation: 0.02 Seconds