ReferencePlatforms/Linux-CentOS-5.0: Difference between revisions

Line 189: Line 189:
== Move Scratchbox ==
== Move Scratchbox ==
Scratchbox takes up a non-trivial amount of space and should be moved to a different partition.
Scratchbox takes up a non-trivial amount of space and should be moved to a different partition.
# Boot into single user mode (append 'init=/bin/sh' to the kernel params from grub).
# Boot into single user mode by either
## choose the menu when you reboot and press 'e' for editing startup items. Append 'init=/bin/sh' to the kernel line.
## append 'init=/bin/sh' to the kernel params from grub or directly to /etc/grub.conf.
# mount -o remount,rw /
# mount -o remount,rw /
# mv /scratchbox /builds
# mv /scratchbox /builds
# ln -s /builds/scratchbox /scratchbox
# ln -s /builds/scratchbox /scratchbox
# mount -o remount,ro /
# mount -o remount,ro /
# remove the 'init=/bin/sh' line with grub or from /etc/grub.conf
# Reboot the VM.
# Reboot the VM.


382

edits