Skip to contentSkip to conversation

boot/grub2: add rootwait to default config

PATCH New Gustavo Zacarias 3 participants 4 messages Mar 9, 2016 – Mar 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/grub2: add rootwait to default config

It doesn't hurt, and is useful for removable boot media like a pendrive that may depend on usb enumeration and isn't available immediately.

---
 boot/grub2/grub.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
boot/grub2/grub.cfg +1 -1
index c8abbd3..bd3e3f0 100644
@@ -2,5 +2,5 @@ set default="0"
 set timeout="5"
 
 menuentry "Buildroot" {
-	linux /boot/bzImage root=/dev/sda1 console=tty1
+	linux /boot/bzImage root=/dev/sda1 rootwait console=tty1
 }
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 boot/grub2: add rootwait to default config

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

It doesn't hurt, and is useful for removable boot media like a pendrive that may depend on usb enumeration and isn't available immediately.

---
 boot/grub2/grub.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

But it would be good to be consistent and also change it in boot/grub/menu.lst, no?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 boot/grub2: add rootwait to default config

Quoted 6 lines · Thomas Petazzoni

But it would be good to be consistent and also change it in boot/grub/menu.lst, no?

Thomas

Sure, i'll send a followup patch, if anyone is still using grub1 ;) Regards.

#3 lore raw

PATCH 1/1 boot/grub2: add rootwait to default config

In reply to Gustavo Zacarias
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

It doesn't hurt, and is useful for removable boot media like a pendrive that may depend on usb enumeration and isn't available immediately.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard