cannot boot custom kernel with no initrd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mountall
Trying to boot a custom kernel without an initrd (hence using root=/dev/sda5) causes the "waiting for /" message to be displayed, and then no progress is made.
Booting the standard Ubuntu kernel with root=/dev/sda5 works. And doing "sudo mount" shows that "/" is indeed mounted on /dev/sda5.
This custom kernel setup worked about 2 weeks ago. Now booting that same kernel with an updated Ubuntu fails.
Perhaps related:
503212
$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
By the way, a couple of minor unrelated bugs I ran into while testing this: when "waiting" screen is up:
* pressing ESC --> "plymount main process killed by SEGV"
* pressing S --> "init: libvirt-bin respawning too fast"
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: mountall 2.14
ProcVersionSign
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Wed May 5 21:08:07 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_NZ.utf8
SHELL=/bin/bash
SourcePackage: mountall
Changed in mountall (Ubuntu): | |
status: | New → Invalid |
I should point out that labelling this as related to the "mountall" package is only a guess. The problem could be devtmpfs or udev or something else in that area.
I have noted that if I press "M" (maintenance shell), then type "mount" it shows that "/dev/sda5" *is* mounted as the rootfs. And I can see the expected files (including my modifications to files in /etc). However doing "ls /dev/sd*" shows no disk device nodes.
So it would appear that device enumeration is working correctly, and that in do_mounts.c, the code successfully iterates over the detected devices and matches the right device structure for "root=/dev/sda5", resulting in a successfully- mounted root. However whatever is responsible for actually creating the /dev/sda5 device node is not functioning, and this is confusing things later.