<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
Dom, 2006-08-06 às 15:45 +0000, Michał Sznajder escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">But new drive won't arrive until end of week so I would like to setup</FONT>
<FONT COLOR="#000000">persistent LiveCD on USB stick to keep data between power-offs. I</FONT>
<FONT COLOR="#000000">tried procedure from here</FONT>
<FONT COLOR="#000000"><A HREF="https://help.ubuntu.com/community/LiveCDPersistence">https://help.ubuntu.com/community/LiveCDPersistence</A> but it didn't</FONT>
<FONT COLOR="#000000">work. I tried different labels (casper-rw, casper-cow, cow), I tried</FONT>
<FONT COLOR="#000000">different file systems (ext2, ext3, vfat with big file).</FONT>

<FONT COLOR="#000000">Result is the same: after boot I see Ubuntu boot menu, I press F6, add</FONT>
<FONT COLOR="#000000">persistent and than boot halts on mounting root file system with</FONT>
<FONT COLOR="#000000">CD-ROM going crazy and giving strange errors " ... /dev/hdc read</FONT>
<FONT COLOR="#000000">error..." after a while. But cd-image verification ends without</FONT>
<FONT COLOR="#000000">errors. And no problems with normal LiveCD</FONT>

<FONT COLOR="#000000">Any ideas how to set-up persistent storage with Ubuntu 6.06? I can</FONT>
<FONT COLOR="#000000">provide all configuration info you need.</FONT>

<FONT COLOR="#000000">Regards</FONT>
<FONT COLOR="#000000">    Michał Sznaj</FONT>der
</PRE>
</BLOCKQUOTE>
The USB drive needs to get the label <I>casper-cow</I> <BR>
to set the label just do:<BR>
$ df -h<BR>
to see the mounted outputs, the output should look like this:<BR>
Filesystem            Size  Used Avail Use% Mounted on<BR>
/dev/hda2              25G   24G  1,7G  94%   /<BR>
varrun                379M   220K  379M   1%   /var/run<BR>
varlock               379M   8,0K  379M   1%   /var/lock<BR>
udev                  379M   148K  379M   1%   /dev<BR>
devshm              379M   48K  379M   1%     /dev/shm<BR>
lrm                    379M   18M  361M      5%    /lib/modules/2.6.15-26-686/volatile<BR>
/dev/hda1             31G   26G  4,3G    86%    /media/hda1<BR>
/dev/hdd            694M  694M     0    100%      /media/cdrom0<BR>
/dev/sda1          979M  547M  433M  56%     /media/KINGSTON<BR>
USB devices are mounted as SCSI drivers, so you see the last drive mounted listed as <I>/dev/sda1</I>. This mean this is a SCSI drive. Now you know what is the drive of your USB device.<BR>
If you have anything on them you must save it now to another place.<BR>
Once you backed up your files do the following:<BR>
<BR>
$ sudo umount /dev/sda1 (in my case is sda1 like I've explained)<BR>
<BR>
Then create a new filesystem with the correct label:<BR>
<BR>
$ sudo mkfs.ext3 -b 4096 -L casper-cow<BR>
                            /dev/sda1<BR>
You must replace /dev/sda1 with the device name used by your device)<BR>
<BR>
To boot Ubuntu on <B>persistent mode</B> just do the following steps.<BR>
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 <I>Other Options</I>, I think this should get with the <B>F4</B> key.<BR>
Now you will see a list of arguments that need to be used to boot, just add a space and <I>persistent</I>; then hit Enter.<BR>
That's should work what you want <IMG SRC="cid:1154880619.13107.47.camel@localhost" ALIGN="middle" ALT=":)" BORDER="0"><BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Sincerely<BR>
José Oleiro aka Matafome (#computers at irc.ptnet.org <A HREF="http://blogmatafome.blogspot.com">Blog do Matafome</A> )<BR>
Running Ubuntu 6.06 Dapper with XGL on:<BR>
Fujitsu-Siemens Model Amilo M 1420<BR>
Processor Centrino 1.6Ghz<BR>
768MB RAM<BR>
HD 60GB from manufacturer Toshiba<BR>
ATI 9700Pro 128MB RAM<BR>
Internet Connection: Vodafone Mobile Connect Card 3G by Option Model Quad GT (384kbps/64kbps)<BR>
Distributions installed SuSE 10.1 OSS, Ubuntu 6.06 Dapper Drake (next distribution to get into my system Debian <IMG SRC="cid:1154879853.13107.33.camel@localhost" ALIGN="bottom" ALT=":D" BORDER="0"> )
</TD>
</TR>
</TABLE>
</BODY>
</HTML>