Re: [Leaf-user] More questions about Datchstein CD 1.0.2 and pppoe
thanks I 'm sure that if both of you ( Charles and David) are able to - change tyres of a car - build a house only using sed and sh ;-) Once again thanks for your help Etienne Charlier - Original Message - From: "David Douthitt" <[EMAIL PROTECTED]> To: "LEAF Users List" <[EMAIL PROTECTED]> Sent: Friday, December 14, 2001 6:25 PM Subject: Re: [Leaf-user] More questions about Datchstein CD 1.0.2 and pppoe > Charles Steinkuehler wrote: > > > > - is it possible to change the root > > > ramdisk size and still booting from > > > the CD ?? > > > > Yes, but you have to burn a new CD, with a different boot-floppy image. > > I thought you COULD change it. Hold down the left shift, and at the > boot: prompt type > > linux ramsize=X > > ...and that should do it (assuming the default kernel label is > linux)... Of course, you DO have to type it in... > > > > in previous versions of dachstein: > > > ping -c 1 some.dns.name | grep PING | cut -d" ():" -f 3 > > > returned only the ip address > > > 1.2.3.4 > > > in dachstein cd, the same command returns > > > (1.2.3.4): > > > > > > Any idea ?? > > > > The previous cut command was massively broken, and the fact that the above > > usage worked was an artifact of cut's mis-behavior. Try the above on a > > 'normal' linux system and you'll get an error...the delimiter for cut must > > be a single character... > > > > Try using sed instead of cut: > > sed 's/).*//;s/.*(//' > > How about this (for your entire command line): > > ping -c 1 some.dns.name | sed -n '/PING/s/.*(\(.*\)):.*/\1/p' > > ...one sed command, no cut and no grep. > > ___ > Leaf-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] More questions about Datchstein CD 1.0.2 and pppoe
So, could I change the ramsize this way to get LEAF to boot up on a very low memory machine? (ie. 4MB) I -Steve On Friday, December 14, 2001, at 11:25 AM, David Douthitt wrote: > Charles Steinkuehler wrote: > >>> - is it possible to change the root >>> ramdisk size and still booting from >>> the CD ?? >> >> Yes, but you have to burn a new CD, with a different boot-floppy image. > > I thought you COULD change it. Hold down the left shift, and at the > boot: prompt type > > linux ramsize=X > > ...and that should do it (assuming the default kernel label is > linux)... Of course, you DO have to type it in... ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] More questions about Datchstein CD 1.0.2 and pppoe
Charles Steinkuehler wrote: > > - is it possible to change the root > > ramdisk size and still booting from > > the CD ?? > > Yes, but you have to burn a new CD, with a different boot-floppy image. I thought you COULD change it. Hold down the left shift, and at the boot: prompt type linux ramsize=X ...and that should do it (assuming the default kernel label is linux)... Of course, you DO have to type it in... > > in previous versions of dachstein: > > ping -c 1 some.dns.name | grep PING | cut -d" ():" -f 3 > > returned only the ip address > > 1.2.3.4 > > in dachstein cd, the same command returns > > (1.2.3.4): > > > > Any idea ?? > > The previous cut command was massively broken, and the fact that the above > usage worked was an artifact of cut's mis-behavior. Try the above on a > 'normal' linux system and you'll get an error...the delimiter for cut must > be a single character... > > Try using sed instead of cut: > sed 's/).*//;s/.*(//' How about this (for your entire command line): ping -c 1 some.dns.name | sed -n '/PING/s/.*(\(.*\)):.*/\1/p' ...one sed command, no cut and no grep. ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] More questions about Datchstein CD 1.0.2 and pppoe
> - is it possible to change the root ramdisk size and still booting from the CD ?? Yes, but you have to burn a new CD, with a different boot-floppy image. NOTE: It *is* possible to change the size of the /var/log ramdisk, since that's created at runtime. You only need a new boot-floppy image if you have to change the size of the root ramdisk. > - I think that the behaviour of the cut command as changed It has > in previous versions of dachstein: > ping -c 1 some.dns.name | grep PING | cut -d" ():" -f 3 > returned only the ip address > 1.2.3.4 > in dachstein cd, the same command returns > (1.2.3.4): > > Any idea ?? The previous cut command was massively broken, and the fact that the above usage worked was an artifact of cut's mis-behavior. Try the above on a 'normal' linux system and you'll get an error...the delimiter for cut must be a single character... Try using sed instead of cut: sed 's/).*//;s/.*(//' Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
[Leaf-user] More questions about Datchstein CD 1.0.2 and pppoe
Hi again A couple of questions: - is it possible to change the root ramdisk size and still booting from the CD ?? - I think that the behaviour of the cut command as changed in previous versions of dachstein: ping -c 1 some.dns.name | grep PING | cut -d" ():" -f 3 returned only the ip address 1.2.3.4 in dachstein cd, the same command returns (1.2.3.4): Any idea ??