Chris,

Please read the documentation on unionfs on the astlinux website: 
http://www.astlinux.org

http://www.astlinux.org/node/30

With unionfs you can skip creating the key disk all together.

Also new is support for asturw=auto.  The new initrd includes support to 
find the asturw partition (and astkd if you want to use that too) based 
on the file system labels.  As long as you use "genunion" or "genkd" to 
create the appropriate file systems, you should be good to go.

On all new systems that I deploy, I'm using only the unionfs partition 
and no key disk.

Passwords and other files that you modify are stored on the unionfs 
partition which is overlayed onto the squashfs image.

Hopefully that clears some of this up.

Darrick

Chris Abnett wrote:
> See I am reading about people using unionFS.  Which appears im not.. I was
> trying to run with a keydisk.. and having another problem I see on the list
> and that was making a password change stick over a reboot which mine did
> not..  I never really worried about that too much as I almost never had to
> reboot my machine...  so now ive got an identical box im working so I didn't
> take my production system down.....here is what I did to see if im doing it
> right or not
> 
> 
> Did a physdiskwrite and wrote a runnix.img CF image to a Sandisk 1 gig card
> Built my astlinux from scratch.. in this case trunk 1895
> Copied the contents of 'astlinux-trunk-1895' to the 'os' directory on the
> card.
> Put the CF card in my Neo Light (cv860a), booted it up
> 
> This time it came up normally and I got the astlinux login, so I did the
> following:
> 
> Fdisk /dev/hdc
> Created 512 meg partition which became /dev/hdc2
> Rebooted
> Did a mkfs.ext3 on the /dev/hdc2
> Umount /oldroot/cdrom
> Mount -o rw -t vfat /dev/hdc1 /oldroot/cdrom
> Edited astlinux-trunk-1895.run.conf file to say astkd=/dev/hdc2 and saved.
> Reboot
> System comes back up and I did a genkd /dev/hdc2 and it created my keydisk
> Reboot
> System comes back up and I do a passwd
> It tells me it mounts root as rw, I enter my new passcode.. remounts to read
> only..
> I logout and log back in using new passcode..
> Reboot
> System comes back up and I have to use the default password to log in again
> and cant use my new one..  I also notice it generates new keys each time as
> I get a new key warning each time I ssh in if it has been rebooted...
> 
> I am not using asturw as I am using astkd..  although since all my files are
> on the same Keydisk maybe I should??
> 
> Im farther along than I was but how do I get it to where it will keep my
> passcode across a reboot?  Does that have something to do with the astlive
> in my KCMD?  Does it think it is running a Live CD version all the time and
> not a fully installed version?
> 
> -Christopher
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Darrick
> Hartman
> Sent: Friday, August 15, 2008 2:35 PM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] Trunk image will not mount - need a little
> help
> 
> Chris,
> 
> Make sure you replace the initrd file as well when you update the image. 
>   Some recent changes in that were made to include e2fsck, findfs and a 
> few other tools to help check the unionfs file system before it gets 
> mounted.
> 
> Darrick
> 
> 
> Chris Abnett wrote:
>> The shell I get dropped to does not contain e2fsck,it appears to just have
>> the busybox commandset available.  isn't the Filesystem squashfs for the
>> astlinux.run file? The busybox version of fsck doesn't want to get around
>> there not being an fstab file created no matter what variant of the
> command
>> I enter..... I wish the system was a little more verbose as to why the
> image
>> wont mount..... im building up 1895 now.. I will see what it does
>> -Christopher
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Philip
>> Prindeville
>> Sent: Friday, August 15, 2008 11:58 AM
>> To: AstLinux Users Mailing List
>> Subject: Re: [Astlinux-users] Trunk image will not mount - need a little
>> help
>>
>> Run "e2fsck" instead of fsck in the shell...
>>
>> -Philip
>>
>> Chris Abnett wrote:
>>> Ok previously I had built build 1670 and it worked perfectly.. put the 
>>> image on a CF card using physdiskwrite dropped it in my CV860a and off 
>>> and running.. so I wanted to upgrade a bit to the latest trunk to gain 
>>> some new features.. so I built it as usual got my images and dropped 
>>> them onto the CF card and this is what I get when I try to boot up
>>>
>>> ...
>>>
>>> Verifying astlinux-trunk-1890.run.
>>>
>>> astlinux-trunk-1890.run verified
>>>
>>> mount: mounting /dev/loop0 on /mnt/root failed
>>>
>>> Error mounting astlinux-trunk-1890.run root fs
>>>
>>> ..
>>>
>>> Then im dropped to a shell.. I saw another post with the same issue 
>>> and it showed that performing an fsck on the filesystem fixed that 
>>> individuals issue.. however I cannot get fsck to work no how.. it 
>>> wants an fstab which is not there in this directory anywhere and I 
>>> tried to echo to a simple one but then it cant find the variant of 
>>> fsck it needs to run.
>>>
>>> So if someone could give me a pointer of what may be wrong and how I 
>>> might get out this would be great.. like maybe the correct procedure 
>>> for installing a new image and the command and syntax to fsck.
>>>
>>> Do I have to have another machine to fsck my card? I do not have a PC 
>>> running linux that has a CF card slot in it.. so im hoping to fix this 
>>> issue using the CV860a that I have and the shell im dropped into..
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
> [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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 [EMAIL 
> PROTECTED]

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
Small Business IT Specialists
Office:  920.547.4535
   Cell:  920.901.3113

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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 [EMAIL 
PROTECTED]

Reply via email to