System broken after upgrade to kernel-3.3.2-1.fc16.i686

Jonathan Ryshpan jonrysh at pacbell.net
Wed Apr 25 17:08:34 UTC 2012


On Mon, 2012-04-23 at 09:39 +0100, Andrew Gray wrote:
> On Sun, 2012-04-22 at 16:49 -0700, Jonathan Ryshpan wrote:
> > I have just upgraded two systems to kernel-3.3.2-1.  One system
> > (x86_64 hardware) upgraded flawlessly.  The other (i686 hardware) now
> > won't boot.  The grub menu comes up allowing me to choose between: 
> >     kernel-3.3.2-1.f16.i686   -- which fails (see below)
> >     kernel-3.3.0-0.f16.i686   -- which works
> > When I choose kernel-3.3.2-1, there is what seems like an
> > exceptionally long pause, the system briefly displays some garbage,
> > and then these messages appear:
> > 
> >         dracut warning no root device
> >         "block:/dev/disk/by-uuid/2d...af"  found
> >         
> >         dracut warning no root device
> >         "block:/dev/disk/by-uuid/2d...af"  found
> >         
> >         dropping to debug shell
> >         
> >         sh: 0 can't access tty:  job control turned off
> >         
> >         dracut:/#
> > 
> > In fact, as blkid shows the device (partition) that the system appears
> > to be looking for is not there.  However all the partitions that
> > should be on the system are there, including the partition that is
> > normally mounted on /boot.  Which must be so, since the previous
> > kernel starts OK.
> > 
> > Questions: 
> >      1. What's going on here? 
> >      2. How can I fix it? 
> >      3. How can I prevent this in the future?
> > 
> > Many thanks - jon
> > 
> > 
> On your failing I686
> Note I show you the file names as on my x86_64 F16 
> 
> I suggest you look at /boot and the sizes of the *.img files for the
> kernels. If the initramfs-3.3.2-1.fc16.x86_64.img is smaller than the 
> initramfs-3.3.1-5.fc16.x86_64.img it kernel 3.3.2-1 didn't install
> properly. 
> 
> I had this a kernel upgrade earlier and fixed it with by reinstalling 
> the kernel it get it to create a proper initramfs file
> 
> yum reinstall kernel-3.3.2-1.fc16.i686 
Reinstalling the kernel didn't work.  However running grub2-mkconfig to
generated a new grub.cfg file that appears to work properly.  The source
of the trouble appears that when the kernel is upgraded a new grub.cfg
is created with an incorrect UUID for the root device; this UUID doesn't
appear to have any connection with the UUID of any device on the system.
More to follow if I have trouble with the next kernel upgrade.

jon




More information about the users mailing list