<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><div class="gmail_default" style="font-size:13px">Hi All, </div><div class="gmail_default" style="font-size:13px">I am trying to boot Ubuntu Desktop ISO using PXE Boot server in Ubuntu 10.04 desktop version. </div>
<div class="gmail_default" style="font-size:13px">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).</div><div class="gmail_default" style="font-size:13px">
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. </div><div class="gmail_default" style="font-size:13px"><br></div><div class="gmail_default" style="font-size:13px">
<b>"Kernel Panic - Unable to boot root file system " with some hex codes. </b><br></div><div class="gmail_default" style="font-size:13px"><b>Can anyone know how to fix this!!!</b></div><div class="gmail_default" style="font-size:13px">
<br></div><div class="gmail_quote" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><div dir="ltr"><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">
<span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"><b><u>Server Side</u></b></span></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt">These steps were tested in <b>Ubuntu 10.04 LTS</b> version on a hardware machine. Target Operating System is Parted Magic, this is like any other Linux distribution.</span></div>
<div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"><b><br></b></span></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">
<span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"><b>1) Install necessary DHCP & TFTP packages</b></span></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"><b><br>
</b></span></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><b><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"> </span><span style="color:rgb(34,34,34);font-family:'Ubuntu Mono','Ubuntu Beta Mono A',Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;white-space:inherit;font-size:14px;line-height:18.200000762939453px;background-color:rgb(238,238,238)">sudo apt-get install dhcp3-server openbsd-inetd lftp tftpd-hpa</span></b></div>
<div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><i><span style="color:rgb(34,34,34);font-family:'Ubuntu Mono','Ubuntu Beta Mono A',Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;white-space:inherit;font-size:14px;line-height:18.200000762939453px;background-color:rgb(238,238,238)"><br>
</span></i></div><div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:15px"><b>2) </b></span><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>DHCP Setup</b><span style="background-color:rgb(238,238,238)"><br>
</span></span></font></div><div><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><br></span></font></div><div><ul><li style="margin-left:15px"><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Edit /etc/default/dhcp3-server, Ethernet interface for DHCP service</span></li>
</ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>INTERFACES="eth0"</b></span></font></blockquote>
</blockquote><div><ul><li style="margin-left:15px"><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Edit /etc/dhcp3/dhcpd.conf, my DHCP service configuration looks like </span></li></ul><div>
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><br></span></font></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>default-lease-time 600;</b></span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>max-lease-time 7200;</b></span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>subnet 192.168.10.0 netmask <a href="tel:255.255.255.0" value="+912552552550" target="_blank">255.255.255.0</a> {</b></span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b> range <a href="tel:192.168.10.50" value="+911921681050" target="_blank">192.168.10.50</a> 192.168.10.100;</b></span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b> option subnet-mask <a href="tel:255.255.255.0" value="+912552552550" target="_blank">255.255.255.0</a>;</b></span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b> option routers 192.168.10.123;</b></span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b> option broadcast-address 192.168.10.255;</b></span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b> filename "pxelinux.0";</b></span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b> next-server 192.168.10.123;</b></span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>}</b></span></font></blockquote></blockquote><div><ul><li style="margin-left:15px">
<span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Setup a static IP for eth0, 192.168.10.123 </span></li><li style="margin-left:15px"><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Start service</span></li>
</ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>sudo /etc/init.d/dhcp3-server restart</b></span></font></blockquote>
</blockquote><div><ul><li style="margin-left:15px"><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Check status</span></li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:15px"><b>netstat -lu</b></span></div><div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:15px"><b><br>
</b></span></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">Output</span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">Proto Recv-Q Send-Q Local Address Foreign Address State </span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">udp 0 0 *:bootpc *:* </span></font></blockquote>
<div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><br></div><div><div><font color="#0b5394" face="verdana, sans-serif"><b>3) Setting up TFTP </b></font></div><div><ul><li style="margin-left:15px"><span style="color:rgb(11,83,148);font-family:verdana,sans-serif">Edit /etc/inetd.conf, remove #<off># from the beginning of tftp line.</span></li>
</ul></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#0b5394" face="verdana, sans-serif"><b>tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot</b></font></blockquote>
</blockquote><div><ul><li style="margin-left:15px"><span style="color:rgb(11,83,148);font-family:verdana,sans-serif">Enable boot service for inetd</span></li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#0b5394" face="verdana, sans-serif"><b>sudo update-inetd --enable BOOT</b></font></blockquote></blockquote><div><ul><li style="margin-left:15px">
<span style="color:rgb(11,83,148);font-family:verdana,sans-serif">Start service</span></li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#0b5394" face="verdana, sans-serif"><b>sudo /etc/init.d/openbsd-inetd restart</b></font></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#0b5394" face="verdana, sans-serif"><b>sudo /etc/init.d/tftpd-hpa restart</b></font></blockquote></blockquote><div><ul><li style="margin-left:15px"><span style="color:rgb(11,83,148);font-family:verdana,sans-serif">Check status</span></li>
</ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#0b5394" face="verdana, sans-serif"><b>netstat -lu</b></font></blockquote>
</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#0b5394" face="verdana, sans-serif">Output</font></blockquote><div><font color="#0b5394" face="verdana, sans-serif"><br></font></div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#0b5394" face="verdana, sans-serif">Proto Recv-Q Send-Q Local Address Foreign Address State </font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#0b5394" face="verdana, sans-serif">udp 0 0 *:tftp *:* </font><br></blockquote><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">
<i><span style="color:rgb(34,34,34);font-family:'Ubuntu Mono','Ubuntu Beta Mono A',Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace;white-space:inherit;font-size:14px;line-height:18.200000762939453px;background-color:rgb(238,238,238)"><br>
</span></i></div><div><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>4) Setting up PXE boot files</b></span></font></div><div><ul><li style="margin-left:15px"><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Download Parting Magic distribution from </span><a href="http://www.mmnt.net/db/0/0/194.97.2.67/pub/.disk0/filepilot/fpt/system/verschiedenes/parted_magic_pxe" target="_blank" style="font-size:15px;font-family:Calibri,sans-serif">here </a><br>
</li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">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</span></font></blockquote>
<div><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><br></span></font></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">/var/lib/tftpboot/</span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> |-- pxelinux.0</span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> |-- pxelinux.cfg/</span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> | `-- default</span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> `-- pmagic/</span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> |-- bzimage</span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> `-- initramfs</span></font></blockquote></blockquote><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif"><ul>
<li style="margin-left:15px"><div style="font-family:verdana,sans-serif;color:rgb(11,83,148);display:inline"></div>Edit /var/lib/tftpboot/pxelinux.cfg/default, Change these paths accordingly: pmagic/bzimage & pmagic/initramfs</li>
</ul></span><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">DEFAULT partmagic </span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><br></span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px">LABEL partmagic </span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> MENU LABEL PartMagic 4.5 </span></font></blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> KERNEL pmagic/bzimage </span></font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"> APPEND initrd=pmagic/initramfs edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us livemedia</span></font></blockquote>
</blockquote><div><ul><li style="margin-left:15px"><span style="font-size:15px;color:rgb(31,73,125);font-family:Calibri,sans-serif">Setup correct permissions</span></li></ul></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:15px"><b>sudo chmod -r 777 /var/lib/tftpboot/* </b></span></font></blockquote></blockquote>
<div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(11,83,148)">5) NFS Server.. Here is the /etc/exports file content</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(11,83,148)">
<b> /srv/install *(ro,async,no_root_squash,no_subtree_check)</b></div><br></div><div><br></div><div><br></div><div><br></div></div></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">With regards, </span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Kannan. R. P, </span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">Blog @: </span><a href="http://kannan4k.wordpress.com/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://kannan4k.wordpress.com/</a><br>
</div>
</div>