diff mbox series

[1/1] configs/pc: fix grub root device in help

Message ID 20241031110441.2953443-1-dungeonlords789@naver.com
State Accepted
Headers show
Series [1/1] configs/pc: fix grub root device in help | expand

Commit Message

Cherniaev Andrei Oct. 31, 2024, 11:04 a.m. UTC
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(-)

Comments

Thomas Petazzoni Oct. 31, 2024, 5:45 p.m. UTC | #1
Hello,

On Thu, 31 Oct 2024 20:04:41 +0900
Cherniaev Andrei <dungeonlords789@naver.com> wrote:

> Also make docs more user-friendly
> 
> Signed-off-by: Cherniaev Andrei <dungeonlords789@naver.com>

Thanks for your contribution, I have applied the part of your patch
fixing root=/dev/sda1 and root=/dev/vda1. The rest wasn't relevant, as
it's considered general Buildroot knowledge. We're not going to repeat
in each and every configuration file which package to rebuild to get
things taken into account.

Thanks!

Thomas
diff mbox series

Patch

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: