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

Kannan kannan4k at gmail.com
Mon Jul 7 08:11:45 UTC 2014


Hello,
Thanks for the response.

> 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

I have booted the partition magic successfully. But when I tried to boot
the Ubuntu Live CD it was failed. Do you mean that for Ubuntu also I need
to pass the DVD?



On Sun, Jul 6, 2014 at 9:03 PM, Kannan <kannan4k at gmail.com> 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 <255.255.255.0> {*
>
> *    range 192.168.10.50 <192.168.10.50> 192.168.10.100;*
>
> *    option subnet-mask 255.255.255.0 <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/initramfs 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/
>



-- 
With regards,

Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140707/a0d40b3b/attachment.html>


More information about the ubuntu-users mailing list