Skip to content

Commit

Permalink
Add GRUB2 boot entry to boot into rescue shell (#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Aug 31, 2022
1 parent b067471 commit ba5de20
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions buildroot-external/board/pc/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,11 @@ menuentry "Slot A (OK=$A_OK TRY=$A_TRY)" {
menuentry "Slot B (OK=$B_OK TRY=$B_TRY)" {
linux (${boothd},gpt4)/bzImage root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 $default_cmdline $cmdline rauc.slot=B
}

menuentry "Slot A (rescue shell)" {
linux (${boothd},gpt2)/bzImage root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd $default_cmdline $cmdline rauc.slot=A systemd.unit=recovery.target
}

menuentry "Slot B (rescue shell)" {
linux (${boothd},gpt4)/bzImage root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 $default_cmdline $cmdline rauc.slot=B systemd.unit=recovery.target
}

0 comments on commit ba5de20

Please sign in to comment.