LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] PXE

[ILUG] PXE

bobb bobb at redbrick.dcu.ie
Thu Apr 29 11:51:35 IST 2004


Ronan Cunniffe hath declared on Thursday the 29 day of April 2004  :-:
 
> (listing of the tftpboot/pxelinux.cfg dir):
> 
> -rw-r--r--    1 root     root           98 eden_xterm

> (eden_xterm is a text file containing):
> PROMPT 0
> DEFAULT linux-rhine-initrd
> APPENDIP 1
> APPEND initrd=linuxrootfs.gz ramdisk_size=16384 rw
 
Just thought I'd share with the group something I took a while to
figure out....  :)

I prefear my machines to boot totally off local disk (under normal operation)
without getting their kernels over the network (hey, I'm weird like that :).

However I would also like them to be configured to boot from the network
by default so that I don't have to go frikkin' around with BIOSs on loads
of machines whenever I get the urge to re-install them.

You can use the following PXE config in /tftp/pxelinux.cfg/default

    DEFAULT local-boot
    LABEL local-boot
    LOCALBOOT 0

Which, assuming theres no other config matching the ip of the machine, 
will tell it to boot, surprisingly, from the local disk.

You can then create a specific config for the machine(s) whenever you
want to re-install. fai-chboot(8) does this if you are using fai... 

*shrug*

Probably something terribly obvious which everyone knows... but I
was thrilled when I found out it could be done :)

- bobb

-- 
Mr. Rogers could explain shoe-tying and make it seem like the coolest 
thing in the world. He was our Uncle and older brother. He told us we 
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell