Failure to mount root filesystem, cause unknown

Bug #67256 reported by Christopher Armstrong
30
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This report and its comments describe symptoms of a problem wherein the root filesystem is not mounted after a kernel upgrade.

It is unlikely that they share a common cause, and further analysis is needed to isolate the problem(s).

Revision history for this message
Christopher Armstrong (radix) wrote : Re: [Bug 67256] Re: "-generic" kernel doesn't boot after upgrade to Edgy prerelease (but -386 does)

Thanks for allocating this appropriately.

So, I fixed the booting problem with the following command:

sudo update-initramfs -u -k 2.6.17-10-generic

I'm not sure what this implies. I made a backup of the previous initrd
image in case it would be useful for the bug report. Just say the word
and I will upload it.

--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/

Revision history for this message
Ben Collins (ben-collins) wrote : Re: "-generic" kernel doesn't boot after upgrade to Edgy prerelease (but -386 does)

Please go ahead and attach the problematic initrd.gz to this bug report.

Thanks

Revision history for this message
Christopher Armstrong (radix) wrote :

Ok, here it is. The file is brand new as of Thursday, and that's when it was last modified: Thursday was when I upgraded to edgy using update-manager.

Revision history for this message
Frodon (frodon) wrote :

Same problem here.
But "sudo update-initramfs -u -k 2.6.17-10-generic" don't help because the initramfs script don't even seem to exist for me.

You may need (like me) to create it before running the "sudo update-initramfs -u -k 2.6.17-10-generic" command :
sudo mkinitramfs -o /boot/initrd.img-2.6.17-10-generic 2.6.17-10-generic
sudo update-grub

A new initramfs-tools package has been released today, will test if it solve the problem.

If you need assistance on this feel free to contact me : <email address hidden>

Revision history for this message
Frodon (frodon) wrote :

Just for the record and for those who have the problem, here is how i solved it :
http://ubuntuforums.org/showthread.php?t=282956

Revision history for this message
Wil Clouser (ubuntu-bugzilla-micropipes) wrote :

I ran into this problem as well, and Froden's steps worked for me, except I had to manually run 'depmod' before I rebooted or I got:

FATAL: Could not load /lib/modules/2.6.17-10-generic/modules.dep: No such file or directory

Revision history for this message
hotani (hotani) wrote :

Had the same problem, the fix posted above got mine working again too.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Scott, this sounds like the problem you were describing last week regarding the sort order used by update-initramfs.

Changed in initramfs-tools:
assignee: nobody → keybuk
Revision history for this message
Adam Dunn (dunnadam) wrote :

Had the same problem here. Ran a combination of Frodon's and Christopher Armstrong's scripts:

sudo update-initramfs -u -k 2.6.17-10-generic
sudo update-grub
sudo aptitude reinstall linux-restricted-modules-2.6.17-10-generic

Now everything seems to be running fine. Thank you!

Revision history for this message
Pierre Buyle (mongolito404) wrote :

I had the same problem on Edgy freshly updated from Dapper.
Booting from the i386 kernel and running "sudo update-initramfs -u -k 2.6.17-10-generic" solve it.

Revision history for this message
Philip Aston (philipa) wrote :

Same problem and

  sudo update-initramfs -u -k 2.6.17-10-generic

worked for me too. Thanks for the suggestion.

Revision history for this message
Konstantinos Togias (ktogias) wrote :

Same problem here, on a PIII@450MHz/768MB RAM/ASUS P3BF

   sudo update-initramfs -u -k 2.6.17-10-generic

worked for me too.

Revision history for this message
Mike Stedman (ravuya) wrote :

Had this problem on a dual P3/733, 256MB RAM, Compaq AP550 workstation with Intel reference board.

I upgraded from -386 to -generic by installing the linux-kernel-generic package and changing my grub config.

The update-initramfs method worked for me as well.

Revision history for this message
tjacques (thomas-jacques) wrote :

Same problem here, on a AMD64 X2 3800+ / DFI nForce4 mobo

   sudo update-initramfs -u -k 2.6.17-10-generic

worked like a charm, thanks for the fix

Changed in initramfs-tools:
assignee: keybuk → ubuntu-kernel-team
Revision history for this message
pablo.verges (pablo-soofa) wrote :

sudo update-initramfs not only works for edgy... it works for feisty fawn too!

i had the same problem over here with my 2.6.20-15-generic kernel, after updating initramfs ($ sudo update-initramfs -u -k 2.6.20-15-generic) everything worked fine...

i wonder why this bug still exists on feisty

Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

Confirming this bug, it is still happening on Gutsy RC. Difference was I did a fresh installation, so no backup kernel to fall back to. Booted from the LiveCD, chrooted into the installation and then ran the commands specified here followed by depmod. Finally I'm able to boot into Ubuntu properly without this error.

Changed in initramfs-tools:
status: New → Confirmed
Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

This error still shows up on Gutsy Final, but now only once in a while. When it drops me to the shell I reboot, and almost all the time it boots properly. If it doesn't, I reboot again until it finally boots.

Please let me know if I can provide any information to help fix this.

Revision history for this message
tostis (tostis) wrote :

it's the same with gutsy but running "update-initramfs -u" doesn't solve the problem

Revision history for this message
tostis (tostis) wrote :

i solved changing /dev/sda2 with /dev/mapper/something2 both in grub and fstab

Revision history for this message
zahris (noorzein) wrote :

sori i'm a newbie... what do you mean by changing

"/dev/sda2 with /dev/mapper/something2" ????.......

i can't find the path "/dev/mapper/" should i make one?
i'm having the same problem for my notebook ACER 4520.. and hoping to fix it immediately...

thanks b4

Revision history for this message
Stryker777 (stryker777) wrote :

Same problem with Acer 5520-5912 AMD64x2 with nVidia chipset, GeForce7000M video.
I have tried the above solutions and nothing has helped so far. Same problem in Gutsy RC fresh install and upgrade from feisty. Original Feisty did not have issue, but first kernel update caused the same problem.
Thanks.

Revision history for this message
Stryker777 (stryker777) wrote :

Sorry, one more thing. I have installed 386 with gutsy and it works fine. Only the Generic does not work.

Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

It appears this bug is affecting almost everyone using Acer Aspire 4520.
The following thread has a number of users reporting the freeze-during-boot issue:
http://ubuntuforums.org/showthread.php?t=510352&page=10

Can something be done about it? It's a bit annoying, even though it doesn't happen all the time.

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 67256] Re: "-generic" kernel doesn't boot after upgrade to Edgy prerelease (but -386 does)

On Fri, Dec 21, 2007 at 07:27:49AM -0000, Uphaar Agrawalla wrote:
> It appears this bug is affecting almost everyone using Acer Aspire 4520.
> The following thread has a number of users reporting the freeze-during-boot issue:
> http://ubuntuforums.org/showthread.php?t=510352&page=10
>
> Can something be done about it? It's a bit annoying, even though it
> doesn't happen all the time.

The summary on this bug indicates that it is a problem with upgrading to
Ubuntu 6.10 (edgy), which is nearing the end of its maintenance lifetime and
has been long superseded by more current Ubuntu releases.

If you have a different problem, please open a separate bug to track it. If
the summary of this bug is incorrect, please update it. If you aren't sure
how to determine whether your problem is the same, please refer to
https://help.ubuntu.com/community/ReportingBugs and ask for help if
necessary.

--
 - mdz

Revision history for this message
Uphaar Agrawalla (uphaar) wrote : Re: "-generic" kernel doesn't boot in Gutsy on some occasions, freezes at the splash screen and then drops to initramfs prompt

I have updated the summary to reflect the current state - as already mentioned in the comments the problem is present in the Gutsy release as well.
Also in my case it is a fresh install (starting from Gutsy RC), so I removed the "upgrade" part from the summary.

Please let me know what other information I can provide.

Matt Zimmerman (mdz)
description: updated
Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

Some additional information after reading a few threads in forums:

The issue seems to be with various Acer Aspire models.

Also, some mention in a thread that disabling acpi during boot fixes the problem (acpi=0). However, that is not a feasible option for laptops.
http://ubuntuforums.org/showthread.php?p=3899110#post3899110

Perhaps the problem is with Acer acpi?

Revision history for this message
Joe Dunnigan (joseph-dunnigan) wrote :

I got past failed boot on a fresh Gutsy install by adding all_generic_ide to the kernel boot line in menu.lst. This is on an Acer Aspire 5520. The IDE controllers are nvidia, seen as 'nVidia Corporation Unknown device 0560' and '0550' in lspci. This is with newest Gutsy kernel (2.6.22-14-generic). Solution found at http://www.ubuntu-forum.net/showthread.php?p=4016931

I'll still have this machine in my hands for another day or two if any additional information could help. Thanks all!

Revision history for this message
blackelvis (spamsuckz) wrote :

Got this problem on an AMD K7 desktop machine instead of an Acer laptop. Occasionally drops into the initramfs prompt on boot, sometimes only once in a few weeks, sometimes several times a day.

Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

More information: people have reported it works if "all_generic_ide" is added to the grub boot parameters. This, however, reduces the hard disk performance significantly.
Hope that can help troubleshoot.

Revision history for this message
afterstep13 (afterstep13-deactivatedaccount) wrote :
Revision history for this message
Uphaar Agrawalla (uphaar) wrote :

I've not had this problem since upgrading to Hardy Beta. Can others also confirm? Since Hardy RC is out now it shouldn't be risky to upgrade...

Revision history for this message
celtic_hackr (quiet-celt) wrote :

Just FYI, this bug exists in Hardy for Acer Aspire 4730z, but it doesn't appear in HP (and HP's Compaq brand) laptops.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
ritterkeks (ritterkeks) wrote :

when my newly installed linux mint refused to boot most times and dropped to initramfs-shell i tried every solution i found, like rebuilding initramfs, etc.
but nothing worked.

now i found the solution for me:
i changed back the kernel parameters in grub's menu.lst.
i think, i switched the root= parameter from UUID=x to /dev/sda1 some time ago (stupid suggestion found in a wiki)
and it had not caused any errors until the kernel wouldn't find the root device anymore.
setting the root device back to an "UUID=x" entry in the default kernel options in /boot/grub/menu.lst and "sudo update-grub" made my pc booting flawless again!
(to get the UUID of your device us "sudo blkid")

just if this same thing happend to anyone out there..

Revision history for this message
Phillip Susi (psusi) wrote :

This appears to be an old collection of different problems that are probably long since gone, so I am closing this bug. If you are still having an issue, please file a new report and we'll try to diagnose it.

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.