Before proceeding with package installation you must connect a hard disk where the root file system will be stored.
A very good idea is also to add some swap space.
Connect your hard disk to your USB port 1. Please make note that the following commands will wipe out your disk.
If deletion of partitions is not in your plans stop here and decide what to do. The following instructions is for starting a whole new disk.
Now we need to change the partition two to be a swap partition. Execute the t command. Chose partition number 2 and enter hex code 82 (LINUX Swap).
With the command p verify your work. You should have something like this:
Write the partition table with the w command and REBOOT
After rebooting execute the following commands:
Note! If you have very large partitions the mkfx.ext3 command may result in the following error
Memory allocation failed while setting up superblock
To fix this, wait to run the command until you have a running swap partition to handle the command.
Moving root file system
Now you can move the root file system from flash to disk. Execute the command turnup disk -i /dev/sda1 -t ext3 Further details on using turnup are on the OpenSlug.OpenSlugTurnUp page.
Now all you need is to activate the swap partition and mounting automaticaly the /home file system.
Note: It seems here is a bug in the 3.10 release that prevents the swapon command to successfully complete. All is fine in release 2.7. Note: There is no bug in 3.10. The slug is already swapping the directory. Execute the command: swapon -s to verify.
One final reboot to see if everything is ok, and the mount command should report all the partitions created.
Thats it. Now you can proceed installing packages do anything you want.