View previous topic :: View next topic |
Author |
Message |
Nephlim_rx7 n00b
Joined: 03 Jun 2002 Posts: 18
|
Posted: Sat Jun 08, 2002 7:32 pm Post subject: Kernel Error at Boot. -- Invalid Compression Format (err=1) |
|
|
Well, I fobar'd my kernel.
How do I access my root file system using rescue floppy?
I had recompiled with the intention of adding SCSI support, generic, emulation, ...all that fun stuff to get my burner working. Changed these options from Module to Built In support.
Guess what I failed to do....test the damn thing before copying it over the original bzImage.....However I did back up the orignal bzImage, renaming it to bzImage.orig
recompiled with
# make dep && make clean bzImage modules modules_install
# mv /boot/bzImage /boot/bzImage.orig
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
Reboot the system and received an error = Invalid Compression Format (err=1)
Oh well, you live and you learn.
I have been having troubles getting into my file system after booting with rescue floppy. the floppy boots with my kernel, but attempting to access my root directories to rename the backup kernel image has not proved successful.
Please, can someone lend a hand? Thanks! |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Jun 08, 2002 7:36 pm Post subject: |
|
|
Are you using GRUB? If so, try rebooting and hitting E. You can edit your setup from within the bootloader; just tell it to boot bzImage.orig instead of bzImage. |
|
Back to top |
|
|
Nephlim_rx7 n00b
Joined: 03 Jun 2002 Posts: 18
|
Posted: Sat Jun 08, 2002 9:10 pm Post subject: using lilo |
|
|
Nope, using lilo.
As soon as I choose Gentoo from the lilo menu, i get the error.
I'm entering this post through windows, I'm glad I didnt wipe it out. just yet. Anyway, what I'm looking for are some alternative boot methods. Ive found the "kitchen Sink" of linux boot floppies. Any other help would be appreicated.
Thanks for the info though. I appreciate the reply. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Jun 08, 2002 10:43 pm Post subject: |
|
|
Consider using GRUB; I've found it to be much more flexible (and better overall) than LILO. Just boot off the Gentoo ISO and follow the GRUB instructions in the install guide; you should be set. |
|
Back to top |
|
|
Nephlim_rx7 n00b
Joined: 03 Jun 2002 Posts: 18
|
Posted: Sat Jun 08, 2002 11:34 pm Post subject: right on |
|
|
Right on, thanks. I'll give it a try. |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Sun Jun 09, 2002 9:44 pm Post subject: Re: Kernel Error at Boot. -- Invalid Compression Format (er |
|
|
Nephlim_rx7 wrote: | Well, I fobar'd my kernel.
How do I access my root file system using rescue floppy?
I had recompiled with the intention of adding SCSI support, generic, emulation, ...all that fun stuff to get my burner working. Changed these options from Module to Built In support.
Guess what I failed to do....test the damn thing before copying it over the original bzImage.....However I did back up the orignal bzImage, renaming it to bzImage.orig
recompiled with
# make dep && make clean bzImage modules modules_install
# mv /boot/bzImage /boot/bzImage.orig
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
Reboot the system and received an error = Invalid Compression Format (err=1)
Oh well, you live and you learn.
I have been having troubles getting into my file system after booting with rescue floppy. the floppy boots with my kernel, but attempting to access my root directories to rename the backup kernel image has not proved successful.
Please, can someone lend a hand? Thanks! |
Easiest thing to do in your situation, pop in the gentoo cd, mount your /boot partition, cd /boot, mv bzImage.orig bzImage, cd /, umount /boot, and finally reboot your gentoo system. _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
Nephlim_rx7 n00b
Joined: 03 Jun 2002 Posts: 18
|
Posted: Mon Jun 10, 2002 11:50 pm Post subject: Thanks but... |
|
|
That was the first thing I tried.
even after running lilo and editing the lilo.conf file appropriately.
I finally broke down and reinstalled gentoo. I needed the practice anyway.
But, all set aside, I'm going to back up all my vital files, create bzImage dir's , etc. etc. failsafe the hell out of my system. Ya live and ya learn.
Groovy. |
|
Back to top |
|
|
|