Debian install over console
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Nov 24 15:52:56 UTC 2011
On Thu, Nov 24, 2011 at 08:41:43AM -0500, Neil Watson wrote:
> 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.
-c = --cdrom
So since you put -vcpus rather than --vcpus, it thinks you wanted -v and -c.
Right now you have --cdrom set to 'pus' :)
--
Len Sorensen
--
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