building and installing a new kernel makes my system unbootable

Robert P. J. Day rpjday at crashcourse.ca
Tue Jul 6 14:29:58 UTC 2010


On Tue, 6 Jul 2010, Markus Schönhaber wrote:

> 06.07.2010 15:52, Robert P. J. Day:
>
> > $mount
> > /dev/mapper/lynx-root on / type ext4 (rw,errors=remount-ro)
> > ... snip ...
> > /dev/sda1 on /boot type ext2 (rw)
> > ... snip ...
> >
> > and, unsurprisingly, the boot-time failure states that the kernel
> > can't open root device "mapper/lynx-root" so this tells me that,
> > somehow, i haven't built device mapper support into my initrd or
> > something like that.
> >
> >   does this look familiar to anyone?  what probably trivial step have
> > i forgotten to do?  thanks.
>
> I don't know. I always put my root file-system on LVM and can't
> remember having had any problems with that - neither with
> Ubuntu-provided nor with self-built kernels.

> The system you do update-initramfs on must have lvm2 installed, of
> course. Maybe re-installing it helps?

  it seems to be installed just fine, and it *must* be working fine
since the ubuntu apt-get-installed kernels work properly and can mount
that root filesystem, it's only my hand-rolled kernel that can't.

  i might break down and ask on the ubuntu kernel mailing list, even
though i really don't want to bug them about something that's going to
turn out to be trivial. :-(

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the ubuntu-users mailing list