On 07/23/2012 10:22 AM, Raj Mathur (राज माथुर) wrote:
Can you suggest a utility or web page instructions for installing a pre-
built Linux disk image over the network?
We have a bare machine with PXE and a server with a Linux disk image.
Need the flow to get this image onto the bare machine's disk.
Please read <http://anu.homelinux.net/pub/FreeBSD/tftpboot/README.txt>,
though you may find it a little bit FreeBSD specific, but the logic is
same for Linux ISO images.
I also keep mounted Debian-Live, GRML, LinuxMint and Ubuntu ISO images:
[bsd@mon ~]$ mount |grep iso
/mnt/sda9/boot/iso/debian-live-6.0.4-xfce-i386-cd.iso on
/srv/live/debian type iso9660 (ro)
/mnt/sda9/boot/iso/grml-11.12-fluxbox-i386-cd.iso on /srv/live/grml type
iso9660 (ro)
/mnt/sda9/boot/iso/linuxmint-11-gnome-32bit-dvd.iso on /srv/live/mint
type iso9660 (ro)
/mnt/sda9/boot/iso/ubuntu-12.04-unity-32bit-dvd.iso on /srv/live/ubuntu
type iso9660 (ro)
[bsd@mon ~]$ ls /srv/tftp/
debian grml.igz menu.c32* pxelinux.0* ubuntu
debian.ilz knoppix mint pxelinux.cfg/ ubuntu.ilz
etherboot.nbi@ knoppix.igz mint.ilz qnx-6.0.demo.img
grml memdisk* oberon-0.img type-tutor.boot.img
the debian, debian.ilz, grml, grml.igz, mint, mint.ilz and ubuntu,
ubuntu.ilz are kernels and initrd images copied from above said
live-CD/DVD ISO images.
and the menu.32, memdisk and pxelinux.0 have been copied from syslinux
package.
here are a few excerpts from /srv/tftp/pxelinux.cfg/default:
-------- 8< --------
LABEL debian
MENU LABEL Debian, XFCE, 32Bit (Remote/LiveCD)
KERNEL debian
APPEND initrd=debian.ilz root=/dev/nfs rw
nfsroot=192.168.1.3:/srv/live/debian boot=live config lang=us localtime
nodhcp noeject nomodeset noprompt quiet splash startx tz=Asia/Kolkata
vga=788
LABEL grml
MENU LABEL ^GRML, WM-NG, 32Bit (Remote/LiveCD)
KERNEL grml
APPEND initrd=grml.igz root=/dev/nfs rw
nfsroot=192.168.1.3:/srv/live/grml boot=live
live-media-path=/live/grml32/ bootid=grml32201112 lang=us localtime
noeject nomodeset noprompt quiet splash startx=mw-ng tz=Asia/Kolkata vga=788
LABEL mint
MENU LABEL Linux^Mint, XFCE, 32Bit (Remote/LiveCD)
KERNEL mint
APPEND initrd=mint.ilz netboot=nfs nfsroot=192.168.1.3:/srv/live/mint
boot=casper nomodeset quiet splash tz=Asia/Kolkata vga=788 --
LABEL ubuntu
MENU LABEL ^Ubuntu, UNITY, 32Bit (Remote/LiveCD)
KERNEL ubuntu
APPEND initrd=ubuntu.ilz netboot=nfs
nfsroot=192.168.1.3:/srv/live/ubuntu boot=casper nomodeset quiet splash
tz=Asia/Kolkata vga=788 --
-------- 8< --------
s/192\.168\.1\.3/<ip.add.ress.of.your.server>/
Hope that helps,
--
Balwinder S "bdheeman" Dheeman
(http://werc.homelinux.net/contact/)
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd