Problem with offline installation using USB flash drive

Thomas Lange lange at informatik.uni-koeln.de
Mon Jul 24 10:20:46 CEST 2017


>>>>> On Mon, 24 Jul 2017 09:11:35 +0200, "Giorgio Buffa" <giorgiobuffa.work at gmail.com> said:

    > How can I told that hook that “If doing an installation via USB flash drive use the packages stored in the drive itself, otherwise grab them from Internet”? In general, is there a better way to
    > do that? How do you perform offline installation?
You have to add some code to your hook, that detects if FAI is running
from an NFS mounted directory, or from CD/USB stick. If FAI runs from
CD (same should be for USB stick) the root file system looks like this
when you call df:

/dev/mapper/live-rw .......       /


-- 
regards Thomas


More information about the linux-fai mailing list