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

Bug#783620: initramfs-tools: initramfs broken on first boot into Jessie, "Unable to mount root fs on unknown-block(0, 0)"



On Thu, 2015-04-30 at 09:41 +0200, Bernhard Schmidt wrote:
> Hi maximilian,
> 
> >> [ copied from debian-user again ]
> >>
> >> ---
> >> Got another system with the symptoms and managed to get a snapshot.
> >>
> >> It is really extremely weird. The kernel output is
> >>
> >> List of all partitions:
> >> No filesystem could mount root, tried:
> >> Kernel panic - not syncing: VFS: Unable to mount root fs on
> >> unknown-block(0,0)
> >>
> >> This is reproducible. To fix it it is enough to boot into the Wheezy
> >> kernel (even with init=/bin/sh), then reboot. It apparently does
> >> something to the root-fs (fsck?) which allows the Jessie kernel to boot.
> >>
> >> I have asked our Windows guys to make a screencast, it is uploaded here.
> >>
> >> http://users.birkenwald.de/~berni/volatile/783620.mkv

I can see that the GRUB menu entry for 3.16.0-4-amd64 does seem to
include an initramfs.  Unfortunately the frame rate is quite low so I
don't see any messages from GRUB indicating whether it succeeded or
failed to load the file.

> >> We still have the snapshot available, if you have an idea please drop me
> >> a note.
> > 
> > this means linux didn't get the initramfs passed by the bootloader.
> > 
> > In the old days this happened when lilo was not run, these days it could
> > be some grub modules out of sync (very wild guess).
> > did you try before botting into that image to run install-grub in it?
> 
> I don't have access to the snapshot until Monday, but I don't think it
> will help. As you can see in the video a simple fsck/mount in initrd in
> the old kernel is enough, and grub isn't touched there.

fsck.xfs does nothing (see the manual page).  Mounting the filesystem,
however, will replay any changes that were only written to the journal
and not yet written to their usual locations on disk.

Is it possible that this system was not cleanly shut down following the
upgrade?  I don't think that GRUB reads journals so this would probably
explain what you've shown.

Ben.

> But I'll test on Monday to be sure.
> 
> Bernhard
> 

-- 
Ben Hutchings
Q.  Which is the greater problem in the world today, ignorance or apathy?
A.  I don't know and I couldn't care less.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: