Re: Qemu and Fedora text install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, panicloop!

Thank you very much for useful information!

You writes:

> If you have installed virtualization package group in the Fedora 14,
> you can use virsh, virt-install, etc commands and
> it's easy to use them than qemu command.
>
> You can start installation of fedora 15 guest with text console mode
> with following command.
>
> # virt-install \
> --connect qemu:///system \
> --name fedora15 \
> --ram 1024 \
> --disk path=/var/lib/libvirt/images/fedora15.img,size=8 \
> --network network:default \
> --location http://ftp.riken.jp/Linux/fedora/releases/15/Fedora/x86_64/os/ \
> --os-type Linux \
> --os-variant virtio26 \
> --nographics \
> --accelerate \

Actually, my system does not support KVM, so I left out that option.

> --hvm \
> --extra-args 'console=tty0 console=ttyS0,115200';

Since I'm running i386, I did also need the --arch option. Also, it took
some time until I realized that I did need to login as root.

> When you entered the above command, following message will be displayed.
>
> -- message begin --
> Creating domain...
> Connected to domain fedora15
> Escape character is ^]
> -- message end --

Yes, after downloading vmlinuz/initrd.

> Wait here for about 1〜2 minutes.
> After this, the CUI screen of
> "Welcome to Fedora for x86_64 Choose a Language" will be displayed.
> You can proceed as usual installtion of fedora.

The text install of Fedora is really poor. You cannot choose packages,
nor manipulate partitions. I wonder, is there any plans for extending
the text install? This is really important, at least to blind people
like me, who cannot use any other method.

[...]

> After this, Fedora15 login prompt will be displayed.

No, the startup fails. Please see some output:

Starting udev Coldplug all Devices...
[  241.046725] udev[340]: starting version 167
Started Setup Virtual Console.
[  257.938330] systemd[1]: Job dev-disk-by\x2duuid-a91f7209\x2dccd2\x2d4c07\x2daed2\x2db901ab942965.device/start timed out.
Starting /boot [1;31maborted[0m because a dependency failed.
Starting Mark the need to relabel after reboot [1;31maborted[0m because a dependency failed.[  258.054984] systemd
[1]: Job fedora-autorelabel-mark.service/start failed with result 'dependency'.
Starting Relabel all filesystems, if necessary [1;31maborted[0m because a dependency failed.
[  258.140537] systemd[1]: Job fedora-autorelabel.service/start failed with result 'dependency'.
[  258.154881] systemd[1]: Job local-fs.target/start failed with result 'dependency'.
[  258.158677] systemd[1]: Triggering OnFailure= dependencies of local-fs.target.
Starting Getty on tty6 [1;31maborted[0m because a dependency failed.
[  258.277926] systemd[1]: Job getty@tty6.service/start failed with result 'dependency'.
Starting Getty on tty5 [1;31maborted[0m because a dependency failed.[  258.355612] systemd[1]: Job getty@tty5.service/start failed with result 'dependency'.

Starting Getty on tty1 [1;31maborted[0m because a dependency failed.[  258.453053] systemd
[1]: Job getty@tty1.service/start failed with result 'dependency'.
Starting Getty on tty2 [1;31maborted[0m because a dependency failed.
[  258.545363] systemd[1]: Job getty@tty2.service/start failed with result 'dependency'.
Starting Getty on tty4 [1;31maborted[0m because a dependency failed.
[  258.631861] systemd[1]: Job getty@tty4.service/start failed with result 'dependency'.
Starting Getty on tty3 [1;31maborted[0m because a dependency failed.
[  258.712916] systemd[1]: Job getty@tty3.service/start failed with result 'dependency'.
Starting Serial Getty on ttyS0 [1;31maborted[0m because a dependency failed.
[  258.789073] systemd[1]: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
[  259.651464] systemd[1]: Job boot.mount/start failed with result 'dependency'.
[  259.662549] systemd[1]: Job dev-disk-by\x2duuid-a91f7209\x2dccd2\x2d4c07\x2daed2\x2db901ab942965.device/start failed with result 'timeout'.
udevd[340]: worker [353] did not accept message -1 (Connection refused), kill it

udevd[340]: worker [354] did not accept message -1 (Connection refused), kill it

udevd[340]: worker [355] did not accept message -1 (Connection refused), kill it

udevd[340]: worker [358] did not accept message -1 (Connection refused), kill it

udevd[340]: worker [359] did not accept message -1 (Connection refused), kill it
...

Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.
udevd[340]: worker [366] did not accept message -1 (Connection refused), kill it

udevd[340]: worker [370] did not accept message -1 (Connection refused), kill it

udevd[340]: worker [372] did not accept message -1 (Connection refused), kill it

Give root password for maintenance
(or type Control-D to continue): [  276.126762] systemd[1]: Startup finished in 14s 159ms 689us (kernel) + 2min 27s 791ms 24us (initrd) + 1min 54s 165ms 1us (userspace) = 4min 36s 115ms 714us.


How can this be fixed, and what's wrong here?


Regards,
Lars

> On 08/11/2011 03:54 AM, Lars Bjørndal wrote:
>> My approach is to install Fedora on to a virtual machine. The host is
>> Fedora 14, text mode. I'm blind, and because of that, I use BRLTTY, and
>> no X server or other graphic output. The problem is that anaconda do
>> switch to graphic mode during the install, and I'm stuck. Here is the
>> command I've tried:
>>
>> 'qemu-system-x86_64 -nographic\
>>   -cdrom Fedora-15-x86_64-DVD/Fedora-15-x86_64-DVD.iso \
>>   -k no  -curses -hda image.qcow2 -m 1024'.
>>
>> I then quickly did press enter, and typed:
>>
>> 'linux text nomodeset nofb'
>>
>> However, I get no output while typing, so I'm not sure the keyboard
>> input is reaching the guest system at all.
>>
>> Could someone please advice me on how to perform a text install to a
>> virtual machine?
>>
>> Regards,
>> Lars
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux