Virtual (aufs) root device never ready
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
High
|
Scott James Remnant (Canonical) | ||
Karmic |
Fix Released
|
High
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: mountall
Setup: mountall 0.1.6 on LTSP (but may apply to similar setups) whith an empty /etc/fstab (from debootstrap) and a /etc/mtab that's a link to /proc/mounts.
When booting, the boot process hangs waiting for a last mountpoint to appear.
Modifying the init script and having it drop to a shell, then starting ssh from it and connecting from another computer, I'm able to manually mount /dev/pts so I can get a working console, then mount a tmpfs on top of /tmp and run mountall again.
Doing so will make the boot process to continue.
The way the root filesystem is mounted is similar to the LiveCD except that we don't mount a tmpfs on top of /tmp as modifications to the whole system are already stored in a tmpfs through aufs.
So, basically:
/ => aufs
/cow => tmpfs
/rofs => squashfs mounted from /dev/nbd0 (nbd drive)
As a workaround, I modified the init script so it does the same as described above. Adding /tmp as tmpfs to /etc/fstab should also fix the issue although it's not something we should need as / is read-write and perfectly usable as root.
summary: |
- mountall stuck when waiting for mount points on LTSP setups + stuck waiting for mount points on LTSP setups |
Changed in mountall (Ubuntu Karmic): | |
assignee: | nobody → Scott James Remnant (scott) |
tags: | added: ubuntu-boot |
Changed in mountall (Ubuntu Karmic): | |
milestone: | none → ubuntu-9.10-beta |
Changed in mountall (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
From the shell, could you run mountall --debug and capture the output - attaching it to this bug