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?
Thanks for your help,
David
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
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@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - UNIX is actually quite user friendly. The problem is that it's - - just very picky of who its friends are! - ----------------------------------------------------------------------
On 12/15/2015 03:31 PM, Gordon Messmer wrote:
On 12/15/2015 01:09 PM, dwoody5654 wrote:
Is there documentation elsewhere that has more details on the use of an OS tree?
Are you specifying --dir relative to /home, or did you include "/home" in the path?
I tried using /home as part of the path and not using /home as a part of the path. Got the same results in both cases.
David
On Tue, Dec 15, 2015 at 1:09 PM, dwoody5654 dwoody5654@gmail.com wrote:
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.
Where did you find that documentation? IIRC, an installation tree hasn't been supported for a while now. The hard drive must contain the installation ISO. The documentation may be out of date.
https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.r...
On 12/16/2015 12:02 PM, Gordon Messmer wrote:
On Tue, Dec 15, 2015 at 1:09 PM, dwoody5654 dwoody5654@gmail.com wrote:
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.
Where did you find that documentation? IIRC, an installation tree hasn't been supported for a while now. The hard drive must contain the installation ISO. The documentation may be out of date.
I started with the installation guide for F23 https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/chap-... Then I click on Appendix A, /Kickstart Syntax Reference/ https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/appe-kickstart-syntax-reference.html /Then down to A.1.3
A harddrive option is listed url with a file option as well
From what you are saying, the only way to do a custom install for a desktop computer is to use netinstall and use: / /url --url http://mirrors.kernel.org/fedora/releases/23/Everything/i386/os/ or similar.
Which is what I have been doing. There are advantages to downloading the packages first. ie. shorter install time and if power goes out then the backup power supply could last until the power comes back on.
David
/
https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.r...
On 12/16/2015 10:57 AM, dwoody5654 wrote:
/ From what you are saying, the only way to do a custom install for a desktop computer is to use netinstall and use:/
I didn't say that at all. You can use a DVD as the install source. You can put the ISO, rather than the install tree, on the hard drive. You can use a local HTTP server with the install tree as the repo. You can use a local NFS server with the ISO or an install tree.
It looks like this was changed 7 years ago, in Fedora 10: https://fedorahosted.org/install-guide/ticket/25
And the current documentation for Anaconda is here: https://rhinstaller.github.io/anaconda/boot-options.html
Bugs should be filed for contradictory documentation.