<495a7ee6.5070...@mhr.me.uk>
<p06240808c58031502...@[192.168.2.210]> <495aa4ff.3090...@mhr.me.uk>
Message-ID: <38e67be333b7b7cf9496c657348be...@localhost>
X-Sender: dhart...@djhsolutions.com
Received: from mke-66-97-114-83.milwpc.com [66.97.114.83] with HTTP/1.1 (POST);
        Tue, 30 Dec 2008 17:46:55 -0600
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Tue, 30 Dec 2008 22:47:27 +0000, Martin Rogers
<fromastlinux-us...@mhr.me.uk> wrote:
> 
> 
> Michael Keuter wrote:
>>> Michael Keuter wrote:
>>>>>  Since upgrading to 0.6.2, partitioning my flash disk and running
>>>>>  genunion I am now not only able to make ordinary configuration
> changes
>>>>>  sticky but the root password too.
>>>>>
>>>>>  The trouble is however that if your mobo only supports a single hard
>>>>>  disk channel, having multiple partitions does not really help. If
> the rw
>>>>>  partition wears out it might as well all be on the same partition
>>>  >> anyway, as the whole flash module will need changing.
>>>  >
>>>  > You have still the possiblity to use an extra USB-Stick for the
>>>  > Keydisk (genkd script).
>>> I was not aware that it was possible to make the root password sticky
>>> using genkd, perhaps I missed something. I understood this needed
>>> genunion.  Genunion on a USB-stick was a non starter for me - the
>>> USB-stick could not be detected at boot-up. Possibly a timing issue.
>> 
>> No that's the wrong way. Before running genunion 
>> run genkd /dev/sdÅ  (your USB-Stick).
>> Check with "fdisk -l". Reboot then.
>> Now run genunion and at the second question say "NO". Reboot again.
>> 
>> http://www.astlinux.org/node/30
>> 
> Michael, thanks for your post.  I did try the above, on more than one
> occasion and with two different platforms, but  after booting no
> configuration was sticky. I had an error on bootup to do with detecting
> the USB Stick. This was using the 0.6.1 VIA image.
> 
> I then reverted to using a second on-board partition and got everything
> working nicely, except for concerns about extending the life of the disk.

Honestly, I think this is all blown out of proportion.  Recent flash has
good built in wear leveling.  Assuming you use a large enough disk, even if
you did have problems where portions of the disk were no longer writable,
the only affect should be the amount of free space on the device.  The
amount of data that's written to the CF is fairly small.  If you're super
paranoid, use a 4GB card and swap it out proactively in a few years.

Compact flash media is going to be better than a cheap USB device.  I would
think that a USB flash device is going to fail much earlier than a good
compact flash device.

You should be able to use a compact flash device as a key disk.  I have not
tried this recently, but if you really want to do so, it should be
possible.  You may need a boot delay added to allow the usb bus to discover
all the devices.

If you do use a separate key disk device, you still DO need a unionfs
partition for passwords and to overwrite other changes you may want to make
to files from the squashfs file system.

Darrick


------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to