On 12/15/2015 02:22 PM, dwoody5654 wrote:
On 12/15/2015 04:20 PM, cs wrote:
> On 12/15/2015 03:20 PM, Rick Stevens wrote:
>> On 12/15/2015 01:09 PM, dwoody5654 wrote:
>>> I have been using the following with no problems:
>>> url --url
>>>
http://mirrors.kernel.org/fedora/releases/22/Everything/i386/os/
>>>
>>> However, One computer I need to upgrade is in another city and in an
>>> area that has power outages on occasion but It has battery backup.
>>> During a netinstall, if the power goes out while downloading the
>>> packages -- that would require me to go to the location. So I am
>>> trying
>>> to use a local OS tree for the install. This will reduce the risk from
>>> power outage.
>>>
>>> The documentation says the following:
>>>
>>> |harddrive|
>>> Install from a tree or full installation ISO image on a local hard
>>> drive. The tree or ISO image must be on a file system which is
>>> mountable in the installation environment. Supported file systems
>>> are |ext2|, |ext3|, |ext4|, |vfat|, or |xfs|.
>>>
>>> |install| |harddrive --partition= | --biospart= [--dir=]|
>>>
>>> |--partition=|
>>> Partition to install from (such as |sdb2|).
>>> |--biospart=|
>>> BIOS partition to install from (such as |82p2|).
>>> |--dir=|
>>> Directory containing the installation tree or ISO image.
>>>
>>>
>>> I only have one drive in the computer: /dev/sda.
>>>
>>> When I use:
>>>
>>> |harddrive --partition=/dev/sda2 --dir=/path/os|
>>>
>>> The target mount points are:
>>> sda1 is mounted as /
>>> sda2 is mounted as /home
>>>
>>> The errors are that the drive is not found for install and os tree also
>>> fails.
>>>
>>> I also tried:
>>>
>>> |harddrive --partition=sda2 --dir=/path/os|
>>>
>>>
>>> I have not found any other info.
>>>
>>> Is there documentation elsewhere that has more details on the use of an
>>> OS tree?
>>
>> You choose either "--partition=" OR "--biospart=" OR
"--dir=", not
>> multiples (the "|" character means "OR"). In your case,
you'd do
>>
>> install harddrive --dir=/path/to/isofile
> Using --dir only, I get an error that says the partition or the
> biospart must be specified.
Ah. Ok, I suspect you need:
install harddrive --partition=sda2 --dir=path/to/tree
don't include a leading "/" in the partition or dir parameters and
don't include the pipe characters ("|"). The pipe characters are only
there to show you the various options. In this case the permutations
are:
install harddrive --partition=somepart
install harddrive --partition=somepart --dir=somepath
install harddrive --biospart=somepart
install harddrive --biospart=somepart --dir=somepath
If you don't include "--dir=somepath", then it's expected that the
tree or ISO file is in the root of the "--partition=" or
"--biospart=" specified.
I haven't written a kickstart file in a long, LONG time, so I'm a bit
rusty.
> Also I am trying to use a os tree that I downloaded from
>
http://mirrors.kernel.org/fedora/releases/23/Everything/i386/os/
>
>
> David
>>
>> For example, if the ISO file is
>> /home/ISOFiles/Fedora-Live-Xfce-x86_64-23-10.iso, then I think you'd
>> use:
>>
>> install harddrive
>> --dir=/home/ISOFiles/Fedora-Live-Xfce-x86_64-23-10.iso
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- "And on the seventh day, He exited from append mode." -
----------------------------------------------------------------------