Hi All, I know that cover CD's seem to cause much furrowing of brows but..... Although I have been toying with linux for nearly a year, I have just used RedHat up until now. So I thought that I might get a lightweight distro from the covers of Linux Format. Gentoo and The LRS distros look interesting, but how are they installed? If I burn the iso image onto CD what do I do next?. When I installed RedHat I remember that I had to make a floppy with the boot image to launch the installer, but where would I get that from for these OSs? Although I've looked at the disc and mags there does not seem to be an idiots guide to this (which is what I need). I like to find things out for myself if possible - but don't know where to go from here. what I need is a simple instruction list something like.. 1) burn the gentoo iso image file onto a CD 2) get *****.*** file onto a floppy from??? 3) boot using floppy 4) mount CD 5) start install can anyone help?
Thanks
Glen
Glen Tyler wrote:
Hi All, I know that cover CD's seem to cause much furrowing of brows but..... Although I have been toying with linux for nearly a year, I have just used RedHat up until now. So I thought that I might get a lightweight distro from the covers of Linux Format. Gentoo and The LRS distros look interesting, but how are they installed? If I burn the iso image onto CD what do I do next?. When I installed RedHat I remember that I had to make a floppy with the boot image to launch the installer, but where would I get that from for these OSs? Although I've looked at the disc and mags there does not seem to be an idiots guide to this (which is what I need). I like to find things out for myself if possible - but don't know where to go from here. what I need is a simple instruction list something like..
- burn the gentoo iso image file onto a CD
- get *****.*** file onto a floppy from???
- boot using floppy
- mount CD
- start install
can anyone help?
There are comprehensive instructions on the gentoo site. It would be stupid for me to post this stuff in here, so you should go and look yourself. Note that coming from an RH background, you'll find a vertical learning curve, but once you've got your head round it, you'll never go back to a conventional distro.
I'm a total Gentoo convert now, and run a mirror on my LAN to speed up builds. We've switched all our live boxes to gentoo, and automated the build to a few questions at the start, and off it goes for 3 hours, building from source.
Cheers, Laurie.
Thanks Laurie, I see that Gentoo can only be installed if you can boot from the CD (which I can't). Also you need at least 64MB Ram (I have 16MB), so unfortunately I'll have to leave it for now. However I see that I can download boot discs for LRS from the website, so I'll probably have a go at that.... atb Glen
Hi,
A quick question about filtering input in perl.
I have a little program that reads the output of the w command into a hash. It the sorts the records and outputs the results. What I would like to do is filter the initial read on <WHO> so that the only records in the hash are people with an idle time in days.
Is it possible to put a construct in the @Who_Data = <WHO>; so that all the filtering is done in one hit?
The code so far is.
#!/usr/bin/perl
open(WHO,"w -h |"); @Who_Data = <WHO>; my @sorted = map { $_->[0] } sort custom map { [$_, split /:/ ] } @Who_Data;
print @sorted;
sub custom { $a->[0] cmp $b->[0]; }
Of course it is possible to do the fitlering. But you haven't given us any indicatioin of the sort of filtering you want so it is difficult to give any sort of a helpful reply.
The easiest way might be to replace your map() with an explicit for-loop and process the data one line at a time. Non-trivial map() sequences tend to be rather opaque when you come back to the later.
On 29-Jul-2002 Douglas Willis wrote:
Hi,
A quick question about filtering input in perl.
I have a little program that reads the output of the w command into a hash. It the sorts the records and outputs the results. What I would like to do is filter the initial read on <WHO> so that the only records in the hash are people with an idle time in days.
Is it possible to put a construct in the @Who_Data = <WHO>; so that all the filtering is done in one hit?
The code so far is.
#!/usr/bin/perl
open(WHO,"w -h |"); @Who_Data = <WHO>; my @sorted = map { $_->[0] } sort custom map { [$_, split /:/ ] } @Who_Data;
print @sorted;
sub custom { $a->[0] cmp $b->[0]; }
-- Douglas Willis (ddw@nerc-bas.ac.uk) British Antarctic Survey High Cross, Madingley Road Cambridge, CB3 0ET, United Kingdom tel: +44 1223 221400, fax: +44 1223 362616
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!