My problem is:
Refind is configured to hold at the OS-choice, but some of my users keep using the bootcamp manager under windows to set the windows-partition boot every time.
So you have to hold the ALT-key to enter refind again.
Is there any way to prevent the bootcamp manager to overwrite refind and reactivate the mac default bootmanager?
Two possibilities occur to me:
The Bootcamp Manager in Windows has a function similar to the one in OS X under System Settings > Startup Disk which callls simething like bless --setBoot, I think.
So I think the second possibility you offered can be overwritten by this tool, too.
And unfornatelly, the first option doesn't work for me, because I need the other functions of the bootcamp manager in Windows (like behaviour of the F-Keys, and settings for the touchpad)
So as I get it, prevention isn't possible.
Is there a way to set the refind bootloader the default one after the user set Windows or OS X the startup disk?
On this System I even have a tripple boot installed. The 3rd OS is a clonezilla-live-system (=debian-live). It contains a image and some bash-skripts for resetting the computer to a default state.
My Idea is to run something like "bless --setBoot" from Linux for refind which is installed on the Macintosh HD.
So far I tested:
- using hfs-bless developed by Matthew Garrett
- running "install.sh --root /mnt" on Linux with mounted Macintosh HD mounted force,rw on /mnt
Both didn't work...
Something like rEFIt's rEFItBlesser might provide a workaround for this problem. I omitted that program from rEFInd because I heard it caused problems on some systems, but maybe it's time to tackle those problems rather than avoid them. I'll look into it....
On the Mac side, rEFItBlesser should be a launch daemon instead of a startup item.
On the Windows side, you'll need to find an API or command line that can run after Boot Camp control panel and before reboot to do the same thing as bless (or whatever the Boot Camp control panel at C:\Windows\System32\AppleControlPanel.exe uses).
I looking forward to hear from refindBlesser :-)
Till then my current workaround is: I changed the install.sh skript a bit and linked it to the mac os desktop as "Repair Bootloader". So the warehousemen who are checking and reseting these macs just have to run this skript to reinstall refind automatically.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.