This shows you the differences between two versions of the page.
tutorials:ct1:installation:moving_rootfs_from_nandflash_to_hard_drive [2013/11/16 19:15] 91.58.230.27 [Copying Rootfs] |
tutorials:ct1:installation:moving_rootfs_from_nandflash_to_hard_drive [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
==== Prepeare the drive for rootfs ==== | ==== 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 | list all available drives | ||
#fdisk -l | #fdisk -l | ||
- | Choose the drive you want to make changes to (e.g. sdc): | + | Choose the drive you want to make changes to (e.g. sda): |
- | #fdisk /dev/sdc | + | #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 ==== | ||