Linux netbooting: Difference between revisions

From WirelessAfrica
Line 13: Line 13:
==Create Linux Kernel==
==Create Linux Kernel==


sudo make menuconfig
sudo make menuconfig


  Processor type and features  --->   
  Processor type and features  --->   
Line 28: Line 28:
   <*> NFS file system support  
   <*> NFS file system support  
     [*] Root file system on NFS
     [*] Root file system on NFS
sudo make
sudo make bzImage
which will give you your linix kernel image (bzImage) in /usr/src/linux-source-2.6.12/arch/i386/boot/
sudo make modules
sudo make modules_install
sudo mkinitrd -o initrd.img-2.6.12 2.6.12


==Create Linux File System==
==Create Linux File System==
Mount a separate partition
Mount a separate partition
cd to a suitable place on the partition
cd to a suitable place on the partition

Revision as of 12:16, 13 March 2006

Instructions follow on how to netboot using Ubuntu Linux.

Server Setup

Setup DHCP

/usr/local/etc/dhcp.conf

Setup PXE

Setup Filesystem

Useful information: Building PXE Imager from scratch

1) Use debian debootstrap tool to create basic filesystem.

Client Setup

Create Linux Kernel

sudo make menuconfig
Processor type and features  --->  
 Processor family: Pentium-Classic
Device Drivers  --->
 Networking support  ---> 
  Networking options  --->
    [*]IP: kernel level autoconfiguration                             
     [*]     IP: DHCP support
     [*]     IP: BOOTP support
     [*]     IP: RARP support               
File systems  ---> 
 Network File Systems  ---> 
  <*> NFS file system support 
   [*] Root file system on NFS
sudo make
sudo make bzImage

which will give you your linix kernel image (bzImage) in /usr/src/linux-source-2.6.12/arch/i386/boot/

sudo make modules
sudo make modules_install
sudo mkinitrd -o initrd.img-2.6.12 2.6.12

Create Linux File System

Mount a separate partition cd to a suitable place on the partition