[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
set fallback=XXX
From: |
Eldor Rødseth |
Subject: |
set fallback=XXX |
Date: |
Sat, 26 Oct 2019 10:16:11 +0200 |
User-agent: |
Microsoft-MacOutlook/10.10.f.191014 |
Hi!
I have the following content in my buildroot/busybox/grub2-based EFI system
grub.cfg-file:
-------------------------------- start -------------------------
set default=rootfs2
set fallback=rootfs1
set timeout=5
menuentry "Alternating SW Image (rootfs) 1 - Linux 4.20.8 root@sda2" --id
rootfs1 {
linux /bzImage root=/dev/sda2 quiet loglevel=4 console=ttyS0,115200n8
id=rootfs1
}
menuentry "Alternating SW Image (rootfs) 2 - Linux 4.20.8 root@sda3" --id
rootfs2 {
linux /bzImage root=/dev/sda3 quiet loglevel=4 console=ttyS0,115200n8
id=rootfs2
}
menuentry "USB Installation Disk - Linux 4.20.8 root@sdb2" --id usb {
linux /bzImage root=/dev/sdb2 rootwait quiet loglevel=4
console=ttyS0,115200n8 id=usb
}
-------------------------------- end -------------------------
Now; my problem is that even if I completely wipe-out the /dev/sda3 (i.e. --id
rootfs2) to force a fallback to /dev/sda2 (i.e. –id rootfs1)
the grub2 boot loader persistently only tries to boot from the corrupted entry
(i.e. rootfs2).
So ... what am I doing wrong ... ?
Med vennlig hilsen
Eldor Rødseth
Tlf. +47 95086888
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- set fallback=XXX,
Eldor Rødseth <=