Situation:
A server:
- access only via SSH (no physical access, no KVM)
- a netboot OS (Debian/Jessie)
- 3 x 2T HDD
- 16G RAM
Final goal:
Building a ZFS pool
with the local HDD and install Debian on a ZFS root, the netboot OS is missing packages to install ZFS via apt
, that's why I want to boot a Live Debian.
Issue:
- I
wget
thedebian-live-11.0.0-amd64-standard.iso
on/tmp
- I installed
QEMU
(viaapt
) and the plethora of options confuses me (I am discovering it). My most advanced attempt is this:
qemu-system-x86_64 -curses -net nic -net user -m 1024M
-drive file=/tmp/11-live-amd64-std.iso,media=cdrom -boot c
The -curses
option gives a correct result with an install iso, when the 640 x 480 Graphic mode
message appears, I use <esc>
to access the boot:
menu of grub
and I pass it the install vga=normal fb=false
options and it goes (screenshot)
But with the Live iso, it doesn't work (screenshot)
These are my questions:
- Did I miss any
QEMU
option(s) to display the output that is not supposed to be graphical with this standard iso? - Do I need to configure my live iso with (e.g.) a GRUB in console mode?
- Will I not be able to configure the port forwarding of
QEMU
to access the console via SSH or telnet? - Is there any other solution (without
QEMU
)?
Thanks in advance
debian-live-11.0.0-amd64-standard.iso
, the CLI only version. I add this detail in my question. Thanks for pointinglibvirtd
, I will take a look to your proposal.-vnc
?install fb=false
does not work. You can probably also use VNC port forwarded over ssh, but using raw qemu is so painful that it's easier in most circumstances to just use libvirtd and virt- tools to manage VMs.