[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: upgrading RedHat
- To: http://www.juno.com/~w1few, http://www.tiac.net/~testlab
- Subject: Re: upgrading RedHat
- From: http://dummy.us.eu.org/robert (robert)
- Date: Thu, 6 Mar 1997 16:32:06 -0800
- In-Reply-To: <19970306.173644.3686.1.http://www.juno.com/~w1few>
- XX-from: http://dummy.us.eu.org/robert (robert)
> From: http://www.juno.com/~w1few (rich)
> Date: Thu Mar 6, 5:32pm
>
>
> On Thu, 6 Mar 1997 11:24:19 -0800 http://dummy.us.eu.org/robert (Robert) writes:
> >
> >Message has been automatically signed by PGPsendmail 1.4,
> >available from ftp.atnf.csiro.au:pub/people/rgooch
> >
> >
> >
> >I got through upgrading RedHat to 4.1. I don't recommend using their
> >way of
> >upgrading RedHat to 4.1 using the floppy unless you have a very
> >reliable
> >CD-ROM drive. Because my CD-ROM drive died in the middle of the
> >upgrade, the
> >hard-disk was completely screwed and I had to reformat it and just
> >reinstall
> >from scratch!
> >
> >Just a warning...
> I'm trying to install RedHat 4.1 on a 1.6 meg hard disk. I'm using a
> Mitsumi CD rom which reads fine. After the floppy and CD loads then it
> reboots and without the floppy in there it types LI and hangs. I'm about
> to go back to Walnut Creek unless you have some ideas. The old hard disk
> with the previous version works fine still so I don't want to write over
> it.
This is precisely the problem I have.
Here's the deal (as H. Ross would say...). You need to re-run lilo on the
hard-drive. Do this by rebooting with the RedHat floppy and type "rescue".
You'll need the supplemental floppy. Once you've got the '#' prompt,
mount the hard-drive:
# mkdir /mnt
# mount /dev/hda1 /mnt
Then, do:
# cp /mnt/etc/lilo.conf /etc
Make sure /etc/lilo.conf looks OK. (One prob I had was that because my second
partition was DOS and wasn't formatted as such, lilo kept failing, so I deleted
that entry.)
Look at /etc/lilo.conf. There should be a couple of files referenced in the
/boot dir. You'll need to copy these. Do:
# mkdir /boot
then copy those files from /mnt/boot to /boot. (Hopefully, you'll have enough
space on the ram drive. Be sure to only copy the files referenced in
/etc/lilo.conf to save space.)
I think I then had to re-create the /dev/hda1 device. To do this, you
need to do
# ls -l /mnt/dev/hda1
brw-r----- 1 root <maj>, <min> Jun 26 1996 /dev/hda1
where "maj" is the major device number and "min" is the minor device
number. After getting those device numbers, do:
# mknod /dev/hda1 b [maj] [min]
Finally, run lilo:
# /mnt/sbin/lilo
Hopefully, lilo will say something like "added vmlinuz" or something. Then,
try rebooting off your hard-drive.
Give me a call at work during the day or at home during the evening or weekend
if you want help.