yoni1
November 23rd, 2015, 02:21 PM
I'm building a Windows Vista/Ubuntu system (Vista, because that's what I have an unused license for), but I'm intending to use the sytem without video/keyboard/mouse by SSH/VNC'ing into from my tablet, so I obviously need to be able to change the default boot from within each of those operating systems.
(I don't think it's an EFI system).
Currently this is what I've come up with (it's mostly tested):
1. Installed Vista to sda1 (ntfs). Windows bootloader installed to MBR.
2. Installed Ubuntu to sda2 (ext4). Installed grub to sda2, not sda.
3. Rebooted to Ubuntu Live CD and copied boot sector from sda2 and placed it on C:\ubuntu.bin
4. Rebooted (automatically to Vista) and added boot entry for Ubuntu pointing to ubuntu.bin
5. Rebooted (manually) to Ubuntu and copied C:\Boot\BCD to C:\Boot\BCD.vista
Now, in theory, over VNC (assuming VNC is running as a service for each OS):
Whenever I'm in Vista, I can either reboot into Vista, or boot into Ubuntu by changing the default to Ubuntu using bcdedit and rebooting
Whenever I'm booted into Ubuntu, I can either reboot into Ubuntu, or boot into Vista by copying C:\Boot\BCD.vista to C:\Boot\BCD and rebooting
(I don't think it's an EFI system).
Currently this is what I've come up with (it's mostly tested):
1. Installed Vista to sda1 (ntfs). Windows bootloader installed to MBR.
2. Installed Ubuntu to sda2 (ext4). Installed grub to sda2, not sda.
3. Rebooted to Ubuntu Live CD and copied boot sector from sda2 and placed it on C:\ubuntu.bin
4. Rebooted (automatically to Vista) and added boot entry for Ubuntu pointing to ubuntu.bin
5. Rebooted (manually) to Ubuntu and copied C:\Boot\BCD to C:\Boot\BCD.vista
Now, in theory, over VNC (assuming VNC is running as a service for each OS):
Whenever I'm in Vista, I can either reboot into Vista, or boot into Ubuntu by changing the default to Ubuntu using bcdedit and rebooting
Whenever I'm booted into Ubuntu, I can either reboot into Ubuntu, or boot into Vista by copying C:\Boot\BCD.vista to C:\Boot\BCD and rebooting