LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PXE booting Clonezilla and Gparted. Having some issues? (https://www.linuxquestions.org/questions/linux-software-2/pxe-booting-clonezilla-and-gparted-having-some-issues-4175510293/)

Springs 07-06-2014 01:03 PM

PXE booting Clonezilla and Gparted. Having some issues?
 
1 Attachment(s)
Hi all,

Hoping you can help me out with something.

I have a MS 2012 server running WDS as well as pxe booting setup for linux OS's

I'm trying to pxe boot Clonezilla and gparted from the network. i have everything setup and working to the point that it will start loading.

when it starts going through the system settings its failing at the same point, each time on both pieces of software.

I'm using vmware to run the testing but have tried this on a physical machine as well and get the same issue.

attached should be a screenshot of the error.

to me it looks like its trying to get an IPV6 address which would be impossible as i'm only running an ipv4 network as my router is doing all the DHCP stuff.

jefro 07-06-2014 07:09 PM

LQ might have changed how images are viewed. I can't see it.

I'll ask this then. Did you use this page or are you trying to use memdisk or an entire tftp server (and set tftp correctly)? OPPS> Didn't post link did I? http://gparted.org/livepxe.php

At one time there was a problem with gparted. I played with pxe on this for a while maybe 8 years ago.

Can consider gpxe/ipxe too.

astrogeek 07-06-2014 07:25 PM

Quote:

The error message was:

Unable to find a live filesystem on the network.
Don't know about Clonezilla, but for Gparted you have to deliver the live filesystem via HTTP/FTP, location specified by boot parameter passed to kernel. It may or may not be located on the same server that serves up the kernel via TFTP.

I have no idea how MS configures that, but under a GNU/Linux PXE setup it would typically be specified within pxelinux.cfg/, and would be served from the HTTP server running on the same box.

But your network device is working - it got the kernel location via DHCP, it just can't find the live filesystem that it must use to boot.

Can you describe for us how the kernels, initrds and live filesystems are installed on the server.

Springs 07-07-2014 07:57 AM

This is the commands i am using when calling GParted. this is whats located in the "default" file that is used for booting.

Quote:

LABEL gparted
MENU LABEL ^GParted Live
kernel \Linux\gparted\vmlinuz
append initrd=\Linux\GParted\initrd.img boot=live config union=aufs noswap noprompt vga=788 fetch=http://192.168.1.86/GParted/filesystem.squashfs

astrogeek 07-07-2014 06:09 PM

Quote:

Originally Posted by Springs (Post 5199933)
LABEL gparted
MENU LABEL ^GParted Live
kernel \Linux\gparted\vmlinuz
append initrd=\Linux\GParted\initrd.img boot=live config union=aufs noswap noprompt vga=788 fetch=http://192.168.1.86/GParted/filesystem.squashfs

Of course, only you can verify the paths, but it looks like you have all the bases covered on the TFTP end.

It is getting DHCP response and loading the kernel, and I owuld think you would get a panic if it did not load the initrd.img. So that leaves with it being unable to fetch the squashfs filesystem.

To see if it is reachable on your network try hitting that URL (ht tp://192.168.1.86/GParted/filesystem.squashfs) from a browser - it should download the file and ask you where to put it. Check the downloaded filesize to make sure it is the same. If that doesn't work check that you http server is running, the address, paths, etc.

Finally, back to your first guess about it being ipv6, add this to the append in the pxelinux.cfg/default:

Code:

append ... ipv6.disable=1
Other than that... just a guess, try removing the leading slashes from these... the paths should be relative to the pxelinux.0, usually the TFTP root, but maybe not...

Code:

LABEL gparted
MENU LABEL ^GParted Live
kernel Linux\gparted\vmlinuz
append initrd=Linux\GParted\initrd.img boot

Let us know what you find! Oh yea, what version of GParted Live?

EDIT: You might also want to change those '\' characters to '/', they are only ever seen by the booting machine under pxelinux.0 control (but I don't think that has anything to do with your problem).

christo78 12-21-2016 05:55 PM

PXE Booting GParted
 
You can also just mount the Gparted ISO

LABEL pmagic_iso
MENU LABEL Part'd Magic Full ISO
Kernel LINUX/PMagic/boot/syslinux/memdisk
INITRD LINUX/PMagic/pmagic_2016_03_02.iso
APPEND iso vmalloc=1024M

edit the Syslinux.cfg located in the boot folder. Open in notepad and replace vmalloc=512Mib with vmalloc=600MiB. I just did all instances.

This line INITRD LINUX/PMagic/pmagic_2016_03_02.iso must be edited to reflect the ISO used

rokytnji 12-21-2016 06:13 PM

http://postmyimage.com/img2/984_PXE_issue.PNG

Maybe easier viewing for

Quote:

LQ might have changed how images are viewed. I can't see it.
Just left click on the image for a larger size.

jefro 12-21-2016 08:34 PM

2014 post.

rokytnji 12-21-2016 08:43 PM

Quote:

Originally Posted by jefro (Post 5644932)
2014 post.

Totally blew by me jefro. I don't know why it showed up in latest threads.

Anyways. I hope my upload helps anybody reading this thread later.
If not. Oh well.

jefro 12-24-2016 11:25 PM

Merry Christmas!! :)


All times are GMT -5. The time now is 01:30 PM.