wrecked my rh6 boot up

wrecked my rh6 boot up

Post by thn.. » Fri, 08 Oct 1999 04:00:00



No I didn't create a rescue disk :-(

I recompiled my kernel and blindly configured lilo to use the new image
without adding a section to load the old image.

So I get Kernel panics when trying to boot my system.

I've tried copying the original kernel image that RH6 installed to my
Loadlin directory but Loadlin doesn't want to know about the default
image because it says it isn't one :-)  The default image installed by
RH6 is about 1.4 meg and I gather it is not compressed.

Is there anyway for me to load this 'original' image using loadlin ?

I don't want to reinstall again, as it took me ages to get things right
this time.

BTW: why is the originally installed image so large ?  The image i
created by compiling my kernel is just under 400K

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

wrecked my rh6 boot up

Post by Cameron L. Spitz » Fri, 08 Oct 1999 04:00:00



>No I didn't create a rescue disk :-(

>I recompiled my kernel and blindly configured lilo to use the new image
>without adding a section to load the old image.

>So I get Kernel panics when trying to boot my system.

>I've tried copying the original kernel image that RH6 installed to my
>Loadlin directory but Loadlin doesn't want to know about the default
>image because it says it isn't one :-)  The default image installed by
>RH6 is about 1.4 meg and I gather it is not compressed.

>Is there anyway for me to load this 'original' image using loadlin ?

Go to
ftp://ftp.cdrom.com/pub/linux/debian/dists/stable/main/disks-i386/cur...
and get
resc1440.bin  and rawrite2.exe

Use rawrite2 to write the Debian Rescue Disk image on a floppy.
Boot the floppy to the first prompt.  At the prompt, type

  linux root=/dev/hda2

or whatever partition your root FS is on.  Next time don't let Red Hat's
automation mess with your Lilo config.

Cameron

 
 
 

wrecked my rh6 boot up

Post by Dave Sonenber » Fri, 08 Oct 1999 04:00:00


You can use use your originall boot disk to boot and at the lilo prompt
type:

vmlinuz root=/dev/hda2
or what ever disk your root partition is on.

from there I would suggest making a new kernel and installing that(your
system can't get worse at this point).  By making a new kernel you can
probably make it smaller and hense faster.  You can also use a premade
kernel but that tricky, you need to get the correct modules associated
with that kernel.  Either way you going to need to edit /etc/lilo.conf to
point to the correct information and then run /sbin/lilo.  As for the size
of the kernel that's probably do to compression, make zImage uses gzip
compression and make bzImage uses bzip2 compression.  If all else fails
you might want to trying doing the redhat upgrade option.

good luck

--
David Sonenberg
System Administrator
Webfacts, Inc.

 
 
 

wrecked my rh6 boot up

Post by thn.. » Fri, 08 Oct 1999 04:00:00



Quote:> Go to
> ftp://ftp.cdrom.com/pub/linux/debian/dists/stable/main/disks-
i386/current/
> and get
> resc1440.bin  and rawrite2.exe

> Use rawrite2 to write the Debian Rescue Disk image on a floppy.
> Boot the floppy to the first prompt.  At the prompt, type

>   linux root=/dev/hda2

Yes, the Debian rescue disk worked great with
 rescue root=/dev/hdc3
I was able to reinstall another kernel using rpm.

Maybe each Redhat distribution could come with Debian on a spare disk
for just such a purpose ;-)

Sent via Deja.com http://www.deja.com/
Before you buy.