Adam,
On Thu, 20 Sep 2001 15:30, Adam Vaughan wrote:
> Both kernels are the ones that came of the disk. Windows 200o was
> installed first the redhat 7.1 the Redhat 7.0.
>
> image=/boot/vmlinuz-2.2.16-22
>
> That line would be fine. But I am trying to get the images from
> another partition it's not in that /boot directory. It's in a /boot
> directy but in the hda7 (Redhat 7.0) not in hda5 (Redhat 7.1). All I
> can boot into at the moment is hda5 until I can some how work out how to
> get the image file to load in lilo.conf file.
You can mount the filesystem on /dev/hda7 to a directory on your existing
linux partition.
first, create the directory where you wish to mount it.
mkdir /mnt/rh70
then mount it
mount -t ext2 /dev/hda7 /mnt/rh70
then just cd to the /mnt/rh70/boot directory and see what your image is
called. I presume that's all you wanted to know?
You should then add the lines to /etc/lilo as Andy previously posted.
Also, you do realise you must run /sbin/lilo to update your boot table after
modifying /etc/lilo.conf right?
BTW, i find it good houskeeping to make a symlink from /boot/<vmlinuz image>
to /vmlinuz, and also for System.map. That way if you ever upgrade your
kernel you never need to modify lilo.conf to reflect, since you'd have
image=/vmlinuz
Cheers,
Grant
--
Kaufman's First Law of Party Physics:
Population density is inversely proportional to the square of the distance
from the keg.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug