Ask Your Question

Difficulties installing F19 from USB

asked 2013-12-11 12:21:25 -0500

Ben84 gravatar image

updated 2013-12-11 13:10:48 -0500

I'm having a bit of a bootstrapping issue when installing Fedora 19 to a new Lenovo Y510P. It's being a bit of a pain, but I'm having two problems in particular that are bringing me to a full halt. I will try to keep this concise, but can provide more details if they are useful.

I can successfully install from a bootable USB containing a Live CD image (KDE 64 bit), but neither my ethernet nor wireless work out of the box. I verified that installing compat-drivers should support my hardware, but I can't build that without compilers not supplied by the live CD. Is there a method for manually installing the compilers via usb stick?

As an alternative, I created a bootable USB with the full fedora 19 x86_64 install DVD so that I could install compilers from the start. This boots perfectly fine and launches the installer, but the installer does not recognize the USB as a valid installation source. The closest reference to this problem I could find in any forum is the final two messages here:

(Edit: Since this is a new account I'm posting from I cannot provide direct links. If you go to redhats bugzilla, it is bug id 873647)

According to that I should be fine if I burn the install DVD to an actual DVD, but I currently have none so I'm looking for other options first. Perhaps there is a way to boot into my installed Fedora (which lacks compilers) and tell yum to install from the repos on the USB stick containing the full DVD install? I'm unsure how to proceed doing that...



I managed to find instructions on using the DVD as a repository (sorry that I missed it the first time around), but am still having difficulties. Just to be clear I:

  • Have the USB stick with the install DVD information mounted at /run/media/root/LIVE
  • I have created /etc/yum.repos.d/dvd.repo as follows:
  • The instructions in section of the fedora docs say that my baseurl should be appended by either /Server (or /Client depending on my media). However, if I try to "yum install gcc", this results in the message "Couldn't open file /run/media/root/LIVE/Server/repodata/repomd.xml". If I omit /Server as shown above, it looks for /run/media/root/LIVE/repodata/repomd.xml which does exist.
  • While the path I am using does find a repomd.xml, attempting to install gcc results in the errors "Cannot retrieve metalink for repository: fedora/19/x86_64 Please verify its path and try again"
  • If I change my install command to "yum --disablerepo=\* --enablerepo=dvd install gcc" then it tries to find a dvd/primary_db and fails after checking several mirrors. (I'll post the actual error messages if useful ...
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2013-12-11 13:31:11 -0500

Ben84 gravatar image

I swear, I fought this for over a day, and it's not until I decide to start posting things that I find solutions. Sorry to be having conversations with myself, but maybe someone will come along and find this useful!

Anyway, the solution to my problem is related to bug 715415 in fedora's bugzilla. Basically my USB drive containing the DVD install had an error where the files in /repodata were missing their file extensions. The original poster in bug 715415 had this problem because 7zip was truncating names; I had this problem because it is how the fedora live-usb creation tool did things. I went through and manually renamed each file in the repodata directory to have the extensions indicated in repomd.xml, and now both of my problems with the DVD install medium have vanished. I can both use the install medium as a repository, and I can actually install a fresh OS from it as well.

edit flag offensive delete link more

answered 2013-12-11 16:58:47 -0500

williamjmorenor gravatar image

You can make a mini repo in a USB, here is a video about repos at USB, you only need a PC with the same versión of Fedora and the same arch, a virtual machine can help.

edit flag offensive delete link more

Question Tools


Asked: 2013-12-11 12:21:25 -0500

Seen: 635 times

Last updated: Dec 11 '13