HEX
Server: nginx/1.22.0
System: Linux iZuf6jdxbygmf6cco977lcZ 5.10.84-10.4.al8.x86_64 #1 SMP Tue Apr 12 12:31:07 CST 2022 x86_64
User: root (0)
PHP: 7.4.29
Disabled: passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
Upload Files
File: //usr/share/doc/os-prober/TODO
This thing needs a regression test suite.

The grub linux-boot-probe has these limitations:

 - Does not handle grub present menus.
 - Does not support things like (hd0,1)/path/to/file
   although in the case of the kernel it will strip
   off the drive specification, and look for the file in the current
   partition.

The lilo linux-boot-probe has these limitations:

 - Doesn't map from devfs to normal if the lilo.conf uses devfs names
   (valid?)

linux-boot-prober:

- Partition names in boot loader config may have changed during
  the debian install, so cannot be trusted. Fix up root= lines,
  etc.
- To get to boot/, may need to parse fstab. But this can fail because
  as noted above, drive names may have changed!
- Maybe do some probing before partitioning and store info?
  Or don't support adding partitions before existing /boot partitions.