----- Original Message ----

From: Alan McKinnon <alan.mckin...@gmail.com>
> On Saturday 28 November 2009 18:31:04 BRM wrote:
<snip>
> > I do have sources for linux kernel 2.6.30-gentoo-r8 available, but then I
> >  need to be able to write to the read-only fs. Guess I could probably do
> >  that using the kernel command-line, no? (Haven't done that before, so I'm
> >  not sure what the correct option would be.)
> Before these troubles started, did you build a 2.6.30 kernel? If so, you can 
> just boot it, editing the grub command line at boot time as necessary.

Unfortunately not. I have been thinking lately that I should upgrade to a new
kernel - but I don't get around to it very often. So this is probably a good
opportunity to do so.

> If not, fixing it is quite trivially easy: Get a copy of any recent liveCD or 
> rescue image that you can boot, and boot into it. It will find your drives 
> using whatever conventions it uses, and let you mount your gentoo partitions 
> just like you would do with installs. chroot lets you test stuff and you can 
> also use the compiler on the rescue disk to build a new kernel and store it 
> in 
> /boot
> Then boot into that new kernel, everything ought to start properly, and 
> immediately rebuild that kernel using your gentoo system compiler. Along the 
> way you might have to edit your fstab to use sda devices instead of hda ones.

Thanks! That seems to be a good plan. I built it earlier, but for some reason
grub won't boot it - perhaps b/c I gzip compress the kernel (kernel option)?
Not sure. Going to figure it out though.

Right now, I'm using a vintage 2007 live CD; but chrooting over to the 
partitions
on the hard drive. I don't have network since it won't recognize the firmware
needed for my wireless (b43legacy driver). Perhaps I'll try a newer image...

> btw, this is exactly the reason why user-oriented distros like Ubuntu mount 
> system partitions using the fs GUID, not the kernel device name. It gets 
> around this kind of trouble quite elegantly

May solve some headaches, but it also creates an equal number of others - like 
identifying
the partition that matches the GUID.

Thanks!

Ben


Reply via email to