mibadt
August 17th, 2012, 08:09 AM
Hi,
I want to use a 32GB USB memory as a live Ubuntu with persistence.
Initially, I tried from within Ubuntu (12.04-386), but it would boot.
Afterwards I used gparted to create 3 partitions on above USB memory:
1 a bootable 3.8GB FAT32 partition labeled UBUNTU
2. 3.8 GB FAR32 partition labeled WINDOWS (for data exchange between OSs)
3. A large (rest of un allocated space) ext2 partition labeled casper-rw.
I used unetbootin to create a persistent Ubuntu (same version) on the UBUNTU partition.
I rebooted and verified the USB worked (I was able to boot into Ubuntu).
I rebooted back (into my Arch) and, as root, used "rsync-av" to move all the contents that has been in the casper-rw folder (in Ubuntu partition) to the otherwise entry large casper-rw partition. Afterwards I deleted to folder casper-rw (and its contents) from the Ubuntu partition.
Trying to reboot from the USB, I get the following error: "initrmfs unable to find media containing a live filesystem".
Below see a terminal out of the current structure and contents of my USB memory.
Please advise!
Thanks
--------USB structure-from terminal
# 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
I want to use a 32GB USB memory as a live Ubuntu with persistence.
Initially, I tried from within Ubuntu (12.04-386), but it would boot.
Afterwards I used gparted to create 3 partitions on above USB memory:
1 a bootable 3.8GB FAT32 partition labeled UBUNTU
2. 3.8 GB FAR32 partition labeled WINDOWS (for data exchange between OSs)
3. A large (rest of un allocated space) ext2 partition labeled casper-rw.
I used unetbootin to create a persistent Ubuntu (same version) on the UBUNTU partition.
I rebooted and verified the USB worked (I was able to boot into Ubuntu).
I rebooted back (into my Arch) and, as root, used "rsync-av" to move all the contents that has been in the casper-rw folder (in Ubuntu partition) to the otherwise entry large casper-rw partition. Afterwards I deleted to folder casper-rw (and its contents) from the Ubuntu partition.
Trying to reboot from the USB, I get the following error: "initrmfs unable to find media containing a live filesystem".
Below see a terminal out of the current structure and contents of my USB memory.
Please advise!
Thanks
--------USB structure-from terminal
# 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