1 (edited by mauirixxx 2011-07-28 05:32:01)

Topic: PXE booting Gparted

Aloha, I'm trying to get Gparted to boot off my pxe server, and it get's close.

I have the following in my /tftpboot/pxelinux.cfg/default file:

LABEL GParted Live
        kernel fog/gparted/vmlinuz1
        append initrd=fog/gparted/initrd1.img boot=live union=aufs noswap noprompt vga=788 fetch=http://192.168.10.91/fog/filesystem.squashfs
        MENU LABEL GParted Live
        TEXT HELP
        The GParted application is the GNOME partition editor for
        creating, reorganizing, and deleting disk partitions.
        ENDTEXT

And while the directions on both the gparted wiki and the fog-project wiki both say to copy vmlinuz1 and initrd1.img from the zip file to their final destination, they don't exist within the zip file with the "1" attached to their name - they're just vmlinuz and initrd.img - which is no problem really.

I have both of those files place in /tftpboot/fog/gparted and I've verified that http://192.168.10.91/fog/filesystem.squashfs IS actually accessible (tested via a web browser - firefox wanted me to download it - so it IS accessible).

When booting off the network adapter, the Gparted menu item does show up, and it boots to Gparted when selected - I even watch it download filesystem.squashfs from the web server.

After the screen resolution change (when it initializes the video card, an ATI Radeon 2400xt) it then tries to actually load Gparted, which is where it fails.

Right after the "Loading kernel modules...done." line I get the following "warning":

Mount point '/filesystem.squashfs' does not exist. Skipping mount. ... (warning).

It then proceeds to try and boot up anyways, but it shows this line:

No account with NOPASSWD sudo privilege was found!
Program terminated!
startpar: service(s) returned failure: start-gparted-live ... failed!

And then drops me to the Debian linux login prompt (which won't work since it has no filesystem?)

I took a picture of the final screen with my phone, and uploaded it HERE if that helps (it's big, but just a little blurry).

I've tried this on both a virtual machine (ESXi 4.1 host) and a physical PC (an old Dell core 2 duo w/ 4gb ram I had sitting next to me) and I get the same results.

Anyone else run into this? I haven't tried using the LiveCD iso (in the vm, or as a burned CD in the PC), though I'm guessing that will work ...

Thoughts?

EDIT: put cleaner picture up, screenshotted from VM - exact same error as on physical PC

2

Re: PXE booting Gparted

Add "config" to your boot parameters, this is described in
http://gparted.org/livepxe.php

This setting on my PXE server works:
====================
label GParted-live
  # MENU DEFAULT
  # MENU HIDE
  MENU LABEL GParted Live 0.9.0-7 (Ramdisk)
  # MENU PASSWD
  KERNEL vmlinuz
  APPEND initrd=initrd.img boot=live config  noswap    nosplash noprompt fetch=tftp://192.168.120.254/GParted-live-filesystem.squashfs

  TEXT HELP
  GParted Live 0.9.0-7 runs on RAM
  ENDTEXT
====================

Besides, I have updated that to use the latest kernel and initrd file names, i.e. vmlinuz and initrd.img instead of vmlinuz1 and initrd1.img.

Steven.

3

Re: PXE booting Gparted

stevenshiau wrote:

Add "config" to your boot parameters, this is described in
http://gparted.org/livepxe.php
Steven.

AHHHHH how did I miss that? sad

Works great now - thank you very much! smile