https://en.opensuse.org/SDB:Linuxrc
I've tried many times over the years, but from among the myriad of options available, I have never figured out how to put the pieces together to install from an installation ISO file available via Samba or NFS. Many linuxrc options are possible, but like in most man pages, examples are scarce, and inadequate for me to grok. Most if not all attempts before today were followed by success in either installing via HTTP (slower, but most frequent choice), or via copying the iso to local HD (clumsy), or via burning iso and booting from OM (clumsy and wasteful of plastic). Maybe once long ago I mounted the iso on the server and exported its mount point.
Following are my last 10 attempts that "Could not find the openSUSE Repository":
title Install SuSE 13.1 32bit DVD iso on CIFS a kernel (hd0,0)/suse131/linux32 install=cifs://?path=isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS a kernel (hd0,0)/suse131/linux32 install=nfs://openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS b kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos?file=openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on CIFS b kernel (hd0,0)/suse131/linux32 install=cifs://?path=/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS c kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on generic a kernel (hd0,0)/suse131/linux32 install=file://srvr/isos?file=openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS d kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on CIFS c kernel (hd0,0)/suse131/linux32 install=cifs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on SMB a kernel (hd0,0)/suse131/linux32 install=smb://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install Tumbleweed 32bit DVD iso on SMB a kernel (hd0,0)/factory/linux32 install=smb://srvr/isos/osTW586.iso initrd (hd0,0)/factory/initrd32
#9 & #10 seem to be exact matches to the smb example in the install section about 45% of the way down the page, yet, same error.
For simplicity, for all the cmdlines I pasted above I removed the network config settings and other options, all of which work in the following working HTTP stanza:
title Install SuSE 13.1 32bit download.opensuse.org kernel (hd0,0)/suse131/linux32 install=http://download.opensuse.org/distribution/13.1/repo/oss initrd (hd0,0)/suse131/initrd32
Is all network installation from other than HTTP broken?
Can anyone help me find the iso via network magic, so I don't need to fall back yet again next time? Please?
В Sat, 24 Jan 2015 01:05:28 -0500 Felix Miata mrmazda@earthlink.net пишет:
https://en.opensuse.org/SDB:Linuxrc
I've tried many times over the years, but from among the myriad of options available, I have never figured out how to put the pieces together to install from an installation ISO file available via Samba or NFS. Many linuxrc options are possible, but like in most man pages, examples are scarce, and inadequate for me to grok. Most if not all attempts before today were followed by success in either installing via HTTP (slower, but most frequent choice), or via copying the iso to local HD (clumsy), or via burning iso and booting from OM (clumsy and wasteful of plastic). Maybe once long ago I mounted the iso on the server and exported its mount point.
Following are my last 10 attempts that "Could not find the openSUSE Repository":
title Install SuSE 13.1 32bit DVD iso on NFS c kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS d kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
I expect these to work. Did you check root squash on NFS server?
title Install SuSE 13.1 32bit DVD iso on CIFS c kernel (hd0,0)/suse131/linux32 install=cifs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on SMB a kernel (hd0,0)/suse131/linux32 install=smb://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
First path component is a share; i.e. CIFS server must share path under name "isos". Of course, either you need to allow anonymous access or supply credentials.
Andrei Borzenkov composed on 2015-01-24 10:06 (UTC+0300):
Sat, 24 Jan 2015 01:05:28 -0500 Felix Miata composed:
I've tried many times over the years, but from among the myriad of options available, I have never figured out how to put the pieces together to install from an installation ISO file available via Samba or NFS. Many linuxrc options are possible, but like in most man pages, examples are scarce, and inadequate for me to grok. Most if not all attempts before today were followed by success in either installing via HTTP (slower, but most frequent choice), or via copying the iso to local HD (clumsy), or via burning iso and booting from OM (clumsy and wasteful of plastic). Maybe once long ago I mounted the iso on the server and exported its mount point.
Following are my last 10 attempts that "Could not find the openSUSE Repository":
title Install SuSE 13.1 32bit DVD iso on NFS c kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS d kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
c & d were supposed to be different. :-p
I expect these to work. Did you check root squash on NFS server?
I don't know anything about checking. Showmount -e from the client end doesn't say anything about squash. The exports file for the server's /isos directory has included the ro,root_squash,sync options for at least 30 months. I changed it to ro,no_root_squash,sync, then did exportfs -r, but get the same error. So I tried exportfs -auv; exportfs -av, which also didn't help. Then I moved the iso into a subdirectory on the server and adjusted cmdline accordingly. That too fails.
title Install SuSE 13.1 32bit DVD iso on CIFS c kernel (hd0,0)/suse131/linux32 install=cifs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on SMB a kernel (hd0,0)/suse131/linux32 install=smb://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
First path component is a share; i.e. CIFS server must share path under name "isos".
# smbtree -N WORKGROUP \SRVR \SRVR\isos
Of course, either you need to allow anonymous access or supply credentials.
Creds I don't use for Grub stanzas in part in order to prevent escape into places like bug report attachments and such, but also because I use Samba so little I always forget how since the last time I tried. Anonymous access I forgot to use here, but seems to be broken on my Evergreen 11.4 server anyway. I'll have to figure out how to fix that without breaking the special configs required for OS/2 LANMAN access when I have more time to dig into it. NFS is really what I want to get working.
В Sat, 24 Jan 2015 03:22:35 -0500 Felix Miata mrmazda@earthlink.net пишет:
Andrei Borzenkov composed on 2015-01-24 10:06 (UTC+0300):
Sat, 24 Jan 2015 01:05:28 -0500 Felix Miata composed:
I've tried many times over the years, but from among the myriad of options available, I have never figured out how to put the pieces together to install from an installation ISO file available via Samba or NFS. Many linuxrc options are possible, but like in most man pages, examples are scarce, and inadequate for me to grok. Most if not all attempts before today were followed by success in either installing via HTTP (slower, but most frequent choice), or via copying the iso to local HD (clumsy), or via burning iso and booting from OM (clumsy and wasteful of plastic). Maybe once long ago I mounted the iso on the server and exported its mount point.
Following are my last 10 attempts that "Could not find the openSUSE Repository":
title Install SuSE 13.1 32bit DVD iso on NFS c kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
title Install SuSE 13.1 32bit DVD iso on NFS d kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
c & d were supposed to be different. :-p
I expect these to work. Did you check root squash on NFS server?
I don't know anything about checking. Showmount -e from the client end doesn't say anything about squash. The exports file for the server's /isos directory has included the ro,root_squash,sync options for at least 30 months. I changed it to ro,no_root_squash,sync, then did exportfs -r, but get the same error. So I tried exportfs -auv; exportfs -av, which also didn't help. Then I moved the iso into a subdirectory on the server and adjusted cmdline accordingly. That too fails.
Could you capture tcpdump on server (tcpdump -s 1500 -w /tmp/nfs.pcap -i ethX) and make result somewhere available?
Felix Miata wrote:
title Install SuSE 13.1 32bit DVD iso on NFS c kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
I would expect that one to work, but I have not used ISOs as installation source for a few years.
Per Jessen wrote:
Felix Miata wrote:
title Install SuSE 13.1 32bit DVD iso on NFS c kernel (hd0,0)/suse131/linux32 install=nfs://srvr/isos/openSUSE-13.1-DVD-i586.iso initrd (hd0,0)/suse131/initrd32
I would expect that one to work, but I have not used ISOs as installation source for a few years.
I just ran a test installation from an nfs mounted iso, worked fine.
MFS server setup:
/home/per *(rw,sync,no_subtree_check,no_root_squash)
(the ISO is openSUSE-13.2-DVD-x86_64.iso in /home/per)
PXE boot setup:
label os132nfs kernel install/opensuse132.64bit.kernel append initrd=install/opensuse132.64bit.initrd usessh=1 sshpassword=1234 noresume install=nfs://mirage/home/per/openSUSE-13.2-DVD-x86_64.iso