You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I recently discovered this project. It is similar to a home-rolled framework I have been using for some time which provides equivalent functionality. I'd like to get rid of the maintenance burden, and switch to using a widely-available project instead. There are a few enhancements I'd like to contribute, however, to provide some functionality I've relied on.
Use isoinfo(1) (from the genisoimage package), if available, to try extracting some sort of useful title string from the ISO file;
Add a GRUB_SUBMENU option to /etc/default/grml-rescueboot to place the generated GRUB boot entries into their own submenu (with a customizable title), if desired;
Allow per-ISO configuration files to customize the generated boot entries, if desired;
Export the GRUB device which holds the ISO image, not just the filesystem path. This eliminates the need for a file search later, and is useful when booting some Linux distros (such as Arch Linux) that expect to be given a device name/label in addition to a file path for a loopback-mounted ISO;
Perform cleanup after the configfile /boot/grub/loopback.cfg call: delete the GRUB loopback entry, and unset the variables (as they may otherwise affect other boot entries later);
Message tweaks to reduce the implication that grml-rescueboot can only be used with Grml live boot ISOs;
New utility program: rescueboot, which allows a user to interactively select one of the grml-rescueboot entries, and performs a grub-reboot + reboot to boot the system into that ISO (one time only) without needing to interact with GRUB. (One of my use cases is remotely rebooting a running system into a live-boot ISO that runs from RAM and provides SSH access, to allow remote re-installation of the OS.)
That's everything for now. Before I start submitting pull requests, there are a couple questions I'd like to ask:
What kind of PR structure would you like? One commit with everything, or spread out across multiple commits? (And delineated how?)
The per-ISO config file feature is going to need more documentation. Would it work to have a dedicated section for it in the README, or would breaking it out into a separate README.iso-cfg (?) file be preferable?
Any initial review of the changes would also be appreciated, of course.
Hello everyone, I recently discovered this project. It is similar to a home-rolled framework I have been using for some time which provides equivalent functionality. I'd like to get rid of the maintenance burden, and switch to using a widely-available project instead. There are a few enhancements I'd like to contribute, however, to provide some functionality I've relied on.
All of the below can be seen in my tree here.
Use isoinfo(1) (from the genisoimage package), if available, to try extracting some sort of useful title string from the ISO file;
Add a
GRUB_SUBMENUoption to/etc/default/grml-rescuebootto place the generated GRUB boot entries into their own submenu (with a customizable title), if desired;Allow per-ISO configuration files to customize the generated boot entries, if desired;
Generate an ID for each menu entry (resolves please consider generating --id #8), in this implementation just the ISO file basename;
Export the GRUB device which holds the ISO image, not just the filesystem path. This eliminates the need for a file search later, and is useful when booting some Linux distros (such as Arch Linux) that expect to be given a device name/label in addition to a file path for a loopback-mounted ISO;
Perform cleanup after the
configfile /boot/grub/loopback.cfgcall: delete the GRUB loopback entry, and unset the variables (as they may otherwise affect other boot entries later);Message tweaks to reduce the implication that grml-rescueboot can only be used with Grml live boot ISOs;
New utility program:
rescueboot, which allows a user to interactively select one of the grml-rescueboot entries, and performs agrub-reboot+rebootto boot the system into that ISO (one time only) without needing to interact with GRUB. (One of my use cases is remotely rebooting a running system into a live-boot ISO that runs from RAM and provides SSH access, to allow remote re-installation of the OS.)That's everything for now. Before I start submitting pull requests, there are a couple questions I'd like to ask:
What kind of PR structure would you like? One commit with everything, or spread out across multiple commits? (And delineated how?)
The per-ISO config file feature is going to need more documentation. Would it work to have a dedicated section for it in the
README, or would breaking it out into a separateREADME.iso-cfg(?) file be preferable?Any initial review of the changes would also be appreciated, of course.