Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I use this command:

virt-install -r 1024 --vcpus=2 --accelerate --nographics -n test -f test.img --cdrom /iso/CentOS.iso

but I doesn't show the text based install:

boot: linux text
Loading vmlinuz.................................
Loading initrd.img..............................................................
................................................................................
...................................
Ready.ÿ

It hangs at Ready.ÿ

any ideas?

Thanks

share|improve this question
    
If you use different kernel options at the boot prompt does that give the same result? –  whaity Jul 11 '12 at 10:13
    
Thanks, how it that possible? (I use putty) –  Zim3r Jul 11 '12 at 10:19
    
It's technically not hanging- it's just waiting for you to respond in the graphical terminal (vnc, really). What happens if you append -x "console=ttyS0" to the end of your creation command? –  qweet Jul 11 '12 at 10:22
1  
@qweet Thanks, it gives me this error: 'ERROR --extra-args only work if specified with --location.' –  Zim3r Jul 11 '12 at 10:31
    
what about virt-install -r 1024 --vcpus=2 --accelerate --nographics -n test -f test.img -l /iso/CentOS.iso -x "console=ttyS0" ? –  qweet Jul 11 '12 at 10:35

1 Answer 1

up vote 2 down vote accepted
+50

--graphics none SHOULD work.

By default RHEL bootup grub chooses graphical install mode if adapter is present. To use text mode installation "text" or "askmethod" must be specified in kernel options i.e. grub and it doesn't matter do you have text console or not. It's impossible to specify kernel options at installation for virt-install. It's possible for normal bootup, but not cd:

--boot kernel=KERNEL,initrd=INITRD,kernel_args="console=/dev/ttyS0"

The best solution is to use PXE bootup - there you can have your own boot menu and settings, but again "--graphics none" should work, but looks like in some circumstances some guys are experiencing problems: KVM Guest installed from console. But how to get to the guest's console?

share|improve this answer
    
Thanks, I haven't tried it yet but I hope it works. –  Zim3r Aug 6 '12 at 19:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.