From: olivier.taylor <oli...@gm...> - 2007-01-04 07:28:20
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi Phil,<br> <br> Seems to be the same problem,<br> <br> Docs doesn't tell you to modify grub.conf but you have to.<br> <br> Genkd, If I understand well, creates the directories in Mnt/kd, Rc.conf is in /etc and there are some symlinks to /mnt/kd<br> <br> in Grub.conf, you should have :<br> <font color="#33cc00"><br> default saved<br> timeout 3<br> serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1<br> terminal serial<br> <br> <br> title AstLinux (Boot from CF - Use third partition for KeyDisk)<br> root (hd0,0)<br> kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8 astlinux=net4801 astkd=/dev/sda1 ide=nodma <font color="#ff0000">-------> Flash keydisk</font><br> savedefault</font><br> <br> Remember to make the system read/write before modifying grub.conf<br> <br> <br> Olivier<br> <br> <br> Phil McKerracher a écrit : <blockquote cite="mid000001c72f7e$16d98f50$0a00a8c0@phil" type="cite"> <pre wrap="">It seems I lied when I said I could edit changes to rc.conf on a USB flash stick. I thought I had successfully done this but I just tried again without success. I tried reformatting the drive from scratch (using genkd and then rebooting as described on <a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/index.php?page=AstLinux%20Users%20Guide%20Chapter%202">http://www.voip-info.org/wiki/index.php?page=AstLinux%20Users%20Guide%20Chapter%202</a> and on <a class="moz-txt-link-freetext" href="http://www.voipplanet.com/backgrounders/article.php/3646976">http://www.voipplanet.com/backgrounders/article.php/3646976</a>). If I go to /mnt/kd using the web interface I see the error message Warning: is_dir(): Stat failed for /mnt/kd/asterisk (errno=40 - Too many levels of symbolic links) in /stat/var/www/admin/dirphp_class.php on line 115 ...and I can't find rc.conf anywhere (is it supposed to be in the root or in /etc?). This is what I see in the root of the keydisk: astdb crontabs lost+found ssh asterisk dnsmasq.leases monitor tftpboot cdr-csv home voicemail If I edit rc.conf in /etc using the web interface (e.g. to uncomment INTIF) the changes don't persist past a reboot. (Yes, I did remember to make the filesystem read/write first, then save changes and reboot.) I tried with and without doing a "reload". I tried with and without the keydisk mounted. I tried using nano from the terminal instead of the web interface. I tried power cycling instead of rebooting. I tried reformatting the flash drive and the CF card. I searched the mailing list archive for a previous mention of this without success. Every reboot takes a few mins, so this has all taken hours. Please tell me it gets easier than this eventually! I'm trying not to bother you all with dumb questions (after the flaming I got from my initial ones!) but it would really be much easier if there was some documentation around somewhere. I'm off to try an earlier version of asterisk because I'm sure I had this working at one stage and I was using a different version initially. </pre> </blockquote> </body> </html> |