opsi client boot cd
Verfasst: 07 Okt 2019, 21:54
I am trying to install a windows VM on a FreeBSD/Bhyve host.
It is bhyve, so graphics only work in uefi mode. The CentOS text installer does not allow manual partition, so the CentOS VM uses the uefi method too.
CentOS iso: works fine
Windows iso: works fine
Network boot: doesn't work (elilo keeps writing dots)
Opsi client boot iso: crashes somewhere (presumably when changing resolution)
Bhyve log shows this:
I've tried editing the command lines before booting, but I do not seem to get anywhere. I've tried to change the stuff to what the CentOS iso uses, which works:
For comparison, this is the grub.cfg of the opsi boot iso:
I can't edit anything in the first if, so those modules will get loaded.
Anybody have some ideas what to try now?
It is bhyve, so graphics only work in uefi mode. The CentOS text installer does not allow manual partition, so the CentOS VM uses the uefi method too.
CentOS iso: works fine
Windows iso: works fine
Network boot: doesn't work (elilo keeps writing dots)
Opsi client boot iso: crashes somewhere (presumably when changing resolution)
Bhyve log shows this:
Code: Alles auswählen
rdmsr to register 0x140 on vcpu 0
wrmsr to register 0x140(0) on vcpu 0
rdmsr to register 0x140 on vcpu 1
wrmsr to register 0x140(0) on vcpu 1
rdmsr to register 0x34 on vcpu 1
Unhandled inb 0x03d0 at 0xffffffff8240f645
fbuf frame buffer base: 0x942e00000 [sz 16777216]
XXX vga_port_in_handler() unhandled port 0x3d0
Code: Alles auswählen
set default="1"
function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod all_video
}
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set timeout=60
### END /etc/grub.d/00_header ###
search --no-floppy --set=root -l 'CentOS 7 x86_64'
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Install CentOS 7' --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
initrdefi /images/pxeboot/initrd.img
}
menuentry 'Test this media & install CentOS 7' --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet
initrdefi /images/pxeboot/initrd.img
}
submenu 'Troubleshooting -->' {
menuentry 'Install CentOS 7 in basic graphics mode' --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa nomodeset quiet
initrdefi /images/pxeboot/initrd.img
}
menuentry 'Rescue a CentOS system' --class fedora --class gnu-linux --class gnu --class os {
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rescue quiet
initrdefi /images/pxeboot/initrd.img
}
}
Code: Alles auswählen
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
insmod gfsterm_background
insmod png
background_image -m stretch /boot/grub/opsi.png
terminal_output gfxterm
fi
#GRUB_GFXMODE=640x4i80
#GRUB_BACKGROUND="/boot/grub/opsi.tga"
insmod png
background_image -m stretch /boot/grub/opsi.png
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
submenu "64 Bit Bootimage -->" {
insmod png
background_image -m stretch /boot/grub/opsi.png
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Start opsi (english)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=en video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi without DHCP (english)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=en video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot-x64.bz2
}
menuentry "Opsi starten (deutsch)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=de video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot-x64.bz2
}
menuentry "Opsi ohne DHCP starten (deutsch)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=de video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi (french)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=fr video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi without DHCP (french)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=fr video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi (italian)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=it video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi without DHCP (italian)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=it video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi (danish)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=da video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot-x64.bz2
}
menuentry "Start opsi without DHCP (danish)" {
set gfxpayload=keep
linux /vmlinuz-x64 boot=lang=da video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot-x64.bz2
}
}
submenu "32 Bit Bootimage -->" {
insmod png
background_image -m stretch /boot/grub/opsi.png
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Start opsi (english)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=en video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot.bz2
}
menuentry "Start opsi without DHCP (english)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=en video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot.bz2
}
menuentry "Opsi starten (deutsch)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=de video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot.bz2
}
menuentry "Opsi ohne DHCP starten (deutsch)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=de video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot.bz2
}
menuentry "Start opsi (french)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=fr video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot.bz2
}
menuentry "Start opsi without DHCP (french)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=fr video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot.bz2
}
menuentry "Start opsi (italian)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=it video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot.bz2
}
menuentry "Start opsi without DHCP (italian)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=it video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot.bz2
}
menuentry "Start opsi (danish)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=da video=vesa:ywrap,mtrr vga=791 service ---
initrd /miniroot.bz2
}
menuentry "Start opsi without DHCP (danish)" {
set gfxpayload=keep
linux /vmlinuz boot=lang=da video=vesa:ywrap,mtrr vga=791 service nodhcp ---
initrd /miniroot.bz2
}
}
Anybody have some ideas what to try now?