BOOTLIST(8)

πŸ“¦ version 1.3.14, in opensuse-leap 16.0

πŸ‘‘ BOOTLIST(8) β€” the bootlist page, but make it make sense

okay so real talk, this is the Linux on Power Service Tools manual, section 8, and it's about a little tool called bootlist. it's short, it's sweet, and it's literally the thing standing between you and your machine booting off the wrong disk. let's go πŸ’…


✨ NAME ✨

bootlist β€” update and view the bootlist πŸŽ€


🌸 SYNOPSIS 🌸

/usr/sbin/bootlist -m {normal|service|both} -o|-r
/usr/sbin/bootlist -m {normal|service|both} [-o|-r] -f file
/usr/sbin/bootlist -m {normal|service|both} [-o|-r] <dev_list>

three shapes, pick your fighter 🫢


πŸ’– DESCRIPTION πŸ’–

so bootlist is the command that lets you view and update the system bootlist β€” and that list lives in NVRAM, specifically on PowerPC-64 machines. no cap, that's the whole vibe.

want to update the list of boot devices? you've got options, bestie:

  • just name one or more boot devices directly, right there on the command line, or
  • read them from a file instead.

and those devices can be written either as logical device names or as full Open Firmware device paths. iconic flexibility, honestly.

under the hood, bootlist uses the ofpathanme script to convert between logical device names and Open Firmware device paths, and it uses the nvram command to actually update the stored boot list. (yes, ofpathanme is spelled exactly like that in the docs β€” leaving it alone, not my business πŸ”₯)

now the fun part: if you don't specify a list of devices, or if you use the -o or -r options, the current boot list stored in nvram is displayed. so it's a viewer by default in those cases. slay. ⭐


πŸ’… OPTIONS πŸ’…

  • -m normal|service|both β€” Required, bestie, don't skip it. tells the tool whether you're viewing/updating the normal mode boot list or the service mode boot list. and if you say "both"? it updates both the normal and service mode boot lists. main character energy 🌈
  • -o β€” display the current boot list entries as logical device names.
  • -r β€” display the current boot list entries as Open Firmware device path names. this is the default, fyi. πŸ‘‘
  • -f file β€” read the bootlist device names from file. one entry per line, periodt. πŸ“
  • dev_list β€” a space-separated list of devices, specified as logical device names or OF device path names β€” which one you use depends on whether you passed the -o or the -r option. iykyk πŸ¦‹

🌟 EXAMPLES 🌟

view the normal mode boot list as logical device names:

/usr/sbin/bootlist -o -m normal

update the service mode boot list:

/usr/sbin/bootlist -o -m service /dev/sda3 /dev/cdrom

okay those two examples ate, honestly 🧚


🫢 AUTHOR 🫢

written by Nathan Fontenot β€” ty for your service πŸ™


πŸ” SEE ALSO πŸ”

go read those too, they're the supporting cast and they lowkey carry πŸ’œ


reminder bestie: -m is required. if you forget it, the options are literally not gonna vibe with you. don't do that to yourself. πŸ’€

and that's the whole page! brought to you by Linux, dated May 2013 β€” a vintage moment, but the knowledge is timeless. bye bestie, go fix your boot order πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from