geninitrd + initramfs sucks more
Bug #301425 reported by
Szymon Siwek
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PLD Linux |
New
|
Undecided
|
Unassigned |
Bug Description
I use grub. Kernel cmdline looks like "root=foo 5".
geninitrd-10000-2 invoked with --initrdfs initramfs.
/sbin/init enters runlevel = 3 (initdefault). Wrong.
geninitrd-10000-2 invoked with --initrdfs rom.
/sbin/init enters runlevel = 5. OK
Absolutely no idea WTF.
To post a comment you must log in.
romfs is launched and the real init is executed by kernel after romfs exits.
initramfs has to manually start init and that's why init does not get any command line arguments.