USB スタートアップ・ディスクの作成 - Ubuntu 9.04 LiveCD - 12
今回の9.04のMake USB Startup Diskでは、casper-rwが作成されません。
変更した設定内容を保存する領域です。
対策のでているサイト
----------
今回の9.04のMake USB Startup Diskでは、casper-rwが作成されませんでした。
3GBのcasper-rwを作成しようとしたのですが、2回試しましたがいずれも失敗。
casper-rwの容量に制限があるのかどうか、私にはわかりませんでした。
そこで、コマンドで作成し、USBメモリーにコピーして使用しています。
端末を起動して、
dd if=/dev/zero of=casper-rw bs=1M count=3096
mkfs.ext3 -F casper-rw
作成されたcasper-rwをメモリーにコピーする。
----------
root@ubuntu:~# dd if=/dev/zero of=casper-rw bs=1M count=3096
dd: `casper-rw' に書き込んでいます。: No space left on device
8+0 記録始め
7+0 記録終わり
7917568 バイト (7.9 MB) コピー終了, 0.0246608 s, 321 MB/s
root@ubuntu:~# mkfs.ext3 -F casper-rw
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1936 inodes, 7732 blocks
386 blocks (4.99%) reserved for the super user
First data block=1
Maximum filesystem blocks=8126464
1 block group
8192 blocks per group, 8192 fragments per group
1936 inodes per group
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@ubuntu:~#
----------
- casper-rw が、作成された。

----------
参考サイト
----------
英語のサイト
- Create a larger casper-rw loop file in Linux
Creating a NEW larger casper-rw loop file
The following method will create a NEW casper-rw file that will replace the old one. If you want to resize an existing image see the next section.
- After your up and running in Linux, insert the flash
drive that contains your casper-rw loop file
- Open a terminal
- Type the following into the terminal window and press enter
dd if=/dev/zero of=casper-rw bs=1M
count=1024
(replacing 1024 with
the "size in MB" you wish to use for saving changes persistently)
- Type the following into the terminal and press enter
mkfs.ext3 -F casper-rw
- Copy the new casper-rw file to your USB flash
drive
- Restart your computer, booting from the USB flash drive and enjoy using the larger casper-rw loop block file you have just created.
Resize an existing casper-rw loop file<
The following method will allow you to resize your existing casper-rw image (expand casper-rw). You should create a backup just in case before proceeding.
- After your up and running in Linux, insert the flash
drive that contains your casper-rw loop file
- Open a terminal and change directory (CD) to the location of your casper-rw file
- Type the following into the terminal window and press enter
dd if=/dev/zero bs=1M count=1024 >> casper-rw
(replacing 1024 with the size in MB you wish to increase the original size by)
- Type the following into the terminal window and press enter
resize2fs casper-rw
If all goes well, you should now have a larger casper-rw loop file to use for saving your persistent changes.
注記) casper-rw ファイルを作成して置く方法です。
casper-rw ファイルのリサイズの方法です。
- Create a Larger than 4GB Casper Partition
The following tutorial
will show you one way to create a casper-rw partition on your USB flash drive. The benefit of using a casper-rw partition as opposed to a casper-rw block file is that you can expand your persistent storage beyond 4GB. This is very useful if you have a flash drive that is 8GB or larger and you want to use all of it's remaining space for persistent storage. The drawback is that Windows will not see the secondary casper-rw partition (in Windows, your drive will appear to be smaller than it is).
This tutorial assumes that you have already created a bootable USB Flash Drive that contains Ubuntu or an Ubuntu based Live Distro like Xubuntu, Kubuntu, Linux Mint, Crunchbang, etc. You should delete any existing casper-rw file from the drive to free up all available space before proceeding.
From the Create New Partition Window that appears, type casper-rw for the label and then click Add
注記) casper-rw を別パーティションに作成して置く方法です。