diff mbox

boot/grub2: add rootwait to default config

Message ID 1457567195-18182-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 9284b4aa396adb5d0093d9e67fc1033decdd72d8
Headers show

Commit Message

Gustavo Zacarias March 9, 2016, 11:46 p.m. UTC
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.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 boot/grub2/grub.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni March 10, 2016, 8:43 p.m. UTC | #1
Dear Gustavo Zacarias,

On Wed,  9 Mar 2016 20:46:35 -0300, Gustavo Zacarias wrote:
> 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.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  boot/grub2/grub.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

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

Thomas
Gustavo Zacarias March 10, 2016, 8:44 p.m. UTC | #2
On 10/03/16 17:43, Thomas Petazzoni wrote:

> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> 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.
Peter Korsgaard March 10, 2016, 9:33 p.m. UTC | #3
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> 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.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

Patch

diff --git a/boot/grub2/grub.cfg b/boot/grub2/grub.cfg
index c8abbd3..bd3e3f0 100644
--- a/boot/grub2/grub.cfg
+++ b/boot/grub2/grub.cfg
@@ -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
 }