Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In kvm, using virt-install I can create centos images using this parameter in my virt install command.

-l http://mirror.umd.edu/centos/6/os/x86_64/

Starting install...
Retrieving file .treeinfo...                             |  798 B     00:00 ... 
Retrieving file vmlinuz...                               | 7.7 MB     00:00 ... 
Retrieving file initrd.img...                            |  62 MB     00:07 ...

Files get fetched from the mirror, kvm builds and installs the vm using my specifications. I'd like to know the equivalent of that mirror in ubuntu?

Here are few mirrors I digged out but I can't find a working one with this path, curling through the mirrors, I'm not finding treeinfo, vmlinuz, initrd.img files.

http://mirror.uoregon.edu/ubuntu/dists/maverick/main/installer-amd64/ http://ftp.ubuntu.com/ubuntu/dists/maverick/main/installer-i386/

Any pointers?

share|improve this question
1  
mirror.uoregon.edu/ubuntu/dists/precise/main/installer-amd64/… has a tree similar the one you refer (no .treeinfo) –  Salem Jun 21 '13 at 14:53
    
please answer question bellow, so I give you answer credit. thanks and just for anyone who is curious about this in the future –  kmassada Jun 21 '13 at 15:29
    
So using that url your images are correctly created? I will check if I can find a more generic answer to this: it is very odd that even here there is nothing pointing out how to use a mirror. –  Salem Jun 21 '13 at 15:43
    
# sudo virt-install --connect qemu:///system -n $NAME -r 2048 --vcpus=2 --disk path=/drives/A/images/$NAME.img,size=20 -l $LINK --vnc --noautoconsole --os-type linux --accelerate --network=bridge:br0 --network=bridge:br1 --hvm ERROR Error validating install location: Could not find an installable distribution at 'mirror.umd.edu/ubuntu/dists/quantal/main/installer-amd64/…; –  kmassada Jun 21 '13 at 17:58
    
its missing the .treeinfo file, i'm trying to see if I could trick my way around that. backdrift.org/ubuntu-lucid-10-04-cobbler-kickstart-setup-how-to –  kmassada Jun 21 '13 at 18:55

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.