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

I need to install Fedora 11 in my monitor-less linux box which is running some where in a data center. I will use Fedora 11 as a virtual machine.

What I already know/have:

1) How to create LVM partitions and create ext3 filesystem 2) Mount the LVM partition and ISO image 3) Run the partition with Xen as a virtual machine

What I need:

1) I need to install Fedora ll file system into an lvm partition (let's say /dev/fedora11) from an ISO image so that I have all the directories /root, /bin, /sys etc etc under /dev/fedora11

Any help would be much appreciated!

NOTE: I don't have a monitor for this server, so I need to do it via SSH

share|improve this question

migrated from stackoverflow.com Aug 22 '09 at 6:39

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers

You might want to look into kickstart for automated installation.

share|improve this answer
add comment

Assuming you want a paravirtualized guest, here is one way of doing it.

Install your Fedora 11 ISO on another system (provisioning server) that you have network and NFS access to. Say you install it as /FEDORA/fedora.iso. On this system create a subdirectory called /FEDORA/ISO and mount fedora.iso on /FEDORA/ISO using the loop, iso9660 options. Then export /FEDORA/ISO as rw,no_root_squash in /etc/exports.

On your system use virt-install with the nographics option (--nographics) to provision the Fedora 11 client guest. The location path (-l, --location) is nfs://provisioningserver/FEDORA/ISO.

share|improve this answer
add comment

You may configure vnc for your xen, start virtual machine from cdrom and with vnc and install Fedora as usual.

Here is a couple of howtos:

Another option is to use virt-install tool from libvirt: http://www.cyberciti.biz/tips/rhel-centos-xen-virtualization-installation-howto.html

share|improve this answer
add comment

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.