summaryrefslogtreecommitdiff
path: root/package/grub
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-02-10 12:28:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-02-10 12:28:12 +0100
commit90e4f5d187fe735f9dea0776ce6642af8ed19831 (patch)
tree713ec82d8819bc2a957733ded165edb7e94b1d1f /package/grub
parent9a9f72a7d66f29e988d0bbe207d53e2961f6df5f (diff)
sync dual-boot with single boot, use gpt/efi
Diffstat (limited to 'package/grub')
-rw-r--r--package/grub/files/grub-dual.cfg12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/grub/files/grub-dual.cfg b/package/grub/files/grub-dual.cfg
index bae2fa414..46b5451ad 100644
--- a/package/grub/files/grub-dual.cfg
+++ b/package/grub/files/grub-dual.cfg
@@ -40,11 +40,15 @@ function savedefault {
}
menuentry "OpenADK1" {
- set root=(hd0,2)
- linux (hd0,2)/kernel root=/dev/@@ROOTDEV@@2 rootfstype=ext4 rootwait panic=5
+ insmod part_gpt
+ insmod ext2
+ set root=(hd0,gpt2)
+ linux (hd0,2)/boot/kernel root=/dev/@@ROOTDEV@@2 rootfstype=ext4 rootwait panic=5
}
menuentry "OpenADK2" {
- set root=(hd0,3)
- linux (hd0,3)/kernel root=/dev/@@ROOTDEV@@3 rootfstype=ext4 rootwait panic=5
+ insmod part_gpt
+ insmod ext2
+ set root=(hd0,gpt3)
+ linux (hd0,3)/boot/kernel root=/dev/@@ROOTDEV@@3 rootfstype=ext4 rootwait panic=5
}