This shows you the differences between two versions of the page.
tutorials:ct1:installation:moving_rootfs_from_nandflash_to_hard_drive [2013/11/10 21:39] 75.115.239.41 [Abstract] |
tutorials:ct1:installation:moving_rootfs_from_nandflash_to_hard_drive [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 20: | Line 20: | ||
Please refer to http://docs.cubieboard.org/tutorials/ct1/installation/cb3_lubuntu-12.10-desktop_nand_installation_v1.00 | Please refer to http://docs.cubieboard.org/tutorials/ct1/installation/cb3_lubuntu-12.10-desktop_nand_installation_v1.00 | ||
+ | ==== Prepeare the drive for rootfs ==== | ||
+ | The drive must have a primary partition (for example with 10 GByte) formated with filesystem "ext4". You can use the Linaro user interface DISK app, gparted or use the following shell commands | ||
+ | |||
+ | list all available drives | ||
+ | #fdisk -l | ||
+ | |||
+ | Choose the drive you want to make changes to (e.g. sda): | ||
+ | #fdisk /dev/sda | ||
+ | | ||
+ | use "p" (print partition of a drive), "d" delete a partition or "n" (create new partition). The partition should be of type "83" | ||
+ | | ||
+ | Format the partition for rootfs with EXT4 filesystem | ||
+ | #mkfs.ext4 /dev/sda1 | ||
==== Copying Rootfs ==== | ==== Copying Rootfs ==== | ||
Line 34: | Line 47: | ||
#vi /mnt/uEnv.txt | #vi /mnt/uEnv.txt | ||
- | Change to content of uEnv.txt to | + | Change the contents of uEnv.txt to |
root@cubietruck:~# cat /mnt/uEnv.txt | root@cubietruck:~# cat /mnt/uEnv.txt |