On Jan 28, 2008, at 12:42 AM, Fred wrote:

> At 16:59 27/01/2008 -0600, Darrick Hartman (lists) wrote:
>> If you're using unionfs without a key disk you'll need to copy  
>> some of the
>> files that normally are created by genkd into /mnt/kd (which  
>> actually will
>> reside on the unionfs partition).
>
> Still no go :-/ I still can't get Zaptel to work, even though it  
> did work
> last week before I dived into PHP, SQLite, etc.
>
> -snip-

>      KCMD="root=/dev/ram0 rw init=/linuxrc astlinux=geni586
> astimg=astlinux-trunk-1540.run astkd=/dev/sda1
>      asturw=/dev/hda2 astlive ide=nodma"

Fred,

ie, how do I get my keydisk working?

or, in other words, how do I get /mnt/kd/ to point to CF?

With unionfs there are two methods.
(Note: genunion is what Derrick created in trunk currently.)
---
Method 1) The /mnt/kd/ path is a part of the unionfs "rw" overlay to  
the base "ro" filesystem.
Note: This method requires the "astkd=" NOT be defined in the KCMD.

If method 1 is your choice, starting from a single, first FAT16  
partition CF, create a second ext2 partition.

Next, execute the script "genunion /dev/xxx2" and answer "yes" to the  
"continue using a keydisk" question.

Edit your run.conf to define "asturw=/dev/xxx2", remove "astkd=/dev/ 
xxxN" reboot.

The /mnt/kd/ path will contain your persistent files, including rc.conf.
---
Method 2) The /mnt/kd/ path is traditional mount-point to a separate  
ext2 partition.
Note: This method requires the "astkd=/dev/xxxN" be defiend in the  
KCMD, and pointing to a valid ext2 partition.

If method 2 is your choice, starting from a single, first FAT16  
partition CF, create two ext2 partitions.

Next, execute the script "genunion /dev/xxx2" BUT answer "no" to the  
"continue using a keydisk" question.

Then, execute the script "genkd /dev/xxx3".

Edit your run.conf to define "asturw=/dev/xxx2" and "astkd=/dev/ 
xxx3", reboot.

The /mnt/kd/ path will contain your persistent files, including rc.conf.
---
Fred, you have specified "astkd=/dev/sda1" in your KCMD, if there is  
no /dev/sda1, then this is a problem.

If you want to use method 1, but don't want to wipe your current  
mounted unionfs you could possibly add the /oldroot/mnt/asturw/mnt/ 
kd/ directory manually and the associated files and directorys that  
genunion does, but this is an expert technique, be very careful, and  
you will have to reboot afterwards to let unionfs find your new files/ 
directories.

Lonnie




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to