VZVirtualMachine boot from iso after installation

Hi, I have installed ubuntu in a virtual machine using attached iso and everything works fine. After installing ubuntu it boots from the hard disk always. If i ever wanted to force the vm to boot from ISO how can i do it?

Thanks & Regards

Answered by DTS Engineer in 887161022
the commandLine property in the VZBootLoader.

D’oh, I meant VZLinuxBootLoader. Sorry about the confusion.

My experience with other Unix-y systems is that, once the kernel is loaded, it looks at its boot arguments to determine which file system to boot from. VZLinuxBootLoader lets you control both of those options. Hence my earlier suggestion.

However, if you’ve tried this out and can’t make it work then I recommend that you file an enhancement request for the features you want. Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I’m not really a Linux person, but I suspect that you can make progress on this by playing with the commandLine property in the VZBootLoader VZLinuxBootLoader.

ps I’d appreciate you creating your virtualisation questions in App & System Services > Core OS. When you created them in Developer Tools & Services > Developer Forums, I have to move them over by hand.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It is not about knowing linux. It is about booting from iso. When no linux is installed vm boots from iso. It would be nice if There is a possibility of booting from the same ISO even after the installation to the hard disk. Boot priority selection would be a nice addition to the virtulization framework.

the commandLine property in the VZBootLoader.

D’oh, I meant VZLinuxBootLoader. Sorry about the confusion.

My experience with other Unix-y systems is that, once the kernel is loaded, it looks at its boot arguments to determine which file system to boot from. VZLinuxBootLoader lets you control both of those options. Hence my earlier suggestion.

However, if you’ve tried this out and can’t make it work then I recommend that you file an enhancement request for the features you want. Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

D’oh, I meant VZLinuxBootLoader. Sorry about the confusion.

I am not using kernel boot image which needs VZLinuxBootLoader. i use VZFIBootloader() for running gui based linux vms like ubuntu and boot from iso and install the linux.

i use VZEFIBootLoader

Ah, OK, thanks for clarifying that.

I was hoping you might be able to set EFI variables in the VZEFIVariableStore, and convince EFI to boot from a different file system that way, but apparently Past Quinn™ has already determined that there’s no supported way to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

VZVirtualMachine boot from iso after installation
 
 
Q