Tigerite
|
2011-01-27
, 14:14
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#551
|
|
2011-01-27
, 15:13
|
|
Posts: 69 |
Thanked: 10 times |
Joined on Sep 2010
@ Spain
|
#552
|
errors may have been encountered: code:8 e2fsck: Only one of the options -p/-a, -n or -y may be specified.
|
2011-01-28
, 01:01
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#553
|
|
2011-01-28
, 04:48
|
Posts: 330 |
Thanked: 97 times |
Joined on Dec 2010
@ saudi arabia
|
#554
|
|
2011-01-28
, 08:28
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#555
|
The Following 5 Users Say Thank You to RobbieThe1st For This Useful Post: | ||
|
2011-01-28
, 09:06
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#556
|
Tigerite, I'll look at your code tonight. Do you have a set of commands/options that you've gotten working? (i.e. what commands, options, and order you need to produce a valid file)
mkfs.ubifs -x zlib -g 0 -m 2048 -e 129024 -c 2047 -R 4MiB -r /tmp/mnt/rootfs -v /home/user/MyDocs/systemBackups/rootfs.ubi.img
ubinize -o /home/user/MyDocs/systemBackups/rootfs.zlib.img ubinize.cfg -m 2048 -p 128KiB -s 512 rm /home/user/MyDocs/systemBackups/rootfs.ubi.img
flash_eraseall /dev/mtd5 nandwrite -q /dev/mtd5 /home/user/MyDocs/systemBackups/rootfs.zlib.img
ubidetach /dev/ubi_ctrl -m 5 ... ubiattach /dev/ubi_ctrl -m 5
The Following 2 Users Say Thank You to Tigerite For This Useful Post: | ||
|
2011-01-28
, 10:05
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#557
|
ITEM_NAME="BackupMenu" ITEM_ID="flash" ITEM_LINUXRC="/usr/share/backupmenu/BackupMenuLauncher.item"
|
2011-01-28
, 11:25
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#558
|
mkdir rootfs tar xvf mylatestrootfs.tar -C ./rootfs/ mkfs.ubifs -x zlib -g 0 -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs -v ./base.ubi.img ubinize -o ./rootfs.zlib.img ./ubinize.cfg -m 2048 -p 128KiB -s 512 flasher-3.5 -r ./rootfs.zlib.img -f
|
2011-01-28
, 12:29
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#559
|
The Following User Says Thank You to Tigerite For This Useful Post: | ||
|
2011-01-28
, 16:16
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#560
|
I've had a few issues with these latest versions, which I've (eventually) managed to track down. On my system, /bin/tar is a symlink to /usr/bin/gnu/tar (which is linked under /opt and unavailable) - I'm not sure whether this is as a result of something I've installed or whether it's something I've manually changed - so it fails to extract the extrafiles archive. This means the rest of the process fails (dumping a load of symlinks into the root) as the expected directories aren't there. Changing the BackupMenuLauncher.item script to call "busybox tar" instead of just "tar" fixes this (or using "/usr/share/backupmenu/tar" instead).
While playing around with that, I've also got BackupMenu showing up in the boot menu (instead of just launching it) - to do this, the /etc/bootmenu.d/backupmenu.item file needs to contains:
Code:ITEM_NAME="BackupMenu" ITEM_ID="flash" ITEM_LINUXRC="/usr/share/backupmenu/BackupMenuLauncher.item"
Tags |
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system |
|