Need Help PXE Boot Server to boot Ubuntu Desktop Version!!

Bruce Ferrell bferrell at baywinds.org
Sun Jul 6 15:52:44 UTC 2014


On 07/06/2014 08:33 AM, Kannan wrote:
> Hi All,
> I am trying to boot Ubuntu Desktop ISO using PXE Boot server in Ubuntu 10.04 desktop version.
> Please find the below steps that I have followed. the following setup worked for Partition Magic Linux distribution (for this don't need a NFS setup).
> But to boot the Ubuntu version, I have setup the NFS drive and I got the below error. and I am thinking that is creating the problem.
>
> *"Kernel Panic - Unable to boot root file system " with some hex codes. *
> *Can anyone know how to fix this!!!*
>
>
> *_Server Side_*
> These steps were tested in *Ubuntu 10.04 LTS* version on a hardware machine. Target Operating System is Parted Magic, this is like any other Linux distribution.
> *
> *
> *1) Install necessary DHCP & TFTP packages*
> *
> *
> *sudo apt-get install dhcp3-server openbsd-inetd lftp tftpd-hpa*
> /
> /
> *2) **DHCP Setup*
>
>   * Edit /etc/default/dhcp3-server, Ethernet interface for DHCP service
>
>         *INTERFACES="eth0"*
>
>   * Edit /etc/dhcp3/dhcpd.conf, my  DHCP service configuration looks like
>
>
>         *default-lease-time 600;*
>
>         *max-lease-time 7200;*
>
>         *subnet 192.168.10.0 netmask 255.255.255.0 <tel:255.255.255.0> {*
>
>         *    range 192.168.10.50 <tel:192.168.10.50> 192.168.10.100;*
>
>         *    option subnet-mask 255.255.255.0 <tel:255.255.255.0>;*
>
>         *    option routers 192.168.10.123;*
>
>         *    option broadcast-address 192.168.10.255;*
>
>         *    filename "pxelinux.0";*
>
>         *    next-server 192.168.10.123;*
>
>         *}*
>
>   * Setup a static IP for eth0, 192.168.10.123
>   * Start service
>
>         *sudo /etc/init.d/dhcp3-server restart*
>
>   * Check status
>
>         *netstat -lu*
>         *
>         *
>
>     Output
>
>     Proto Recv-Q Send-Q Local Address           Foreign Address         State 
>
>     udp        0          0 *:bootpc                           *:* 
>
>
> *3) Setting up TFTP *
>
>   * Edit /etc/inetd.conf, remove #<off># from the beginning of tftp line.
>
>         *tftp    dgram   udp wait    root    /usr/sbin/in.tftpd  /usr/sbin/in.tftpd -s /var/lib/tftpboot*
>
>   * Enable boot service for inetd
>
>         *sudo update-inetd --enable BOOT*
>
>   * Start service
>
>         *sudo /etc/init.d/openbsd-inetd restart*
>
>         *sudo /etc/init.d/tftpd-hpa restart*
>
>   * Check status
>
>         *netstat -lu*
>
>     Output
>
>
>     Proto Recv-Q Send-Q Local Address           Foreign Address         State 
>
>     udp    0                0 *:tftp  *:*
>
> /
> /
> *4) Setting up PXE boot files*
>
>   * Download Parting Magic distribution from here <http://www.mmnt.net/db/0/0/194.97.2.67/pub/.disk0/filepilot/fpt/system/verschiedenes/parted_magic_pxe>
>
>     Unzip pmagic-pxe-4.5.zip. Copy your local /usr/lib/syslinux/pxelinux.0 to /var/lib/tftpboot. Put them in following structure. Then only it will work
>
>
>         /var/lib/tftpboot/
>
>          |-- pxelinux.0
>
>          |-- pxelinux.cfg/
>
>          |   `-- default
>
>          `-- pmagic/
>
>              |-- bzimage
>
>              `-- initramfs
>
>   * Edit /var/lib/tftpboot/pxelinux.cfg/default, Change these paths accordingly: pmagic/bzimage & pmagic/initramfs
>
>         DEFAULT partmagic 
>
>
>         LABEL partmagic 
>
>             MENU LABEL PartMagic 4.5 
>
>             KERNEL pmagic/bzimage 
>
>             APPEND initrd=pmagic/initram
>
>         fs edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us livemedia
>
>   * Setup correct permissions
>
>         *sudo chmod -r 777 /var/lib/tftpboot/* *
>
>
> 5) NFS Server.. Here is the /etc/exports file content
> *                /srv/install  *(ro,async,no_root_squash,no_subtree_check)*
>
>
>
>
> With regards,
>
> Kannan. R. P,
> Blog @: http://kannan4k.wordpress.com/
>
>
It *looks* like while you have the kernel and initrd, you haven't specified where to get the filesystem:

http://partedmagic.com/pxe/

shows the iso being specified




More information about the ubuntu-users mailing list