Ask Your Question
1

I'm unable to find packages to install from an USB drive with "harddrive" or "url --> file:///" Kickstart options

asked 2016-10-31 19:38:57 -0600

q2dg gravatar image

Hello.

I want to use an USB pendrive to do unattended installations of Fedora 24 Server. I append the inst.ks=hd:LABEL=myUsbLable:/ks.cfg parameter to boot menu (but no inst.stage2 nor inst.repo) and it's ok because Anaconda starts well and find the ks file. My problem is with "install" option.

If I do...: install harddrive --partition=sdb1 –dir=/ ...Anaconda GUI starts ok but shows "source is invalid" (although it specified partition is correctly selected). I think it's because Anaconda expect an iso file but what I have is the expanded tree.

If I do...: install url –url=file:///run/install/repo (or url --url=file:///run/install/isodir) ...a dracut error appears saying that "inst.repo" is not a valid location.

I don't think I'm trying to do something strange...this use case must be very common, isn't??. What's the problem?? Is it a bug??

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-10-31 20:37:35 -0600

sideburns gravatar image

I found some instructions for RHEL that may help you. It appears to say that what you need to do is find the UUID of your flash drive by using sudo blkid and adding ks=file://UUID/directory/ks.cfg to the command line at boot. Don't try to use something like /dev/sdc1 because that can change from machine to machine, and don't use the device's label because the documentation implies that it won't work.

edit flag offensive delete link more

Comments

Thanks, but that is not the problem. The ks.cfg file is found perfectly: the problem is ks.cfg file's options can't find source from get packages to install (which is, as I've said, the same USB pendrive where installer boots from)

q2dg gravatar imageq2dg ( 2016-11-01 05:20:52 -0600 )edit

Do you give a fully qualified path name to the files? If so, how do you qualify it? (At this point, I'm guessing, but you may need to use the full path for each file.)

sideburns gravatar imagesideburns ( 2016-11-01 12:58:24 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-10-31 19:38:57 -0600

Seen: 104 times

Last updated: Oct 31 '16