Bug 4514 - Booting OS, that requires automount of devtmpfs fails if fs image used as initramfs
Summary: Booting OS, that requires automount of devtmpfs fails if fs image used as ini...
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2011.08
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 19:42 UTC by Alexander
Modified: 2011-11-26 20:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2011-11-23 19:42:12 UTC
System based on devtmpfs or udev with initramfs as root won't boot, because kernel doesn't automount devtmpfs on initramfs. Using initramfs requires manual mount for devtmpfs.

Manual mount can be done by adding a string in the beginning of /etc/inittab:
::sysinit:/bin/mount -t devtmpfs devtmpfs /dev

As a bug of buildroot it could be fixed by adding an option to mount manually devtmpfs, that makes buildroot add corresponding string to inittab automatically.
Comment 1 Peter Korsgaard 2011-11-26 20:49:40 UTC
What buildroot version are you using? We have a pre-init wrapper script in buildroot since July which does exactly this.

Please update to 2011.11(-rc2).