|
From: Emmanuel E. <ee...@fr...> - 2003-12-23 14:54:37
|
hi, Heiko Zuerker a =E9crit: > Tim Tait wrote: >=20 >> Bruce Smith wrote: >> >>> I just downloaded devil-linux-1.1.1-2003-12-21-i586-SMP.tar.bz2 (sinc= e I >>> didn't have a recent compile of my own at work), and installed it on = a >>> new box. >>> >>> It booted up, ask me to copy a blank config to media (I said "y"), it >>> booted, I setup the box, ran save-config, and rebooted. It came back >>> up, and I noticed that I didn't have a root password, which was set. = I >>> also noticed my network wasn't setup, and NONE of my changes were the= re. >>> After repeating the process a couple times, I finally figured out tha= t >>> the boot process was creating and reading my config on a local hard >>> drive (ext3 /dev/hda2), and save-config was saving to my USB stick on >>> /dev/sda1. >>> >>> - BS >>> =20 >>> >> I confused, why doesn't it write back to the same place it found it on= =20 >> boot? AIR, the location is saved into a environment variable. Can't=20 >> that be preserved somehow and used in save-config? >=20 >=20 > The reason is easy: initrd is already updated to use devfs and=20 > save-config is old (out-dated). > I still have to copy the specific part over to the save-config script. >=20 > We could store the config location somewhere in the system and re-use i= t=20 > for save-config, but we would loose the flexibility of switching config= =20 > devices while the system is up. > Any more thoughts/opinions about this ? Yes, add a parameter in /etc/sysconfig/config for the save-config device=20 to use ... >=20 > Heiko >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM= 's > Free Linux Tutorials. Learn everything from the bash shell to sys admi= n. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Devil-linux-develop mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-develop >=20 >=20 |