Thread: Persistent live wan't work after moving casper-rw
hi,
want use 32gb usb memory live ubuntu persistence.
initially, tried within ubuntu (12.04-386), boot.
afterwards used gparted create 3 partitions on above usb memory:
1 bootable 3.8gb fat32 partition labeled ubuntu
2. 3.8 gb far32 partition labeled windows (for data exchange between oss)
3. large (rest of un allocated space) ext2 partition labeled casper-rw.
used unetbootin create persistent ubuntu (same version) on ubuntu partition.
rebooted , verified usb worked (i able boot ubuntu).
rebooted (into arch) and, root, used "rsync-av" move contents has been in casper-rw folder (in ubuntu partition) otherwise entry large casper-rw partition. afterwards deleted folder casper-rw (and contents) ubuntu partition.
trying reboot usb, following error: "initrmfs unable find media containing live filesystem".
below see terminal out of current structure , contents of usb memory.
please advise!
thanks
--------usb structure-from terminal
code:# fdisk -l /dev/sdc disk /dev/sdc: 32.0 gb, 32007389184 bytes 64 heads, 32 sectors/track, 30524 cylinders, total 62514432 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: 0x00018802 device boot start end blocks id system /dev/sdc1 * 2048 1775615 886784 b w95 fat32 /dev/sdc2 1775616 9558015 3891200 b w95 fat32 /dev/sdc3 9558016 62511103 26476544 83 linux [root@miki_arch documents]# cd /media/ [root@miki_arch media]# ls -al total 12 drwxr-xr-x 3 root root 4096 aug 17 09:51 . drwxr-xr-x 27 root root 4096 aug 16 11:29 .. drwxr-xr-x 2 root root 4096 aug 17 09:45 casper-rw [root@miki_arch media]# cd /media/casper-rw/ [root@miki_arch casper-rw]# ls -al total 708372 drwxr-xr-x 2 root root 4096 aug 17 09:45 . drwxr-xr-x 3 root root 4096 aug 17 09:51 .. -rw-r--r-- 1 miki users 41315 apr 23 15:27 filesystem.manifest -rw-r--r-- 1 miki users 1079 apr 23 15:27 filesystem.manifest-remove -rw-r--r-- 1 miki users 11 apr 23 15:27 filesystem.size -rw-r--r-- 1 miki users 704692224 apr 23 15:27 filesystem.squashfs -rw-r--r-- 1 miki users 14873857 apr 23 15:27 initrd.lz -rw-r--r-- 1 miki users 5015840 apr 23 15:27 vmlinuz
you must have done wrong. files not belong in casper-rw. when loop mount casper-rw file on /media/vdisk:
you apparently copied files "casper" directory, instead of loop mounting "casper-rw" , copying contents of that:code:efflandt@xps8100-1204:/media/vdisk$ ls -l total 68 drwxr-xr-x 3 root root 4096 apr 25 11:10 boot drwxr-xr-x 2 root root 4096 jul 8 08:44 cdrom drwxr-xr-x 13 root root 4096 jul 21 20:49 etc drwxr-xr-x 3 root root 4096 jul 8 08:44 home drwxr-xr-x 3 root root 4096 apr 25 11:08 lib drwx------ 2 root root 16384 jul 8 13:26 lost+found drwxr-xr-x 2 root root 4096 jul 8 19:09 media drwxr-xr-x 4 root root 4096 jul 21 20:38 mnt drwxr-xr-x 2 root root 4096 jul 8 08:44 rofs drwx------ 6 root root 4096 jul 8 13:57 root drwxr-xr-x 2 root root 4096 jul 8 14:02 target drwxrwxrwt 7 root root 4096 jul 21 13:56 tmp drwxr-xr-x 6 root root 4096 apr 25 11:04 usr drwxr-xr-x 7 root root 4096 jul 21 20:49 var
however, have never figured out how live/install iso use separate partition labelled "casper-rw", maybe because did not know copy contents of loop mounted casper-rw it.code:efflandt@xps8100-1204:/media/vdisk$ ls -l /media/ec19-c886/casper total 698876 -rw-r--r-- 1 efflandt efflandt 41031 jul 8 08:19 filesystem.manifest -rw-r--r-- 1 efflandt efflandt 971 jul 8 08:19 filesystem.manifest-remove -rw-r--r-- 1 efflandt efflandt 11 jul 8 08:19 filesystem.size -rw-r--r-- 1 efflandt efflandt 695623680 jul 8 13:20 filesystem.squashfs -rw-r--r-- 1 efflandt efflandt 14999791 jul 8 13:20 initrd.lz -rw-r--r-- 1 efflandt efflandt 4965840 jul 8 08:20 vmlinuz
btw ext2 better use flash memory (less writing journal file system). , if have 32 gb, why not regular install it, can kernel updates, or if need non-default video drivers? compare, installed both 64-bit lubuntu , ubuntu 12.04 common /home partition 32 gb sd tablet pc.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Persistent live wan't work after moving casper-rw
Ubuntu
Comments
Post a Comment