Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/pc: fix grub root device in help
@ 2024-10-31 11:04 Cherniaev Andrei
  2024-10-31 17:45 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Cherniaev Andrei @ 2024-10-31 11:04 UTC (permalink / raw)
  To: buildroot; +Cc: Cherniaev Andrei

Also make docs more user-friendly

Signed-off-by: Cherniaev Andrei <dungeonlords789@naver.com>
---
 board/pc/grub-bios.cfg | 2 ++
 board/pc/readme.txt    | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/board/pc/grub-bios.cfg b/board/pc/grub-bios.cfg
index bd3e3f0006..02db996dd6 100644
--- a/board/pc/grub-bios.cfg
+++ b/board/pc/grub-bios.cfg
@@ -1,3 +1,5 @@
+# After any change rebuild grub2 and the image:
+# make grub2-rebuild && make
 set default="0"
 set timeout="5"
 
diff --git a/board/pc/readme.txt b/board/pc/readme.txt
index 41aec50d36..311add1558 100644
--- a/board/pc/readme.txt
+++ b/board/pc/readme.txt
@@ -42,8 +42,11 @@ Emulation in qemu (BIOS)
 1. Edit grub-bios.cfg
 
   Since the driver will show up in the virtual machine as /dev/vda,
-  change board/pc/grub-bios.cfg to use root=/dev/vda2 instead of
-  root=/dev/sda2. Then rebuild grub2 and the image.
+  change board/pc/grub-bios.cfg to use root=/dev/vda1 instead of
+  root=/dev/sda1.
+1.1. Rebuild grub2 and the image:
+
+make grub2-rebuild && make
 
 2. Run the emulation with:
 
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-20 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31 11:04 [Buildroot] [PATCH 1/1] configs/pc: fix grub root device in help Cherniaev Andrei
2024-10-31 17:45 ` Thomas Petazzoni via buildroot
2024-11-20 21:01   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox