Skip to contentSkip to conversation

Documentation: rootwait does not work if root=devicenumber

PATCH New Jens Rottmann 1 participant 1 message Aug 23, 2012 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: rootwait does not work if root=devicenumber

Documentation: rootwait does not work if root=devicenumber

This makes it a bit tricky to use with LILO: Typing "root=/dev/... rootwait" directly on LILO's prompt boots fine, but putting
root = /dev/...
append = "rootwait"
in lilo.conf fails, "rootwait" is silently ignored.

---

Cost me 4 hours of my life. If anyone feels up to fixing it init/do_mounts.c instead of just documenting it, feel free. :-)

Cheers,
Jens

Documentation/kernel-parameters.txt +3 -1
@@ -2530,7 +2530,9 @@
 
 	rootwait	[KNL] Wait (indefinitely) for root device to show up.
 			Useful for devices that are detected asynchronously
-			(e.g. USB and MMC devices).
+			(e.g. USB and MMC devices).  root must be specified as
+			/dev/devicename, not as (hex) device number
+			(LILO: use append = "root=/dev/...").
 
 	rw		[KNL] Mount root device read-write on boot
 

_