turtles Veteran
Joined: 31 Dec 2004 Posts: 1655
|
Posted: Fri Jan 18, 2013 8:59 pm Post subject: initramfs busybox mount / ro then udev remount? |
|
|
Setting up a initramfs on a new install today and I have a question
Why does root need to be mounted in the initramfs:
mount -o ro ?
and then remounted rw by udev?
and how do I debug this process?
The boot completes (kernel loads initramfs gets loaded hands off to init)
but then after login I am dumped into a readonly root
udev does not remount my root?
I set this up about a year ago on a different box and did not need to include a root (/) in fstab
it gets added to mtab and the init script has the same line starting with
I have devtmpfs.
Will try putting it in fstab next.
EDIT#1
that makes no difference.
Ah ha its needs something like this:
Code: | CMDLINE=`cat /proc/cmdline`
exec switch_root /mnt/root /sbin/init ${CMDLINE} |
now it boots and does not need /etc/fstab
however I am still curious why not mount it rw in the early userspace?
Thanks _________________ Donate to Gentoo |
|