Jon Nelson on 19 Dec 2005 20:42:18 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] initrd/udev hell


sean finney said:
> hey jon,
>
> On Mon, Dec 19, 2005 at 12:39:53PM -0500, Jon Nelson wrote:
>> I installed a new kernel (2.6.12-1-k7) via aptitude, which told me to
purge hotplug and install udev.  After doing that the new kernel wont
boot.  The last thing I see on the screen is:
>
> so that's from testing?  from my own experience, udev is something that
you really need to be on the bleeding edge of because bugs are still
being shaken out of it.  also, do you recall what was used to build your
initrd?  specifically, do you recall "yaird" being pulled in with your
new kernel?  i heard about a particularly
> nasty yaird bug leaving people unbootable because the core ide
> drivers weren't being included in the initrd.

Yep.  That's from testing...yaird doesn't come into play until 2.6.14.

>
>> I believe that there is an issue with the initrd image, but I am not sure
>> how to fix it or if it is possible.
>
> i think your best bet is to boot into some kind of live cd: any
> installer cd will probably work, knoppix and the like are even
> better.  from there you can mount all your fs's, chroot into them and
perform whatever maintainance/repair is necessary, such as
> downgrading/upgrading kernel and other packages.
>

I booted to knoppix and:

    # mount /mnt/hda1
    # chroot /mnt/hda1
    # mount /proc

When I tried to uninstall/install anything I would get 'permission denied'
errors in regards to '/dev/null'.  This causes (I think) the postinstall
scripts to fail and the packages aren't configured.

I looked at dpkg(1) especially the --force options but couldn't find
anything to help.

any ideas?

Thanks again,

Jon


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug