LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2014, 01:03 PM   #1
Springs
Member
 
Registered: Apr 2008
Posts: 73

Rep: Reputation: 0
PXE booting Clonezilla and Gparted. Having some issues?


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.
Attached Thumbnails
Click image for larger version

Name:	PXE issue.PNG
Views:	343
Size:	38.8 KB
ID:	15856  
 
Old 07-06-2014, 07:09 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,851

Rep: Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383
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.

Last edited by jefro; 07-07-2014 at 03:23 PM.
 
Old 07-06-2014, 07:25 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,619
Blog Entries: 11

Rep: Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657
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.

Last edited by astrogeek; 07-06-2014 at 07:33 PM.
 
Old 07-07-2014, 07:57 AM   #4
Springs
Member
 
Registered: Apr 2008
Posts: 73

Original Poster
Rep: Reputation: 0
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
 
Old 07-07-2014, 06:09 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,619
Blog Entries: 11

Rep: Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657Reputation: 3657
Quote:
Originally Posted by Springs View Post
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).

Last edited by astrogeek; 07-07-2014 at 10:27 PM. Reason: after thoughts... typos...
 
Old 12-21-2016, 05:55 PM   #6
christo78
LQ Newbie
 
Registered: Dec 2016
Posts: 1

Rep: Reputation: Disabled
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

Last edited by christo78; 12-21-2016 at 05:58 PM.
 
Old 12-21-2016, 06:13 PM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 6,309
Blog Entries: 21

Rep: Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166
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.
 
Old 12-21-2016, 08:34 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,851

Rep: Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383
2014 post.
 
Old 12-21-2016, 08:43 PM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 6,309
Blog Entries: 21

Rep: Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166
Quote:
Originally Posted by jefro View Post
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.
 
Old 12-24-2016, 11:25 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,851

Rep: Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383Reputation: 3383
Merry Christmas!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE Error using DRBL Clonezilla on RedHat 8.0 Count_Cloppy Red Hat 4 08-30-2012 08:48 PM
Is there some way to have 'clonezilla' on my workstation like 'gparted' or 'bash' SaintDanBert Linux - Software 5 11-07-2011 11:07 AM
[SOLVED] Why do the bootloaders (grub, grub4dos & Lilo) boot clonezilla instead of gparted? yanfaun Linux - Software 20 10-21-2010 10:08 PM
clonezilla PXE dpeterson3 Linux - Software 3 06-12-2009 03:32 PM
LXer: Manage partitions and disks with GParted-Clonezilla live CD LXer Syndicated Linux News 0 07-02-2007 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration