Jump to content











Photo

Step by step to PXE boot Linux Mint?


  • Please log in to reply
4 replies to this topic

#1 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10448 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 16 October 2013 - 01:11 PM

Hi Erwan,

 

I was trying out your server, PXE booting is something new for me. My goal is to PXE boot Linux Mint straight from a Windows host.

 

I have found your tutorial adjusted from Ubuntu at http://labalec.fr/erwan/?p=506 but the boot up is still hanging during the process and does not move forward.

 

No error messages (also had a few) after downloading the initial PXE script (says downloaded OK) and then hangs.

 

I suppose it is necessary to run winnfsd?

 

A step-by-step since the download of the software from sourceforge would really help. Have no idea what else is missing to complete the boot up procedure.

 

Thanks. :)



#2 erwan.l

erwan.l

    Gold Member

  • Developer
  • 1936 posts
  • Location:Nantes - France
  •  
    France

Posted 16 October 2013 - 04:08 PM

Hi Nuno,

 

Touchy topic : I would gladly write a how to but then I may be blamed again for "stealing" kernel parameters syntax ;)

 

Actually the method is very similar (if not identicall) to the Ubuntu one (if I am correct Mint is a fork of ubuntu ?

 

Do you want it to boot via NFS? CIFS?

 

Reading your post, it sounds you are heading for NFS :

Then actually you should have used this older link as starting point.

The link you refer to is about CIFS.

 

Linux Mint boots in a few seconds over NFS with the below ipxe script (not my syntax...not my syntax...)

 

EDIT : steps by steps in the next post.

 

Regards,

Erwan



#3 erwan.l

erwan.l

    Gold Member

  • Developer
  • 1936 posts
  • Location:Nantes - France
  •  
    France

Posted 16 October 2013 - 04:44 PM

Here below a step by step to PXE boot Linux Mint over NFS.

Published here as well : http://labalec.fr/erwan/?p=534.

 

needed :
-ipxe
-tiny pxe server
-winnfsd
-Mint

 

1/Prepare the Linux Mint files

 

open mint.iso in winrar (or any other iso reading capable tool).

extract casper folder to x:\pxe\iso\mint (or any path that suit you)

 

2/Prepare NFS Server

 

launch winnfsd with the following :
winnfsd.exe -id 0 0 x:\pxe\iso\mint


note : adapt the above path with your own path

 

3/Prepare iPXE Script

#ipxe
set nfs-server ${next-server}
kernel /ISO/mint/casper/vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${nfs-server}:/x/ISO/mint quiet splash
initrd /ISO/mint/casper/initrd.lz
boot

note : adapt /x/pxe/ISO/mint to your own path.
name it mint.ipxe and put it in x:\pxe

 

4/Prepare PXE Server

 

put ipxe-undionly.kpxe in x:\pxe

launch tiny pxe server with the following settings (leave other settings untouched) :
->boot filename = ipxe-undionly.kpxe (use the browse files and folders « … » button)
->filename if user-class=iPXE = mint.ipxe

 

push the online button

 

5/Boot !

 

pxe boot your computer and here we go :)

 

/Erwan


  • Nuno Brito and wimb like this

#4 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10448 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 17 October 2013 - 07:30 AM

Thank you very much Erwan! :cheers:

 

To irony of destiny, my own laptop is quite hard to boot from other mediums, only PXE seems to give me some hope of success on this stubborn machine.. :lol:



#5 erwan.l

erwan.l

    Gold Member

  • Developer
  • 1936 posts
  • Location:Nantes - France
  •  
    France

Posted 17 October 2013 - 07:59 AM

I love pxe booting actually : whether it is over AOE, ISCSI or CIFS/NFS, it is always quite handy and booting over the lan then becomes transparent.

 

/Erwan






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users