Hi

well I have tried to follow the spirit of the documentation at
http://www.astlinux.org/node/30, and have I think now created a Unionfs
with a USB flash drive. However I am unable to change the root password
-so there is a good chance something has gone pearshaped, although I did
not  receive any warnings or errors.

Here is the process I followed (double quotes were not actually typed in) :

1. I dd'd Astlinux-0.6.1-via.img.gz onto the target (Neoware E140)
2. I inserted a blank USB drive into a USB socket and rebooted.
3. After rebooting I ran "genunion /dev/sda1". I entered "yes" to
continue and the script output 'Filesystem created'
4. I then typed "yes" to 'create a new keydisk structure on your new
unionfs partition'.
5. I then ran "sync"
6. I then rebooted.

When the system came back up I logged in as root and tried to change the
password and got the following error:

'passwd: cannot update password file /etc/shadow.'


- Does anyone have any ideas what is going wrong here?

- Has anyone actually tried to do what I have done and succeeded?


For reference the mount state is as follows:

rootfs on / type rootfs (rw)
/dev/root on /oldroot type ext2 (rw)
/dev/hda1 on /oldroot/cdrom type vfat
(ro,fmask=002,dmask=0022,codepage=cp437,ocharset=iso8859-1)
none on / type tmpfs (ro)
none on /proc type proc (rw)
none on /dev type tmpfs (rw)
none on /var type tmpfs (rw)
none on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)


Thanks in advance
Mart


Martin Rogers wrote:
> Hi
> 
> I have been using various versions of Astlinux using genkd and a USB
> flash disk with a good deal of success.
> 
> I would like to resolve an issue whereby I am unable to update
> modprobe.conf (in turn because MODOPTS settings do not work). I have
> received advice from Darrick that I need to modify/create
> /oldroot/mnt/asturw/etc/modprobe.conf in order to do this.
> 
> However, I assume that as I have never run genunion I do not have
> unionfs enabled. Of course it would be nice to change my root password too!
> 
> Is it possible to enable unionfs but instead of using a second CF
> partition, to use a USB flash disk instead?
> 
> If so, how do I do this?
> Do I still need to run genkd.
> 
> Any help gratefully received
> Mart
> 
> -------------------------------------------------------------------------
> 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]

Reply via email to