Persistent LiveCD with USB stick (Solution)
José Paulo Matafome Oleiro
matafomeoleiro at gmail.com
Sun Aug 6 16:10:19 UTC 2006
Dom, 2006-08-06 às 15:45 +0000, Michał Sznajder escreveu:
> But new drive won't arrive until end of week so I would like to setup
> persistent LiveCD on USB stick to keep data between power-offs. I
> tried procedure from here
> https://help.ubuntu.com/community/LiveCDPersistence but it didn't
> work. I tried different labels (casper-rw, casper-cow, cow), I tried
> different file systems (ext2, ext3, vfat with big file).
>
> Result is the same: after boot I see Ubuntu boot menu, I press F6, add
> persistent and than boot halts on mounting root file system with
> CD-ROM going crazy and giving strange errors " ... /dev/hdc read
> error..." after a while. But cd-image verification ends without
> errors. And no problems with normal LiveCD
>
> Any ideas how to set-up persistent storage with Ubuntu 6.06? I can
> provide all configuration info you need.
>
> Regards
> Michał Sznajder
The USB drive needs to get the label casper-cow
to set the label just do:
$ df -h
to see the mounted outputs, the output should look like this:
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 25G 24G 1,7G 94% /
varrun 379M 220K 379M 1% /var/run
varlock 379M 8,0K 379M 1% /var/lock
udev 379M 148K 379M 1% /dev
devshm 379M 48K 379M 1% /dev/shm
lrm 379M 18M 361M
5% /lib/modules/2.6.15-26-686/volatile
/dev/hda1 31G 26G 4,3G 86% /media/hda1
/dev/hdd 694M 694M 0 100% /media/cdrom0
/dev/sda1 979M 547M 433M 56% /media/KINGSTON
USB devices are mounted as SCSI drivers, so you see the last drive
mounted listed as /dev/sda1. This mean this is a SCSI drive. Now you
know what is the drive of your USB device.
If you have anything on them you must save it now to another place.
Once you backed up your files do the following:
$ sudo umount /dev/sda1 (in my case is sda1 like I've explained)
Then create a new filesystem with the correct label:
$ sudo mkfs.ext3 -b 4096 -L casper-cow
/dev/sda1
You must replace /dev/sda1 with the device name used by your device)
To boot Ubuntu on persistent mode just do the following steps.
Plug you USB drive in your computer, boot the computer with the LiveCD,
then when you see the menu of the LiveCD to choice to boot up the
system. You need to access Other Options, I think this should get with
the F4 key.
Now you will see a list of arguments that need to be used to boot, just
add a space and persistent; then hit Enter.
That's should work what you want :)
Sincerely
José Oleiro aka Matafome (#computers at irc.ptnet.org Blog do Matafome )
Running Ubuntu 6.06 Dapper with XGL on:
Fujitsu-Siemens Model Amilo M 1420
Processor Centrino 1.6Ghz
768MB RAM
HD 60GB from manufacturer Toshiba
ATI 9700Pro 128MB RAM
Internet Connection: Vodafone Mobile Connect Card 3G by Option Model
Quad GT (384kbps/64kbps)
Distributions installed SuSE 10.1 OSS, Ubuntu 6.06 Dapper Drake (next
distribution to get into my system Debian :D )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060806/d3a26644/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-1.png
Type: image/png
Size: 798 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060806/d3a26644/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-3.png
Type: image/png
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060806/d3a26644/attachment-0001.png>
More information about the ubuntu-users
mailing list