On Sun, 2001-09-09 at 15:06, David Guntner wrote:
> So, despite my best efforts to reverse my mistake (and thanks again to 
> those who replied with helpful suggestions - I did learn a bunch of things 
> from them), it looks like I get to reinstall from scratch again after all.  
> Dammit.  What's annoying about it is that it's sooo bloody time consuming, 
> and with the 8.1 final release coming up, I hate to have to go through this 
> so close to the next install. :-)

What I ended up doing was copying the kernel from the rescue floppy
(actually the MDK8.0 install floppy) onto /boot, then pointing lilo.conf
to that kernel.  From there I was able to boot up enough to be able to
compile 2.4.9 from source (I had previously downloaded it).  I compiled
Reiserfs into the kernel (as opposed to as a module, which is what the
Mandrake kernel RPMs do).  From there I was mostly back up and running.

Here's a quick synopsis (from memory, so it may not be perfect).

1.  Boot the MDK 8.0 installation floppy, hit F1 and boot the "rescue"
option.
2.  Mount your /boot and /etc partitions (use symbolic links as
necessary).
3.  Copy the kernel from the floppy onto your HD and update lilo.
4.  Reboot--you should be able to at least boot up, but X may or may not
start.

> One thing, though, which hasn't been adequately explained to me:  By what 
> magic does depmod know *which* of the directories under /lib/modules to 
> pull from?  How does it know which version of the kernel that you're 
> running?  Does anyone know the answer to this mystery? :-)

Well, uname -r gives the running kernel version.  I assume depmod does
something along those lines to figure out what to use.

> 
> >     I'm still having the problem with being unable to generate a ramdisk
> > using my 2.4.9 kernel (sounds like it's the same problem you have).  If
> > you find a resolution to that, I'd be very interested in hearing about
> > it.  I haven't had time to try to track it down.
> 
> You're talking about the initrd.img file, or something else?

That's what I'm talking about.  I can't generate one from my current
kernel that I compiled.  It complains about not finding the reiserfs
modules, even though I don't have reiserfs compiled as a module.  It
must be looking for some other file left over from a MDK kernel RPM, but
I haven't had time to figure it out yet.

Dan





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to