General TC > Programming & Scripting - Unofficial
bootman - boot versions on one drive/partition
CentralWare:
--- Quote ---afaik / fwiw it is possible to configure other boot-loaders to boot a default menu entry
--- End quote ---
@mocore: Yes, boot configs can be set up to select a default menu entry, but how does the horseman change to something other than default? :)
1. Have an app or script modify the boot config and change the DEFAULT= to something else on the list (then reboot to effect changes)
2. Have an app or script create a new boot config based solely on a single os/entry (then reboot - #2 is similar to what bootman was aimed for.)
3. If the kernel/core are the same, kill off all running services, unload extensions, clear cache and swap, unload kernel modules, etc. and start fresh without rebooting (which is our in-house version; it's really simple in TCL, reasonably simple in Mint... not so simple with Deb :) )
mocore:
--- Quote from: CentralWare on September 22, 2024, 08:09:47 PM ---2. Have an app or script create a new boot config based solely on a single os/entry (then reboot - #2 is similar to what bootman was aimed for.)
3. If the kernel/core are the same, kill off all running services, unload extensions, clear cache and swap, unload kernel modules, etc. and start fresh without rebooting
--- End quote ---
this kind of reminds me of hyperos https://msfn.org/board/topic/9733-hyperos-2003/
who's blurb says "It turns ***dows into a disposable razor. Once it stops working you throw it away and start using another one. "
presumably nix/tc user's have different motivations for rebooting ;D
--- Quote from: Leee on September 18, 2024, 12:02:29 AM ---Here's a (pared down) sample grub.cfg for the above setup (attached).
--- End quote ---
thanks!
CentralWare:
@Leee: I just finished installing Grub2 on a little drive that's going to be the Master of Disaster of about two dozen baby drives (2.5" SATA-II laptop drives that were otherwise collecting dust) which are dedicated to a single Win11 and twenty-some flavors of 'Nix/BSD connected by a USB3/3.1 desktop hot-swap enclosure and the insanity being TCL and W11 have dedicated SSD's internally, everyone else plugs into the hot-swap if we need to venture out with any of the other players and Grub's being experimented with to see whether or not "which ever drive is connected is the one that boots" if that menu item is chosen works without a hitch. I already expect EFI is going to be a problem for a few distros (Ubuntu/Bodhi ISOs were flagged as expired/revoked signatures so this should be fun!)
Navigation
[0] Message Index
[*] Previous page
Go to full version