Linux-Misc Digest #917, Volume #26 Thu, 25 Jan 01 15:13:03 EST
Contents:
Re: Netware for linux? (Lew Pitcher)
"raw" devices with 2.4.0 kernel? (Steve Wampler)
Re: Good hosting service??? (Steve Ackman)
Re: how to listen to web radio (Steve Ackman)
Re: GIMP Print Prob. (Steve Ackman)
Re: RPM 4.0 on SuSE 7.0 ? (Steve Ackman)
Re: gcc environment question (Bill Champlin)
Re: Netware for linux? ([EMAIL PROTECTED])
Re: Making a bootable CD. ("Eric en Jolanda")
Re: Konqueror speed (Simon Kesenci)
Re: Partition overlapped ("Eric en Jolanda")
Re: GIMP Print Prob. (Cubic Meter)
Re: Suche programm, dass prozesse ueberwacht unt gegebenfalls neustartet ("Chris
Coyle")
Re: Volume Manager software for Linux (Markus Kossmann)
Puzzling messages when running dmesg... (Jean-David Beyer)
Re: Need a Browser (Sinner from the Prairy)
Re: Help Cant work in Gnome ("Eric en Jolanda")
Re: Somebody create a How-To on upgrading to Kernel 2.4, please !
([EMAIL PROTECTED])
Re: Record tape -> Linux -> mp3? (Rob Reid)
Re: Somebody create a How-To on upgrading to Kernel 2.4, please ! ("Phar Awei")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Netware for linux?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 18:10:03 GMT
On Thu, 25 Jan 2001 17:27:16 +0100, "Jan Vandesompele"
<[EMAIL PROTECTED]> wrote:
>Hello,
>
>does anyone know of a good netware client program under Linux?
Yes. Check out freshmeat or ibiblio for the ncpfs package.
Lew Pitcher
IT Consultant, Development Services
Toronto Dominion Bank Financial Group
(Opinions expressed are my own, not my employers')
------------------------------
From: Steve Wampler <[EMAIL PROTECTED]>
Subject: "raw" devices with 2.4.0 kernel?
Date: Thu, 25 Jan 2001 11:01:46 -0700
System: dual P-III running 2.4.0 kernel and glibc 2.1.3
I'm trying to access a scsi disk partition as a raw device.
I've done:
raw /dev/raw/raw1 /dev/sdd
The open() and fopen() system calls successfully open /dev/raw/raw1
but read() and fread() fail. Error from read() is "INVALID ARGUMENT",
which I take it means that the device is not suitable for reading.
fread() reports reading 0 bytes.
Yes, I'm reading a multiple of the raw block size (8192 bytes, in fact).
(I've also tried 512, 1024, and 4096.)
Reading from /dev/sdd works, of course.
Also, dd CAN read /dev/raw/raw1 (!), but programs like wc fail
with the same INVALID ARGUMENT I'm seeing.
Does anyone know (a) what's going on and/or (b) how to fix it?
Thanks!
--
Steve Wampler- SOLIS Project, National Solar Observatory
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Steve Ackman)
Subject: Re: Good hosting service???
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 12:43:26 -0500
On Thu, 25 Jan 2001 11:03:04 +0100, <[EMAIL PROTECTED]> wrote:
>Hello All!
>
>Do any of you know of a good (and cheap enough) hosting service? It would
>be nice if the host run linux/unix. :)
Look at addr.net. They run FreeBSD, IIRC, with support for
PHP and python if that's a consideration for $9.95.
For an additional $5, they also offer MySQL and credit card
processing.
--
Steve Ackman
http://twovoyagers.com
Registered Linux User #79430
------------------------------
From: [EMAIL PROTECTED] (Steve Ackman)
Subject: Re: how to listen to web radio
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 13:00:30 -0500
On Thu, 25 Jan 2001 10:16:54 -0500, richard noel fell <[EMAIL PROTECTED]> wrote:
>I am using redhat 7, have sound configured correctly and would like to
>listen to web radio. Is this possible? I have been unable to get any
>connection so far when going to a web site that is broadcasting.
I've used xmms to that end... but you never say what app
you're trying to use for web radio.
--
Steve Ackman
http://twovoyagers.com
Registered Linux User #79430
------------------------------
From: [EMAIL PROTECTED] (Steve Ackman)
Subject: Re: GIMP Print Prob.
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 13:14:28 -0500
On Thu, 25 Jan 2001 12:07:29 -0500, Cubic Meter <[EMAIL PROTECTED]> wrote:
>Every time I try to print an image from GIMP, I get page after page of
>"S8W-!" What is this and how can I fix it? I mean, the whole page is filled
>with line after line of S8W-!, and it will print for as long as I let it.
>Please help.
Does this problem only exist in GIMP, or does it also occur
in other apps... Netscape, for instance.
Have you successfully printed the test pages from printtool?
--
Steve Ackman
http://twovoyagers.com
Registered Linux User #79430
------------------------------
From: [EMAIL PROTECTED] (Steve Ackman)
Subject: Re: RPM 4.0 on SuSE 7.0 ?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 25 Jan 2001 13:16:23 -0500
On Thu, 25 Jan 2001 18:11:42 +0100, <[EMAIL PROTECTED]> wrote:
>
>Hi!
>
>Is it possible to install RPM v4 on a SuSE 7.0? Will this create
>any problems with yast/yast2 ? And second, how to do this? The v4 rpm
>package, comes in an rpm that can only be extracted by, guess what,
>RPM v4! yeap! is this a joke or what? and the sources just don't install
>on SuSE!
>
>any ideas?
I believe if you upgrade first to rpm-3.0.5-9.6x, that should
be able to install the rpm 4.x package.
--
Steve Ackman
http://twovoyagers.com
Registered Linux User #79430
------------------------------
Subject: Re: gcc environment question
From: Bill Champlin <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,gnu.gcc.help,linux.redhat
Date: Thu, 25 Jan 2001 18:23:18 GMT
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
in article 948r3u$r78$[EMAIL PROTECTED], [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote on 1/19/01 2:41 AM:
> Hi,
>
> After being forced to build gcc-2.95.2 from source (to replace
> Redhat's buggy gcc-2.96), I can only get it to run if I add
>
> -L/usr/lib/gcc-lib/i386-redhat-linux/2.96/
> and
> -I/usr/include/g++-3/
>
> to the command line options. This is a bit of a drag when compiling
> other people's code (have to edit Makefile, etc.).
>
> I tried adding
> LD_LIBRARY_PATH=/usr/lib/gcc-lib/i386-redhat-linux/2.96:$(LD_LIBRARY
> _PATH) export LD_LIBRARY_PATH
>
> to ~/.bashrc and `re-sourcing` to get rid of the first option.
> Doesn't help. As to the second option (include files directory),
> I'm completely clueless.
>
> What can I do?
>
> Thanks in advance.
>
> Wroot
>
>
> Sent via Deja.com
> http://www.deja.com/
I have a feeling that your problem isn't with gcc I think you are
trying to compile C++ source as C -- I had a similar (almost exact)
problem with not finding certain libs and header files (specificaly
iostream) if you don't have it gett C++ (came with my dist), the
command line arguments are the same as gcc.
I use.
c++ -Wall -o [out file name] [source file name .cxx]
- -Wall gives compiler warnings
- -o outputs to a seperate file
obviously you can use what ever options you like
(note that it wont accept a source file with .cpp ie Microsoft Visual
C++ source)
and it works like a charm.
in my distrubution you can use either the .h or newer no extention
names in your include statments of your source.
type c++ --help and you should find out both if you have c++ and get
some info on it
=====BEGIN PGP SIGNATURE=====
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOnBu3mofqHlVdbepEQKurgCgvrVTmDjq0mtOuuHcwlbmLSDXsYQAnj+K
lsmdNFY4nVMYjq4sJ8wVTFJL
=Xl3z
=====END PGP SIGNATURE=====
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Netware for linux?
Date: Thu, 25 Jan 2001 18:17:57 GMT
In article <94pk54$12s$[EMAIL PROTECTED]>,
"Jan Vandesompele" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> does anyone know of a good netware client program under Linux?
>
> Kind Regards
> Jan Vandesompele
>
>
See the Caldera site (www.calderasystems.com).
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: Making a bootable CD.
Date: Thu, 25 Jan 2001 19:38:43 +0100
> Since much has happened lately, I think it may be easy to now make a
> bootable CD, which conatins a relatively full Linux installation
> ( not with X, but most basic command line tools etc. ) so that one can
> make a very powerful recovery CD which does not limit one to the
> problems of eing stuck using "cut down" utilities?
Don't multipost.
crosspost if you *must* address mulitple NG's
Eric
------------------------------
From: Simon Kesenci <[EMAIL PROTECTED]>
Subject: Re: Konqueror speed
Crossposted-To: alt.os.linux,alt.os.linux.mandrake,comp.windows.x.kde
Date: Thu, 25 Jan 2001 18:43:03 GMT
You will find the configure scripts in the top levels of the KDE source
trees.
--S.
Deltones wrote:
>
> >First, scrap Mandrake, it is a piece of junk, from experience(at least
> >Mandrake 7.1), and it does not upgrade well or easily. Grab the
> >sources off KDE's web site and edit the configure files in all the
> >directories replacing the "-O2" flags with "-O3" flags.
>
> Justin,
>
> So far, the only thing I've ever compiled on my linux box is the Kernel.
> Did so by following recommended instructions. I'm interested in trying
> to compile KDE myself, but I'm wondering about those configure
> files. What are the names of these files you're talking about where I
> can replace those flags?
>
> TIA
>
> Deltones
>
>
> Sent via Deja.com
> http://www.deja.com/
--
Coito ergo cum.
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Partition overlapped
Date: Thu, 25 Jan 2001 19:46:03 +0100
>
> > I was not referring to overlapping partitions, but to the wrong ordering
> > of partitions.
> > hda5 and hda6 are swapped.
>
> There's nthing wrong with that.
Not with linux.
Other OS's may have another opinion (try BeOS)
> > I know *how* it can be done, but I can't understand *why*
>
> Why not? It doesn't matter, until you try and use a too-dumb partition
> editor on it!
Or another OS.
Besides that, it can be confusing.
I've heard stories of people that had problems with this.
mkfs thought of a different numbering scheme than fdisk.
(well it was done after changing a table with fdisk and without rebooting)
The guy claimed though that even after a reboot the strange difference
continued.
I wasn't able to reproduce the result though, but in this case,
I prefer to be on the safe side.
Eric
------------------------------
From: Cubic Meter <[EMAIL PROTECTED]>
Subject: Re: GIMP Print Prob.
Date: Thu, 25 Jan 2001 13:55:26 -0500
Reply-To: [EMAIL PROTECTED]
Steve Ackman wrote:
> On Thu, 25 Jan 2001 12:07:29 -0500, Cubic Meter <[EMAIL PROTECTED]>
> wrote:
> >Every time I try to print an image from GIMP, I get page after page of
> >"S8W-!" What is this and how can I fix it? I mean, the whole page is
> >filled with line after line of S8W-!, and it will print for as long as I
> >let it. Please help.
>
> Does this problem only exist in GIMP, or does it also occur
> in other apps... Netscape, for instance.
> Have you successfully printed the test pages from printtool?
>
Every other app I print from works fine, and the test print tool works
fine too. It is only in GIMP. It is driving me nuts. Thanks.
m^3
------------------------------
From: "Chris Coyle" <[EMAIL PROTECTED]>
Subject: Re: Suche programm, dass prozesse ueberwacht unt gegebenfalls neustartet
Date: Thu, 25 Jan 2001 14:08:59 -0500
Thanks Sebastian,
If Bernhard wants to make sure some processes are always running,
he can do what we do here, which is - for each such process,
set up a cron job which runs a little shell script every n minutes.
The script looks for the process, and restarts it, if necessary.
For instance, if you have a daemon named "foo", for which you need
to maintain less than 5 minutes down-time, make a cron entry like this:
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /home/chrisco/bin/restart-it
The script "restart-it" would look something like this:
#!/usr/bin/bash
if [[ -z $(ps -ef | grep 'foo' | grep -v grep) ]]
then
nohup /home/chrisco/bin/foo &
fi
"Sebastian Hans" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Chris Coyle wrote:
> >
> > Entschuldigen Sie mich - Ich kann nicht Deutschen lesen (Ich verwende Babelfish)
> > Ich denke, da� was ben�tigen Sie, ist "top".
>
> He's looking for a program that watches (or supervises?) and
> restarts processes when it's necessary - whatever that means.
> Suggestion: top to watch them, a wrapper-script to restart, whenever
> the process shuts down.
>
> > "Bernhard Strathewerd" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
> > > Hallo!
> > >
> > > Ich suche ein Programm, dass Prozesse ueberwacht unt gegebenfalls
> > > neustartet.
> > > Ueber Tips waehre ich sehr dankbar!
>
> Mit "top" koennen Sie Prozesse ueberwachen, aber nicht neu starten.
> Wahrscheinlich waere die einfachste Loesung ein Wrapper-Skript fuer
> den Prozess, der ihn neu startet, wenn er sich beendet.
> Vielleicht so was wie:
>
> #!/bin/bash
> while true; do irgendeinprogrammaufruf; done
>
> HTH
> seb
> --
>
> / sebastian seb hans \ www.crosswinds.net/~sebh / attention this msg \
> | student of comp sci \ yes is no and no is ns / will destroy itself |
> \ techn univ of munich \ [EMAIL PROTECTED] / in one second .. rip /
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: Volume Manager software for Linux
Date: Thu, 25 Jan 2001 19:01:38 +0100
JP wrote:
>
> Is there any volume manager software (such as HP's LVM, or the more standard
> (??) veritas based like SUN and Sequents (IBM) offerings that can run on
> Linux 2.2.x / 2.4.x
Try http://www.sistina.com/lvm/ Btw. this comes with standard 2.4
kernel.
--
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Puzzling messages when running dmesg...
Date: Thu, 25 Jan 2001 14:35:49 -0500
I was investigating something else, and I ran dmesg by mistake (I
intended to just cat /var/log/dmesg), and got a very long string (168
lines) of messages that all say the same thing:
VFS: Disk change detected on device ide0(3,0)
VFS: Disk change detected on device ide0(3,0)
This is the CD-ROM entry from /dev:
brw------- 1 jdbeyer disk 3, 0 May 5 1998 hda
What is it trying to tell me? AFAIK, the only device I have on ide0 is
the CD-ROM drive, and I have not had a disk in there in a couple of
days.
My hard drives are on an Ultra-2 SCSI controller.
"The only change I have made" recently is to re-install Linux, upgrading
from R.H.L. 6.0 to R.H.L.6.2.3. I admit this is a considerable change,
and maybe this means nothing (system seems to be working), and these do
not appear in the /var/log/messages file.
I do notice when I run xosview, that IRQ14 blinks about once a second,
and IRQ14 does claim to be for IDE0. When running R.H.L.6.0, I never
noticed IRQ blinking in xosview. But for whatever reason it blinks, it
is surely not writing on the CD-ROM.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 2:15pm up 10 min, 4 users, load average: 0.90, 0.47, 0.21
------------------------------
From: Sinner from the Prairy <[EMAIL PROTECTED]>
Subject: Re: Need a Browser
Date: Thu, 25 Jan 2001 14:37:58 +0000
Jan Schaumann wrote:
> > > Which OS do you use that you can use wget, lynx AND IE? (Does wget run under
> > > cygwin?)
> > Linux, of course.
> > Check http://www.geocities.com/sinner_prairy/wine/IExplorer5-02.jpg
> Brrrrr.... *shudder*
> Why run Linux and then use IE?
Well, when a dumb*ss dessigns a page that you *must* see, now you can go
and check it out. Or as a way to D/L a service pack for your crashed
windows partition from IExplorer-only web-pages.
Also, as a way to test WINE and hekp in its development.
Salut,
Sinner
--
http://www.geocities.com/sinner_prairy
[MaDuiXa PoWeR] http://www.maduixa.net
__________________
|\ Linux User # 89976
=====Sinner==== >=--[]>- a Mach 2.5!! Running on Mandrake 7.2
__________________|/ Linux Machine # 38068
------------------------------
From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: Help Cant work in Gnome
Date: Thu, 25 Jan 2001 20:41:33 +0100
It probably has nothing to do with gnome.
You should read up on this stuff.
What you describe sounds like wrong monitor/graphics card settings
These are issues of X.
Run Xconfigurator and fix it.
Don't overdrive your monitor/graphics card.
If Xconfigurator gives problems, you can also try xf86setup or xf86config
Eric
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Somebody create a How-To on upgrading to Kernel 2.4, please !
Crossposted-To: comp.os.linux.setup
Date: Thu, 25 Jan 2001 19:48:23 GMT
In comp.os.linux.misc Arctic Storm <[EMAIL PROTECTED]> wrote:
: seem to have greater insight and better understanding of the spirit of
: Linux. Let me explain to you. The intension of Linux is to provide a
: reliable/dependable product for productivity and utility, for *everyone*; to
: help and serve the general public.
It is also intended for people to adhere to the mantra that "God Helps Those
Who Help Themselves". It is, always has been, and will continue to be
expected that people try their darndest to help themselves out before coming
and seeking help. And, since it shouldn't be rocket science to upgrade
your kernel, perhaps the belief on the part of that poster was that you
didn't exactly do your darndest.
So no, it isn't for "everyone", it is for "everyone who wants to put effort
forth".
--
Jeff Gentry [EMAIL PROTECTED] [EMAIL PROTECTED]
SEX DRUGS UNIX
------------------------------
From: Rob Reid <[EMAIL PROTECTED]>
Subject: Re: Record tape -> Linux -> mp3?
Date: Thu, 25 Jan 2001 18:47:51 GMT
"Bill" == Bill Unruh <[EMAIL PROTECTED]> inscribes:
Bill> In <[EMAIL PROTECTED]> Rithban <[EMAIL PROTECTED]> writes:
Bill> ]I have a couple of speaches on cassette that I would like to make
Bill> into ]mp3s as the tapes are starting to die. The problem that I have
Bill> is trying ]to record off of a tape player hooked up to the sound
Bill> card. How can I ]record directly to a file instead of to memory? The
Bill> speaking goes on for ]about an hour.
Bill> ]Speach isn't a high bandwidth item, so this shouldn't be hard. I'm
Bill> just ]blind and can't find the right place to start.
Bill> Use programs like gramofile or gnoise to record the stuff through
Bill> your sound card to disk. Then run that file through mp3.
You probably already have sox, the swiss army knife of uncompressed sound,
which has a frontend (on my redhat system) for recording called "rec", i.e.
rec -r 48000 -c 2 -s w speech.wav
-c 2 = stereo (1 for mono)
-s w = 16 bit recording
-r 48000 = 48 kHz sampling, overly high for humans, ridiculously so for analog
tape, but it makes lame go faster when crunching it down to an mp3
because it doesn't have to resample.
------------------------------
From: "Phar Awei" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Somebody create a How-To on upgrading to Kernel 2.4, please !
Date: Thu, 25 Jan 2001 20:09:46 GMT
For REDHAT from REDHAT
3. The Upgrade
We should now be ready to actually upgrade the kernel RPMs and related
packages. You will need to be logged in as root to execute all of these
commands.
3.1 Non Kernel Packages
First, I will upgrade the non-kernel packages. On a Red Hat Linux 5.2
system, you would type something similar to
rpm -Uvh mkinitrd*rpm SysVinit*rpm initscripts*rpm
3.2 Kernel Source Packages
Note: Unless you do development work, you do not need to install or upgrade
these packages.
Next, you should upgrade the kernel-headers and kernel-source packages.
These packages take up a lot of room, and unless you are a deep kernel
hacker, you probably do not need multiple copies of the source around.
# rpm -Uvh kernel-headers-2.0.36-1.i386.rpm kernel-source-2.0.36-1.i386.rpm
kernel-headers
##################################################
kernel-source
##################################################
If you receive errors when upgrading the kernel-headers file, it is due to
the fact it couldn't find a directory to remove but everything else should
work ok.
3.3 Kernel and Modules
The final task to do with RPM is to install the new kernels. We do an
install instead of an upgrade as an added safety step. By not removing the
old kernel and modules, you should be able to boot back into the old version
if you need to. Again, on my example machine,
# rpm -ivh kernel-2.0.36-1.i386.rpm kernel-ibcs-2.0.36-1.i386.rpm
kernel-pcmcia-cs-2.0.36-1.i386.rpm
kernel
##################################################
kernel-ibcs
##################################################
kernel-pcmcia-cs
##################################################
You may find out that there are conflicts between the old and new
kernel-pcmcia packages. To get around this error you can either force the
install, or upgrade the package (Note: You can't use the old kernel with
PCMCIA if you upgrade the package.)
# rpm -ivh --force kernel-pcmcia-cs-2.0.36-1.i386.rpm
kernel-pcmcia-cs
##################################################
3.4 Initial RAM disk
The final steps of the upgrade are to make the initial RAM disk for your
machine, and to manipulate LILO to boot the new kernel. These steps will
require you to edit the /etc/lilo.conf file.
The purpose of the initial RAM disk is to allow a modular kernel to have
access to modules that it might need to boot from before the kernel has
access to the device where the modules normally reside. Thus, you end up
with a chicken and egg problem, where you need a driver to talk to the
hardware where the driver resides on. This problem normally occurs on
systems with SCSI controllers.
To make this RAM disk, you will first need to find out what the kernel in
/boot is called and then use the mkinitrd command.
To find out what the kernel we need to link against, we will list the /boot
directory, and look for what kernels are installed. The Red Hat kernel RPM
install should create a symbolic link from the file /boot/vmlinuz to the
kernel that it installed. Also see the section on lilo.conf above.
# ls -l /boot/vmlinuz*
lrwxrwxrwx 1 root root 16 Dec 2 18:31 /boot/vmlinuz ->
vmlinuz-2.0.36-1
-rw-r--r-- 1 root root 454325 Oct 13 22:41
/boot/vmlinuz-2.0.36-0.7
-rw-r--r-- 1 root root 454349 Nov 17 13:11
/boot/vmlinuz-2.0.36-1
In the above example, the kernel is /boot/vmlinuz-2.0.36-1 and we can feed
this data to the mkinitrd command.
# mkinitrd /boot/initrd-2.0.36.img 2.0.36-1
# ls -l /boot/initrd-2.0.36*
-rw-r--r-- 1 root root 210885 Nov 20 09:57
/boot/initrd-2.0.36-0.7.img
-rw-r--r-- 1 root root 212043 Dec 2 18:47
/boot/initrd-2.0.36.img
We have successfully created the initial RAM disk called
/boot/initrd-2.0.36.img, and can proceed to editing the LILO files.
3.5 Setting up LILO
The last step before rebooting your machine should be editing LILO to find
the new kernel images. This is fairly simple by adding an entry that follows
this template:
image=/boot/vmlinuz-<kernel version goes here>
label=linux-test
root=<your root (/) partition goes here
initrd=/boot/initrd-<kernel version goes here>
read-only
On my Red Hat Linux 5.2 machine, I made the following changes to the
/etc/lilo.conf file.
# cat /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.0.36-1
label=linux
root=/dev/hda9
initrd=/boot/initrd-2.0.36.img
read-only
image=/boot/vmlinuz-2.0.36-0.7
label=linux.old
root=/dev/hda9
initrd=/boot/initrd-2.0.36-0.7.img
read-only
other=/dev/hda1
label=dos
table=/dev/hda
What this did was make the "default" boot kernel the new one I installed. I
also renamed the option for booting the old kernel to be linux.old. On my
system the root partition is /dev/hda9, but this will most likely different
on your machine.
Finally, you need to run the lilo command to write these changes to the boot
sector LILO is installed on.
# lilo -v
LILO version 20, Copyright 1992-1997 Werner Almesberger
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Boot image: /boot/vmlinuz-2.0.36-1
Mapping RAM disk /boot/initrd-2.0.36.img
Added linux *
Boot image: /boot/vmlinuz-2.0.36-0.7
Mapping RAM disk /boot/initrd-2.0.36-0.7.img
Added linux.old
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Added dos
/boot/boot.0300 exists - no backup copy made.
Writing boot sector.
You should be ready to reboot your machine with shutdown -r now and the
system will come up with the new kernel. Remember to remove the rescue
floppy from the drive (which is what I forgot to do when writing this
article).
<[EMAIL PROTECTED]> wrote in message
news:bq%b6.2783$[EMAIL PROTECTED]...
> In comp.os.linux.misc Arctic Storm
<[EMAIL PROTECTED]> wrote:
> : seem to have greater insight and better understanding of the spirit of
> : Linux. Let me explain to you. The intension of Linux is to provide a
> : reliable/dependable product for productivity and utility, for
*everyone*; to
> : help and serve the general public.
>
> It is also intended for people to adhere to the mantra that "God Helps
Those
> Who Help Themselves". It is, always has been, and will continue to be
> expected that people try their darndest to help themselves out before
coming
> and seeking help. And, since it shouldn't be rocket science to upgrade
> your kernel, perhaps the belief on the part of that poster was that you
> didn't exactly do your darndest.
>
> So no, it isn't for "everyone", it is for "everyone who wants to put
effort
> forth".
>
> --
> Jeff Gentry [EMAIL PROTECTED] [EMAIL PROTECTED]
> SEX DRUGS UNIX
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************