环境如下
硬件:CT
SD卡的系统:Cubietruck_Debian_2.8_wheezy
从这里下载:http://cubie.nobrainz.de/downloa ... bian_2.8_wheezy.zip
按照提示,如果想从SD卡把系统刷入NAND,需要先刷nand版本的lubuntu,下载刷之
下载地址:http://dl.cubieboard.org/softwar ... er-nand-v2.0.img.gz
之后从SD卡内将系统刷入NAND,然后安装了我自己写的一些软件,并做了些系统配置
现在需要将NAND里的系统备份成一个镜像,直接可以通过PhoenixSuit刷入以后新买来的CT板子,省去大量配置的时间。
按照论坛上的http://forum.cubietech.com/forum.php?mod=viewthread&tid=1918这个帖子操作,生成的IMG刷入系统总是无法启动,看报错应该是MBR的问题
我在希望备份的NAND系统内执行nand-part结果如下- partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 32768 user_type=0
- partition 2: class = DISK, name = rootfs, partition start = 65536, partition size = 0 user_type=0
复制代码 执行df 结果如下- Filesystem 1K-blocks Used Available Use% Mounted on
- rootfs 7369792 1077868 5917552 16% /
- /dev/root 7369792 1077868 5917552 16% /
- devtmpfs 1023456 0 1023456 0% /dev
- tmpfs 131072 228 130844 1% /run
- tmpfs 5120 0 5120 0% /run/lock
- tmpfs 131072 0 131072 0% /run/shm
- /dev/nand1 16334 11170 5164 69% /boot
- tmpfs 1048576 0 1048576 0% /tmp
- /dev/root 7369792 1077868 5917552 16% /var/log.hdd
- ramlog-tmpfs 524288 2348 521940 1% /var/log
复制代码 执行fdisk -l /dev/nand 结果如下- Disk /dev/nand: 7700 MB, 7700742144 bytes
- 255 heads, 63 sectors/track, 936 cylinders, total 15040512 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00000000
- Disk /dev/nand doesn't contain a valid partition table
复制代码 ls -al /dev/nand*结果如下- brw-rw---T 1 root disk 93, 0 Nov 29 09:44 /dev/nand
- brw-rw---T 1 root disk 93, 1 Nov 29 09:18 /dev/nand1
- brw-rw---T 1 root disk 93, 2 Nov 29 09:18 /dev/nand2
复制代码 请问我在制作NAND镜像的时候sys_partition.fex需要怎么改,其他地方还有需要注意的么?
|