Hi,

I'm doing something stupid, but I can't generate my keydisk as the  
'second' CF partition.

This is what I am doing on a net4801:
1) gzcat 0.4.3 on an 'erased' 512M Sandisk CF.

2) fdisk /dev/hda; n; 2;<CR> ;<CR>;w

3) edit /boot/grub/grub.conf to include
title AstLinux (Boot from CF - Use second partition for KeyDisk)
         root (hd0,0)
         kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8  
astlinux=net4801 astkd=/dev/hda2 ide=nodma
         savedefault

4) reboot

So far, so good.  This is where I get confused... without using genkd...

Magically, /dev/hda2 has a file system and is mounted and has  
symbolic links pointing to themselves...

What did I do wrong?

Lonnie

pbx kd # pwd
/mnt/kd
pbx kd # ls -l
-rw-r--r--    1 root     root         8192 Aug 24 14:53 astdb
lrwxrwxrwx    1 root     root           16 Aug 24 14:29 asterisk -> / 
mnt/kd/asterisk
lrwxrwxrwx    1 root     root           15 Aug 24 14:29 cdr-csv -> / 
mnt/kd/cdr-csv
lrwxrwxrwx    1 root     root           16 Aug 24 14:29 crontabs -> / 
mnt/kd/crontabs
-rw-r--r--    1 root     root            0 Aug 24 14:29 dnsmasq.leases
drwxr-xr-x    2 root     root         1024 Aug 24 14:29 home
drwx------    2 root     root        12288 Aug 24 14:29 lost+found
drwxr-xr-x    2 root     root         1024 Aug 24 14:29 monitor
drwxr-xr-x    2 root     root         1024 Aug 24 14:29 ssh
lrwxrwxrwx    1 root     root           16 Aug 24 14:29 tftpboot -> / 
mnt/kd/tftpboot
lrwxrwxrwx    1 root     root           17 Aug 24 14:29 voicemail -> / 
mnt/kd/voicemail

pbx kd # mount
/dev/root on / type ext2 (ro,nogrpid)
none on /proc type proc (rw)
none on /dev type tmpfs (rw)
none on /var type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /sys type sysfs (rw)
/dev/hda2 on /mnt/kd type ext2 (rw,noatime,nogrpid)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

pbx kd # df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1                47305     40999      6306  87% /
none                       200         0       200   0% /dev
none                      5000       108      4892   2% /var
none                     10000       492      9508   5% /tmp
/dev/hda2                60997        30     57817   0% /mnt/kd

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

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

Reply via email to