Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Installing from mounted ISO image over LAN

  1. #1

    Default Installing from mounted ISO image over LAN

    So i've been battling this for a while now, trying all sorts of different options and searching the boards before I finally decided to post this.

    I can't make CDs or DVDs, so my only option is to mount the downloaded ISO file on my laptop with CloneCD, then set up PXE DHCP,TFTP server. This method works on other distros but this one in particular is causing me problems in the installer.

    So here's the process:

    I copy the files vmlinuz and initrd from the \boot\i386\loader directory to my tftp root directory.

    on the system I am installing, i run gPXE, at the prompt type vmlinuz initrd=initrd

    I have tried a large combination of different options {install=nfs after I have been having trouble which I will get to later.

    the kernel loads, the installer starts. prompts for "Please make sure CD #1 is inserted" naturally, i hit back and select NFS as the install source.

    It then prompts me for DHCP configuration and the NFS server IP and directory.

    I'm running an NFS v3 server (haneWIN NFS to be specific) and exported the mounted ISO (this case F) as /suse.

    Enter the parameters 172.16.0.1 and /suse

    The installer then fails with No Repository found.

    While watching with Wireshark, I can clearly see that the installer did not even attempt to send one packet

    I then subsequently set up FTP and HTTP servers to host the contents of the ISO, again the installer did not even attempt to send a packet.

    The only option that yields any further results was the TFTP install option after I copied the contents in to the TFTP server directory.

    Then it would load the files and bring up Yast2, starting with the license agreement. Looks great at this point. As I continue the System Analysis option goes through all the steps and fails at Initialize Package Manager bringing up a pop up saying "unable to create repository from URL 'tftp://172.16.0.1/openSUSE' and it fails from this point on.

    I would really love to install OpenSUSE so I can test the XtreemOS 3.0 beta however i'm reaching the end of my options.

    The ISO images I've been using were the Full 4GB DVD then after that failed I tried again with the NET version, again the same result. It appears that the installer does not even try to use the other protocols.

    An option i have not yet considered is copying the contents of the ISO to the install system's HD, I find this moot since it would also be re partitioned.


    Cheers,
    Gary

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Installing from mounted ISO image over LAN

    If you have a USB port, it might be easier to install from a USB stick.

  3. #3

    Default Re: Installing from mounted ISO image over LAN

    Did you try one of those:


    ?

    This is how I install openSUSE from lan (in virtual machines though).

  4. #4
    Join Date
    Aug 2008
    Location
    Behind the 8 ball
    Posts
    116

    Default Re: Installing from mounted ISO image over LAN

    It sounds like you are heading in the right direction.
    You've got a lot of things going on so I'll show what I have done to get this working and hopefully we can get this figured out for you.
    First thing I did was copy the contents of an openSuse DVD into my web server directory.
    I used HTTP for the install source because it was easy to setup and I can figure what the installer is looking for by looking in Apache's error and access logs.
    I used pxelinux for PXE booting with the following config entry

    Code:
    # install
    label install
      kernel linux
      append initrd=initrd vga=normal install=http://<my_install_server>/ insecure=1 autoyast=http://<my_install_server>/profile/
    You don't need the autoyast part, that's only needed if you have an autoyast file for automagically installing packages and other system settings.

    Hope this helps,
    Hiatt

  5. #5

    Default Re: Installing from mounted ISO image over LAN

    Thanks all for your replies.

    I have tried those options to no avail. Looking into it further I discovered that I can not even ping from the shell. It grabs a valid IP from DHCP however. (i have also tried manual configuration, also changing from a /16 network to a /24 thinking maybe it just didnt like large subnets) I'm just baffled why only the TFTP would protocol attempt to connect to the server and none of the other protocols even leave the NIC. Perhaps it's a problem with the network driver.

    The kernel log shows this:

    repository: looking for http://172.16.0.1
    rescanning devices
    url mount: trying http://172.16.0.1/?device=eth0
    (Realtek RTL-8139/8139C/8139C+)
    interface setup: eth0
    err, eth0: Failed to lookup hostname via DNS: Temporary failure in name resolution
    sending DHCP request to eth0... ok.
    eth0 activated
    hostip: 172.16.1.1
    gateway: 172.16.0.1
    nameserver 0: 172.16.0.1
    loading http://172.16.0.1/content -> /content
    error 7: couldn't connect to host
    disk: mount ok but test failed
    url mount: http://172.16.0.1/?device=eth0 failed
    repository: not found
    no openSUSE repository found
    Automatic setup not possible.

    Thanks,
    Gary

  6. #6

    Default Re: Installing from mounted ISO image over LAN

    Quote Originally Posted by please_try_again View Post
    Did you try one of those:


    ?

    This is how I install openSUSE from lan (in virtual machines though).
    Yes i have the openSUSE-11.4-NET-i586.iso

    but just to satisfy sheer curiosity i'm downloading it again and verifying the checksum.

  7. #7

    Default Re: Installing from mounted ISO image over LAN

    well you all are going to laugh at this one. I know I sure did. After all the hours (days/nights) I spent on it, it finally dawned on me to turn off the firewall. Even tho it had all the ALLOW rules in place, for some reason it was still filtering it out. I'm still uncertain why other installers would work however.

    so there you have it. If you are trying to do what I did and run into problems like this, be sure and turn off the firewall filtering -- even tho the rules say allow all -- i guess we can't trust what the program says, just turn it off and it will work. lmao

    still running in to trouble with the setup asking for files like /add_on_products that doesn't exist. I think I can work with that at least.

    cheers,

    Gary

  8. #8

    Default Re: Installing from mounted ISO image over LAN

    What a beautiful operating system. I am glad I was finally able to get it working. I still can't believe the blonde moment about the firewall, that has to be too simple.
    Now I get to repeat the process a few more times for the other nodes. I'm not sure if it will work on the old Beast dell server that only contains 256MB of ram, but we shall see (perhaps text only).

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Installing from mounted ISO image over LAN

    On 2011-06-16 06:06, iotaatoi wrote:
    > I'm not sure if it will work on the old Beast dell server that only
    > contains 256MB of ram, but we shall see (perhaps text only).


    It will work, once installed. That is, the problem is installing.

    The usual trick is to partition the disk in advance, creating and
    initializing a swap partition at least (make it 2 GiB at least).


    Mind you, graphical mode will work, but slowly. Don't use kde nor gnome.
    Don't try applications like libreoffice; even firefox is huge. Disable
    flash. Graphical mode is useful for running YaST, even though it runs in
    text mode too.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10

    Default Re: Installing from mounted ISO image over LAN

    Better use icewm or openbox. Have a look at this post: Would like to confirm that problem is -- in fact -- a bug.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •