Kickstarting from a USB drive - how to specify the repo?
Hi,
I'm trying to create a bootable USB drive based off of Fedora 21 and I'm having a bear of an issue specifying where the repository is supposed to be located.
I have in the root of my USB drive a folder labeled 'fedora' and in that, folders split by letter, the RPMs in there. I used 'createrepo' on the directory, so there is a proper repository in that directory.
I've currently attempted the following:
specifying the following in the boot options:
inst.repo=file:///mnt/install/fedorabut that did not work. I looked at the kickstart options, attempting to try to install from a harddrive.
install harddrive partition=/dev/disk/by-label/INSTALL --dir=/mnt/install/fedora
this also does not work. (the USB is labeled INSTALL).
specifying a url as a file does not work either.
url --url=file:///mnt/install/repo/fedora/
Is this even possible? Has anyone gotten this to work?
Have difficulty in understanding what you are trying to achieve here. Are you trying to create a bootable USB disk and then use this USB disk to kickstart installations on other machines? Also you want to create a repo on the same USB disk and use that repo to install packages on other machines?
The thumbdrive is an offline installer - therefore all the packages are on the USB drive. Telling kickstart to actually use the packages /on/ the thumbdrive, getting it to install /to/ a local disk, is the issue I am running it.