Talk:Installing Gentoo: Difference between revisions
Jump to navigation
Jump to search
Strugglers (talk | contribs) (Removed obsolete comments) |
Strugglers (talk | contribs) (Try PVH mode) |
||
| Line 7: | Line 7: | ||
I also needed to add "console=hvc0 xencons=tty" to my list of kernel parameters:<br> | I also needed to add "console=hvc0 xencons=tty" to my list of kernel parameters:<br> | ||
kernel /boot/vmlinuz root=/dev/xvda1 console=hvc0 xencons=tty | kernel /boot/vmlinuz root=/dev/xvda1 console=hvc0 xencons=tty | ||
==PVH mode== | |||
Since the kernel is now new enough it would be good to have Gentoo guests run in [[PVH]] mode. All that needs to be done is: | |||
* enable <code>CONFIG_XEN_PVH</code> in the kernel (as well as <code>CONFIG_XEN_PV</code> for now) | |||
* install that kernel | |||
* shut down | |||
* <code>xen shell> virtmode pvh</code> | |||
* <code>xen shell> boot</code> | |||
No reason why it shouldn't Just Work but if it doesn't, switch back to PV mode. | |||
Could a Gentoo user please give this a try and update the article? | |||
–[[User:Strugglers|Andy]] ([[User talk:Strugglers|talk]]) 03:05, 3 February 2021 (UTC) | |||
Revision as of 03:05, 3 February 2021
Serial console and kernel parameters (to fix console hanging)
I had to do the following on my image to get the serial console to work:
echo "hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0" >> /mnt/etc/inittab
echo hvc0 >> /mnt/etc/securetty
I also needed to add "console=hvc0 xencons=tty" to my list of kernel parameters:
kernel /boot/vmlinuz root=/dev/xvda1 console=hvc0 xencons=tty
PVH mode
Since the kernel is now new enough it would be good to have Gentoo guests run in PVH mode. All that needs to be done is:
- enable
CONFIG_XEN_PVHin the kernel (as well asCONFIG_XEN_PVfor now) - install that kernel
- shut down
xen shell> virtmode pvhxen shell> boot
No reason why it shouldn't Just Work but if it doesn't, switch back to PV mode.
Could a Gentoo user please give this a try and update the article?