Install Fedora 24 Workstation via PXE
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2015
    Location
    Hungary - Budapest
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Install Fedora 24 Workstation via PXE

    Hello Forum,

    I have a PXE server installed on a CentOS 7 machine and I have the images on a http reachable server here on localhost.

    I have CentOS, Fedora, Ubuntu and openSUSE on the PXE server and both CentOS and openSUSE works like a charm. However, I have problems with Fedora 23 & 24. (+ Ubuntu, but that is not a question here)

    Here is my pxe default file:

    Code:
    default menu.c32
    prompt 0
    timeout 100
    ONTIMEOUT Fedora-24-x64
    
    menu title ########## PXE Boot Menu ##########
    
    LABEL CentOS-6.3-x64
    	MENU LABEL CentOS 6.3 x64
    	KERNEL centos/6/vmlinuz
    	APPEND initrd=centos/7/initrd.img ip=dhcp repo=http://10.0.0.16/Linux-distributions/CentOS-6.3-x86_64-minimal/
    
    LABEL CentOS-7-x64-minimal
            MENU LABEL CentOS 7.2 x64
            KERNEL centos/7/vmlinuz
            APPEND initrd=centos/7/initrd.img ip=dhcp repo=http://10.0.0.16/Linux-distributions/CentOS-7-x86_64-Minimal-1511/
    
    LABEL Fedora-24-x64
            MENU LABEL Fedora 24 x64
            KERNEL fedora/24/vmlinuz
            APPEND initrd=fedora/24/initrd.img ip=dhcp inst.stage2=http://10.0.0.16/Linux-distributions/Fedora-Workstation-Live-x86_64-24-1.2/
    
    LABEL Fedora-23-x64
            MENU LABEL Fedora 23 x64
            KERNEL fedora/23/vmlinuz0
            APPEND initrd=fedora/23/initrd0.img ip=dhcp repo=http://10.0.0.16/Linux-distributions/Fedora-Live-Workstation-x86_64-23-10/
    
    
    LABEL openSUSE-Leap-42.1
    	MENU LABEL openSUSE Leap 42.1
    	KERNEL opensuse/leap/42.1/linux
    	APPEND initrd=opensuse/leap/42.1/initrd ip=dhcp repo=http://10.0.0.16/Linux-distributions/openSUSE-Leap-42.1-DVD-x86_64/
    
    LABEL Ubuntu-16.04-lts
            MENU LABEL Ubuntu 16.04 LTS
            KERNEL ubuntu/16.04/vmlinuz.efi
            APPEND ks=http://10.0.0.16/Linux-distributions/ubunntu-ks.cfg vga=normal initrd=ubuntu/16.04/initrd.lz ip=dhcp
    I've copied vmlinuz and initrd.img from the Fedora-Workstation-Live-x86_64-24-1.2/images/pxeboot/

    However, all machines (virtual, physical) both stops at something like:
    Code:
    dracut: FATAL: No or empty root= argument
    dracut: Refusing to continue
    ....
    ...
    reboot: System halted
    Does anybody know why Fedora is doing this? Is the config file even looking good?

  2. #2
    Join Date
    Jul 2016
    Location
    aberdeen
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    Where did you get your vmlinuz and initrd from? I had roughly the same problem except mines would halt after checking USB, anyway i originally took my images from an ISO under the pxe folder, i have now instead downloaded them again from a mirror (mirror i used is below in my cfg) also on another note, shouldnt you have a root=/dev/nfs somewhere?

    Code:
    default 2
    prompt 1
    timeout 1200
    clear
    DISPLAY f1.txt
    F1 f1.txt
    
    # Install x86_x64 Slackware 14.1
    label 1
      kernel Slackware14.1/kernels/huge.s/bzImage
      append initrd=Slackware14.1/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=kernels/huge.s
    
    # Install x86_x64 Slackware 14.2
     label 2
     kernel Slackware14.2/kernels/huge.s/bzImage
     append initrd=Slackware14.2/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=kernels/huge.s
    
    
    # Install x86_x64 Slackware Current
     label 3
     kernel SlackwareC/kernels/huge.s/bzImage
     append initrd=SlackwareC/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=kernels/huge.s
    
    # Install x86_64 OpenSUSE 42.1
     label 4
      kernel Opensuse/linux
      append initrd=Opensuse/initrd splash=silent vga=0x314 showopts install=nfs://192.168.1.1:/volume1/PXE/Opensuse
    
    # Install x86_64 Fedora 24
     label 5
     kernel Fedora/vmlinuz
     append initrd=Fedora/initrd.img inst.stage2=https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux//releases/24/Workstation/x86_64/os/
    Last edited by pr0xibus; 10th July 2016 at 07:56 AM.

  3. #3
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,156
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    Hi, are you aware of this resource? https://boot.fedoraproject.org/

  4. #4
    Join Date
    Jun 2015
    Location
    Hungary - Budapest
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    Quote Originally Posted by antikythera
    Hi, are you aware of this resource? https://boot.fedoraproject.org/
    No I wasn't, but this is not going to be a sollution for me.

  5. #5
    Join Date
    Jun 2015
    Location
    Hungary - Budapest
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    Quote Originally Posted by pr0xibus
    Where did you get your vmlinuz and initrd from? I had roughly the same problem except mines would halt after checking USB, anyway i originally took my images from an ISO under the pxe folder, i have now instead downloaded them again from a mirror (mirror i used is below in my cfg) also on another note, shouldnt you have a root=/dev/nfs somewhere?

    Code:
    default 2
    prompt 1
    timeout 1200
    clear
    DISPLAY f1.txt
    F1 f1.txt
    
    # Install x86_x64 Slackware 14.1
    label 1
      kernel Slackware14.1/kernels/huge.s/bzImage
      append initrd=Slackware14.1/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=kernels/huge.s
    
    # Install x86_x64 Slackware 14.2
     label 2
     kernel Slackware14.2/kernels/huge.s/bzImage
     append initrd=Slackware14.2/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=kernels/huge.s
    
    
    # Install x86_x64 Slackware Current
     label 3
     kernel SlackwareC/kernels/huge.s/bzImage
     append initrd=SlackwareC/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=kernels/huge.s
    
    # Install x86_64 OpenSUSE 42.1
     label 4
      kernel Opensuse/linux
      append initrd=Opensuse/initrd splash=silent vga=0x314 showopts install=nfs://192.168.1.1:/volume1/PXE/Opensuse
    
    # Install x86_64 Fedora 24
     label 5
     kernel Fedora/vmlinuz
     append initrd=Fedora/initrd.img inst.stage2=https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux//releases/24/Workstation/x86_64/os/
    Cheers for the idea. I've downloaded the initrd.img and vmlinuz from that mirror and somehow it goes further but still crashes. Also tried to add your idea with root=/dev/nfs but didn't solve the problem. :/

    It just goes into emergency mode and that's it.

    I've print screened my VBox when the error occured. Any idea?

    Last edited by bertalanimre; 11th July 2016 at 01:27 PM.

  6. #6
    Join Date
    Jul 2016
    Location
    aberdeen
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    sorry best ignore my root/dev/nfs i see you have it setup via http and nfs wouldnt make any difference. Unfortunately no other advice i have my stg2 as an external mirror which works a dream so far

  7. #7
    Join Date
    Oct 2016
    Location
    Germany
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    Hi,
    I hope you already solve your problem. I have the same problem using spacewalk for fedora24 installation. This one helped me to go one step further :-).

    https://lukas.zapletalovi.com/2016/0...-pxe-boot.html

    HTML Code:
    Required steps to achieve Live Fedora from PXE:
    
        download Fedora 24 Live DVD (or older)
        extract squashfs.img
        put it on HTTP site (/var/www/htdocs)
        extract vmlinuz and initrd.img
        install TFTP server
        put them into TFTP folder (subfolder boot in my case)
        setup DHCP and PXE
        deploy PXELinux configuration (below)
        profit!

  8. #8
    Join Date
    Jun 2015
    Location
    Hungary - Budapest
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    Hey,

    Thanks for the idea. Yes, I've solved the issue by starting only a netinstall iso with the PXE and at installing I just type the address for my local image on my local http server and thada.

  9. #9
    Join Date
    Jan 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Install Fedora 24 Workstation via PXE

    For anybody hitting this thread, I'd suggest reading through the official docs. It makes things so much easier and I wish I found that earlier:
    https://docs.fedoraproject.org/f27/i...allations.html
    https://docs-old.fedoraproject.org/e...ide/index.html

Similar Threads

  1. Install Vmware Workstation on Fedora 19
    By athena2902 in forum Installation, Upgrades and Live Media
    Replies: 18
    Last Post: 29th October 2013, 06:56 PM
  2. How to install Fedora on VMWare Workstation 9
    By JupiterDude in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 22nd April 2013, 12:56 PM
  3. How to: install VMWare Workstation 7 on Fedora 11
    By Jutoms in forum Guides & Solutions (Not For Questions)
    Replies: 7
    Last Post: 9th August 2010, 06:01 PM
  4. how to install fedora 11 onto dell workstation 670
    By JohnCheng in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 20th July 2009, 07:12 PM

Tags for this Thread

Posting Permissions

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