building and installing a new kernel makes my system unbootable
Mike McGinn
mikemcginn at mcginnweb.net
Tue Jul 6 14:38:41 UTC 2010
On Tuesday 06 July 2010 10:29:58 Robert P. J. Day wrote:
> 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
>
Then again, a pointer in the right direction will solve your problem. If it
were me , I would not hesitate to ask.
--
Mike McGinn FACOCM
No electrons were harmed in sending this message.
My deeds are my dearest companions. I am the beneficiary of my deeds.
My deeds are the ground on which I stand. ** Registered Linux User 377849
More information about the ubuntu-users
mailing list