Debian install over console

Neil Watson tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org
Thu Nov 24 13:41:43 UTC 2011


An update.

The virt-install man page says:
-x EXTRA, --extra-args=EXTRA
Additional kernel command line arguments to pass to the installer when performing a
guest install from "--location".

So using the CDROM option with extra-args would fail. I tried the location
option and an unexpected error was returned.

ettin:/srv/virtual# /home/neil/neil/docs/it/kvm.sh
ERROR    Only one install method (--pxe, --location, --cdrom, --import) can be used

ettin:/srv/virtual# cat !$
cat /home/neil/neil/docs/it/kvm.sh
#!/bin/sh

virt-install -n nwtest --description 'Test host' -r 512 -vcpus 1 \
         --os-type=linux --os-variant=debiansqueeze \
         --disk /srv/virtual/nwtest,device=disk,bus=virtio,size=3 \
         --network bridge=br0,model=virtio \
         --nographics \
         --autostart \
         -l http://ftp.ca.debian.org/debian/dists/squeeze/main/installer-amd64/ \
         -x "console=tty0 console=ttyS0,115200n8"eil Watson

I have yet to understand what the error means.

--
Neil H. Watson
Linux/UNIX Consultant
http://watson-wilson.ca
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list