Hi all,
I've checked my bittorrent isos sha1sum and all pass.
from my nfs server : [cwt@localhost CThomas]$ cat /etc/exports | grep fc4 /home/CThomas/fc4 192.168.1.*(ro,sync)
On my install target [192.168.1.104], all IP's, nfs shares, netmasks and such are set correctly, and double checked.
At the first attempt after linux askmethod from the rescue CD, I get an error/box saying an FC installation tree was not found. If I go back and try again, either changing settings or not, I get an error/box indicating "That directory could not be mounted from the server". My FC3 workstation can mount said share just fine. Each boot repeats these same steps every time, first the no install tree, then the no mount.
Has anyone performed an NFS install successfully?
[I know I can burn the discs...]
Craig Thomas wrote:
Hi all,
I've checked my bittorrent isos sha1sum and all pass.
from my nfs server : [cwt@localhost CThomas]$ cat /etc/exports | grep fc4 /home/CThomas/fc4 192.168.1.*(ro,sync)
On my install target [192.168.1.104], all IP's, nfs shares, netmasks and such are set correctly, and double checked.
At the first attempt after linux askmethod from the rescue CD, I get an error/box saying an FC installation tree was not found. If I go back and try again, either changing settings or not, I get an error/box indicating "That directory could not be mounted from the server". My FC3 workstation can mount said share just fine. Each boot repeats these same steps every time, first the no install tree, then the no mount.
Has anyone performed an NFS install successfully?
[I know I can burn the discs...]
Could this be bug #149790 ?
Downgrading to util-linux-2.12p-1 fixes nfs for me, but I don't know how you would do that in an nfs-install situation.
John
Could this be bug #149790 ?
I don't think so- my NFS server has a proper DNS entry and I'm seeing different error messages.
I'm having the same problem (see message: FC4t1: Can't install form isos via nfs...). One of the consoles reports that it has mounted my nfs volume on /mnt/source, but says: "LOOP_FD_SET Failed: device or resource busy" when it tries to mount the isos on loopback.
-Ed
On Wed, 16 Mar 2005 11:10:46 -0500, Craig Thomas cjtinhp@optonline.net wrote:
I've checked my bittorrent isos sha1sum and all pass.
from my nfs server : [cwt@localhost CThomas]$ cat /etc/exports | grep fc4 /home/CThomas/fc4 192.168.1.*(ro,sync)
lets be clear... nfs with an exploded tree.. or nfs with isos? bug 150887 covers why nfs with isos fail.
-jef
On Wed, 2005-03-16 at 11:37 -0500, Jeff Spaleta wrote:
lets be clear... nfs with an exploded tree.. or nfs with isos?
...with isos.
bug 150887 covers why nfs with isos fail.
Thanks for the pointer, and sorry for not searching bugzilla before posting.
On Wed, 2005-03-16 at 12:52 -0500, Craig Thomas wrote:
On Wed, 2005-03-16 at 11:37 -0500, Jeff Spaleta wrote:
lets be clear... nfs with an exploded tree.. or nfs with isos?
...with isos.
bug 150887 covers why nfs with isos fail.
Well, now that we know why an NFS install, via ISO, won't work, do we have a work around it as of yet (as in new ISO's) or something? I know this is the first test, but if you can't even do an ISO install, or have to do that much more work to use an exploded tree, seems totally not worth testing any further.
Guess I could try an FTP or HTTP install if I can still use the ISO's instead of working around them or redownloading the files as a tree.
On Wed, 2005-03-16 at 18:14 -0600, Mike Chambers wrote:
Well, now that we know why an NFS install, via ISO, won't work, do we have a work around it as of yet (as in new ISO's) or something?
In my case, I mounted the disc1 iso with
mount -o loop -t iso9660 /path/2/FC4-test1-i386-disc1.iso /home/cwt/fc4
then ran the nfs install with custom>minimal.
After that,
yum --exclude=gnome-applets --exclude=gnome-pilot groupinstall "GNOME Desktop Environment"
[yum is much faster on successive runs, bravo]
Then, for some reason, I had to start the font server[?]
service xfs start
[also manually added user per some other posts useradd cwt passwd cwt ]
then a login via cwt and startx works, yet to install anything else to play with :)
I know this is the first test, but if you can't even do an ISO install, or have to do that much more work to use an exploded tree,
was easy, but not sure how to explode all four iso's into an nfs share...?
Guess I could try an FTP or HTTP install if I can still use the ISO's
Didn't try, but would suspect these fail for same failed loopback as the iso nfs install, but really no idea.
On Wed, Mar 16, 2005 at 08:53:47PM -0500, Craig Thomas wrote:
was easy, but not sure how to explode all four iso's into an nfs share...?
A directory populated with symlinks to all rpms from loop-mounted isos should do. You can run createrepo on that if needed. If you can mount that over NFS then yum will handle it as in your yum config "baseurl=file:///...." is fine even if such location is really NFS mounted.
There are possibly some refinements to that but this is the general idea. Most likely you want a tree which includes all these mountpoints, a directory with symlinks and 'nohide' in exports or you will have quite a few things to mount in right places and order. I did not try that but it should work; maybe after a tweak or two. :-)
Michal
On Wed, 2005-03-16 at 20:53 -0500, Craig Thomas wrote:
On Wed, 2005-03-16 at 18:14 -0600, Mike Chambers wrote:
Well, now that we know why an NFS install, via ISO, won't work, do we have a work around it as of yet (as in new ISO's) or something?
In my case, I mounted the disc1 iso with
mount -o loop -t iso9660 /path/2/FC4-test1-i386-disc1.iso /home/cwt/fc4
then ran the nfs install with custom>minimal.
Ok, you got me scratching my head. When did you do the manual mount? After trying to boot up with the cd and doing the install (linux askmethod) up to the mounting part? (if you mount it to a /home dir, does that mean /home can't be reformatted on the machine your doing the install on?)
Could you detail the steps you took to get the install going?
On Thu, 2005-03-17 at 02:35 -0600, Mike Chambers wrote:
On Wed, 2005-03-16 at 20:53 -0500, Craig Thomas wrote:
On Wed, 2005-03-16 at 18:14 -0600, Mike Chambers wrote:
Well, now that we know why an NFS install, via ISO, won't work, do we have a work around it as of yet (as in new ISO's) or something?
In my case, I mounted the disc1 iso with
mount -o loop -t iso9660 /path/2/FC4-test1-i386-disc1.iso /home/cwt/fc4
then ran the nfs install with custom>minimal.
Ok, you got me scratching my head. When did you do the manual mount?
sorry to not be more clear, It is an additional step in setting up the nfs share. I did the manual mount of the iso on the nfs server [to explode the iso into files/directories] prior to starting the install. During the install nothing is done differently.
On the nfs sever: 1 $mkdir /path/2/fc4 2 $mount -o loop -t iso9660 /path/2/FC4-test1-i386-disc1.iso /path/2/fc4
3 export /path/2/fc4 as nfs share [/path/2/fc4 192.168.1.*(ro,sync)] service nfs restart
On the install target 4 linux askmethod at promopt
5 continue with nfs minimal install as normal.
6 then I used yum to install GNOME, with some excludes for missing dependencies in rawhide [YMMV].
yum --exclude=gnome-applets --exclude=gnome-pilot groupinstall "GNOME Desktop Environment"
7 service xfs start [the X font server needs to be running for X to start]
8 some other posts suggested that first boot wont run, so I manually added a user besides root.
I'm logged into X now, gawking at Native Eclipse and java...whoohoo.
HTH,
On Thu, 2005-03-17 at 06:59 -0500, Craig Thomas wrote:
sorry to not be more clear, It is an additional step in setting up the nfs share. I did the manual mount of the iso on the nfs server [to explode the iso into files/directories] prior to starting the install. During the install nothing is done differently.
On the nfs sever: 1 $mkdir /path/2/fc4 2 $mount -o loop -t iso9660 /path/2/FC4-test1-i386-disc1.iso /path/2/fc4
3 export /path/2/fc4 as nfs share [/path/2/fc4 192.168.1.*(ro,sync)] service nfs restart
On the install target 4 linux askmethod at promopt
5 continue with nfs minimal install as normal.
Ok, another stupid question.
1 - If I understood you correctly, you mounted the first ISO, used the files in it to do a minimal install via NFS but to the files instead of the ISO?
2 - Depending on answer to first question, what if I wanted a more than minimal install, don't I have to do all 4 iso's like that so they include all the files and are in the same dir? Or do I have to do it differently to get them all in the same dir and have proper structure lay out?
Mike Chambers wrote:
On Thu, 2005-03-17 at 06:59 -0500, Craig Thomas wrote:
On the nfs sever: 1 $mkdir /path/2/fc4 2 $mount -o loop -t iso9660 /path/2/FC4-test1-i386-disc1.iso /path/2/fc4
like in the good old days. see /usr/share/doc/fedora-release*/README*
<snip fc3-release> If you are setting up an installation tree for NFS, FTP, or HTTP installations, you need to copy the RELEASE-NOTES files and all files from the Fedora directory on discs 1-3. On Linux and Unix systems, the following process will properly configure the /target/directory on your server (repeat for each disc):
1. Insert disc
2. mount /mnt/cdrom
3. cp -a /mnt/cdrom/Fedora /target/directory
4. cp /mnt/cdrom/RELEASE-NOTES* /target/directory (Do this only for disc 1)
5. umount /mnt/cdrom </snip>
3 export /path/2/fc4 as nfs share [/path/2/fc4 192.168.1.*(ro,sync)] service nfs restart
On the install target 4 linux askmethod at promopt
5 continue with nfs minimal install as normal.
Ok, another stupid question.
1 - If I understood you correctly, you mounted the first ISO, used the files in it to do a minimal install via NFS but to the files instead of the ISO?
2 - Depending on answer to first question, what if I wanted a more than minimal install, don't I have to do all 4 iso's like that so they include all the files and are in the same dir? Or do I have to do it differently to get them all in the same dir and have proper structure lay out?
you can do what you want: rescue, minimal, server, workstation, custom, expert, ...
On Fri, 2005-03-18 at 01:58 +0100, shrek-m@gmx.de wrote:
<snip fc3-release> If you are setting up an installation tree for NFS, FTP, or HTTP installations, you need to copy the RELEASE-NOTES files and all files from the Fedora directory on discs 1-3. On Linux and Unix systems, the following process will properly configure the /target/directory on your server (repeat for each disc):
1. Insert disc 2. mount /mnt/cdrom 3. cp -a /mnt/cdrom/Fedora /target/directory 4. cp /mnt/cdrom/RELEASE-NOTES* /target/directory (Do this only for disc 1) 5. umount /mnt/cdrom
I will read through the docs and see what I can find out, but I am doing this from the ISO's, not cd's (so this is somewhat diff?). I would rather not waste creating cd's if I can install from the ISO or create the files from the ISO's.
2 - Depending on answer to first question, what if I wanted a more than minimal install, don't I have to do all 4 iso's like that so they include all the files and are in the same dir? Or do I have to do it differently to get them all in the same dir and have proper structure lay out?
you can do what you want: rescue, minimal, server, workstation, custom, expert, ...
Yes, I knew that, thanks. But he was only mounting the one ISO and at first, and I wasn't sure if he was just using it to get started then using the rest of the ISO's as themselves, or if you had to unpack them or whatever so *all* files were there and doing the install that way.
Mike Chambers wrote:
On Fri, 2005-03-18 at 01:58 +0100, shrek-m@gmx.de wrote:
<snip fc3-release> If you are setting up an installation tree for NFS, FTP, or HTTP installations, you need to copy the RELEASE-NOTES files and all files from the Fedora directory on discs 1-3. On Linux and Unix systems, the following process will properly configure the /target/directory on your server (repeat for each disc):
Insert disc
mount /mnt/cdrom
cp -a /mnt/cdrom/Fedora /target/directory
cp /mnt/cdrom/RELEASE-NOTES* /target/directory (Do this only for disc
umount /mnt/cdrom
I will read through the docs and see what I can find out, but I am doing this from the ISO's, not cd's (so this is somewhat diff?).
replace cdrom with your loop device (see Craigs posting)
eg. # mkdir /mnt/loop
1; # mount -oloop FC4-test1-i386-disc1.iso /mnt/loop 2; # cp -a /mnt/loop/Fedora /target/directory 3; # cp /mnt/loop/RELEASE-NOTES* /target/directory (Do this only for disc 1) 4; # umount /mnt/loop
repeat 1,2,4 with all isos or with the isos/rpms you really need for your installation minimal-english = cd #1 you know whichcd ? eg. under fedora core 3 $ /usr/share/comps-extras/whichcd.py mozilla mozilla-1.7.3-17.i386.rpm is on disc 2
you can burn cd #1 or the boot.iso on a cd-rw. eg. http://download.fedora.redhat.com/pub/fedora/linux/core/test/3.90/i386/os/im... boot from this cd-rw choose hd|nfs|ftp|http installation which points to your target-directory
I would rather not waste creating cd's
no wasted time/cd
if I can install from the ISO
unfortunately the iso-installation is broken in fc4t1
or create the files from the ISO's.
yes you can.
On Fri, 2005-03-18 at 10:05 +0100, shrek-m@gmx.de wrote:
Mike Chambers wrote:
On Fri, 2005-03-18 at 01:58 +0100, shrek-m@gmx.de wrote:
<snip fc3-release> If you are setting up an installation tree for NFS, FTP, or HTTP installations, you need to copy the RELEASE-NOTES files and all files from the Fedora directory on discs 1-3. On Linux and Unix systems, the following process will properly configure the /target/directory on your server (repeat for each disc):
Insert disc
mount /mnt/cdrom
cp -a /mnt/cdrom/Fedora /target/directory
cp /mnt/cdrom/RELEASE-NOTES* /target/directory (Do this only for disc
umount /mnt/cdrom
I will read through the docs and see what I can find out, but I am doing this from the ISO's, not cd's (so this is somewhat diff?).
replace cdrom with your loop device (see Craigs posting)
eg. # mkdir /mnt/loop
1; # mount -oloop FC4-test1-i386-disc1.iso /mnt/loop 2; # cp -a /mnt/loop/Fedora /target/directory 3; # cp /mnt/loop/RELEASE-NOTES* /target/directory (Do this only for disc 1) 4; # umount /mnt/loop
repeat 1,2,4 with all isos or with the isos/rpms you really need for your installation minimal-english = cd #1 you know whichcd ? eg. under fedora core 3 $ /usr/share/comps-extras/whichcd.py mozilla mozilla-1.7.3-17.i386.rpm is on disc 2
If you need more than the first disc, a way to avoid all the cp'ing would be to download the dvd iso, and use it in place of the four cd isos for the network install. [I'll try this next time].
# mount -o loop -t iso9660 FC4-test1-i386-dvd.iso /mnt/loop
and then do the nfs, http etc install in what ever configuration [minimal, server, desktop, custom] you'd like.
<snip useful info>
On Fri, Mar 18, 2005 at 10:05:52AM +0100, shrek-m@gmx.de wrote:
replace cdrom with your loop device (see Craigs posting)
eg. # mkdir /mnt/loop
1; # mount -oloop FC4-test1-i386-disc1.iso /mnt/loop 2; # cp -a /mnt/loop/Fedora /target/directory 3; # cp /mnt/loop/RELEASE-NOTES* /target/directory (Do this only for disc 1) 4; # umount /mnt/loop
If you don't want to use the extra space for both ISO and file copies:
mount -o loop,ro FC4-test1-i386-disc1.iso mnt/loop1 mount -o loop,ro FC4-test2-i386-disc1.iso mnt/loop2 mount -o loop,ro FC4-test3-i386-disc1.iso mnt/loop3 mount -o loop,ro FC4-test4-i386-disc1.iso mnt/loop4 cd /target/directory lndir ../../../mnt/loop1 . lndir ../../../mnt/loop2 . lndir ../../../mnt/loop3 . lndir ../../../mnt/loop4 .