Chainloading linux in AWS EC2 HVM
|
2016-01-15, 08:24
Post: #2
|
|||
|
|||
RE: Chainloading linux in AWS EC2 HVM
(2016-01-14 21:37)plachance Wrote: Anyone succeeded to chainload any operating system on AWS EC2 HVM instances? That post is incorrect. iPXE does (as you discovered) have native support for the Xen netfront NIC as used in EC2 HVM. There is no support for PV. The netfront NIC is the same, but PV is effectively a different firmware platform: the differences between HVM and PV are similar to the differences between BIOS and UEFI as far as iPXE is concerned. We just don't support PV as a platform. Quote:To summarize the tests: That's similar to what I've used. The only real difference is that there was no GRUB in my setup (just bin/ipxe.usb written directly to a 1GB EBS root disk). Also, I usually build bin/ipxe.usb with an embedded script that does: Code: #!ipxe This allows me to control the boot process by configuring the EC2 instance "user-data", without needing to rebuild with a new embedded script. I also tend to enable CONSOLE_SYSLOG and CONSOLE_INT13, both of which are useful for getting hold of output in EC2. (The EC2 "system log" which theoretically shows the serial port output has been unreliable for me.) Quote:What is working: I did encounter some issues with the booted OS correctly initialising the netfront NIC after it had been used by iPXE. This was with older versions of CentOS, where the netfront driver did not gracefully handle finding the NIC in an unexpected state. You probably need to start hacking the initrd and/or kernel to print out extra debug information about the state of the netfront NIC, to find out what's going wrong in your setup. Unfortunately it's almost impossible to interact with an EC2 VM until the network is up, so you're limited to adding debug prints. (Alternatively, you could try to reproduce the problem in a local Xen instance, where you would have console access.) Good luck! Michael |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Chainloading linux in AWS EC2 HVM - plachance - 2016-01-14, 21:37
RE: Chainloading linux in AWS EC2 HVM - mcb30 - 2016-01-15 08:24
RE: Chainloading linux in AWS EC2 HVM - plachance - 2016-01-18, 19:01
RE: Chainloading linux in AWS EC2 HVM - mcb30 - 2016-01-18, 23:00
RE: Chainloading linux in AWS EC2 HVM - plachance - 2016-01-18, 23:17
RE: Chainloading linux in AWS EC2 HVM - mcb30 - 2016-01-27, 14:31
|
User(s) browsing this thread: 1 Guest(s)