|
2007-02-20
, 21:55
|
|
Posts: 91 |
Thanked: 2 times |
Joined on Jan 2007
@ Spain
|
#72
|
|
2007-02-20
, 22:20
|
|
Posts: 701 |
Thanked: 21 times |
Joined on Feb 2006
@ Italy
|
#73
|
http://maemo.org/maemowiki/HowTo_BootRootFSFromMMC
"As the jffs2 flash filesystem uses compression you need bigger partition on MMC to hold same data. 128MB is too small, at least 256MB is recommended to have similar space as with original flash rootfs."
|
2007-02-20
, 22:21
|
|
Posts: 91 |
Thanked: 2 times |
Joined on Jan 2007
@ Spain
|
#74
|
ext3 is supposed to be more stable. However in its normal use it does have journaling.. good on a standard system.. not so good on flash. Howerver you can turn off the journaling function and just have the more robust filesystem. I just wondered if anyone had done this and what options they wound up using.
|
2007-02-20
, 22:22
|
|
Posts: 701 |
Thanked: 21 times |
Joined on Feb 2006
@ Italy
|
#75
|
|
2007-02-20
, 22:33
|
|
Posts: 91 |
Thanked: 2 times |
Joined on Jan 2007
@ Spain
|
#76
|
$ df
/dev/mmcblk0p2 172009 135794 27334 83% /
/dev/mmcblk0p1 823972 636216 187756 77% /media/mmc1
|
2007-02-22
, 17:53
|
Posts: 108 |
Thanked: 3 times |
Joined on Feb 2007
|
#77
|
~ $ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock4 2048 1804 244 88% /mnt/initfs
none 512 72 440 14% /mnt/initfs/tmp
/dev/mtdblock4 257536 148576 108960 58% /
none 512 72 440 14% /tmp
none 1024 56 968 5% /dev
/dev/mmcblk0p1 489688 56 489632 0% /media/mmc2
|
2007-02-22
, 18:53
|
|
Posts: 91 |
Thanked: 2 times |
Joined on Jan 2007
@ Spain
|
#78
|
|
2007-02-22
, 19:10
|
|
Posts: 91 |
Thanked: 2 times |
Joined on Jan 2007
@ Spain
|
#79
|
Yes, you can snapshot system via GNU tar in similar way like you clone the system on the beginning - boot from flash, mount ext2 partition to /opt and thenDot on the end is important :-)Code:/path/to/gnu/tar -zcvf /media/mmc1/snapshot.tar.gz -C /opt .
|
2007-02-22
, 19:26
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#80
|
What exact code should I type to recover the backuped system? Supposing I backuped it with this code:
# /path/to/GNU/tar -zcvf /media/mmc1/snapshot.tar.gz -C /opt .
Thank you for your help.
# /path/to/GNU/tar -zxvf /media/mmc1/snapshot.tar.gz -C /opt
# cd /opt # /path/to/GNU/tar -zxvf /media/mmc1/snapshot.tar.gz
cd /opt
/tar-true/bin/tar -cvzf /media/mmc2/backup.tar.gz *
Your milage may vary.. and you may not have extracted tar to /tar-true.. but you get the idea I hope.. oh and I have tested this by formating and untaring over the partitions.. again mount the ext2 on /opt
cd /opt
/tar-true/bin/tar -xvzf /media/mmc2/backup.tar.gz
and there you have it.
Schmots' newbie centric howto OS2008 blog including step by step explained instructions on dual booting.