SCIENTIFIC-LINUX-DEVEL Archives

February 2008

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jon Peatfield <[log in to unmask]>
Reply To:
Jon Peatfield <[log in to unmask]>
Date:
Tue, 5 Feb 2008 14:16:26 +0000
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (35 lines)
Many thanks for this!  I was just reading through the pxe booting stuff 
at:

   http://linux.web.psi.ch/livecd/diskless.html

and thought I'd followed the instructions closely enough but kept getting 
the boot failing 'cos I'd used a hostname rather than an IP address in the 
nfsroot definition.  After that it worked like a charm.

I'm a little bit puzzled why a hostname doesn't work, by the time the 
mount is attempted the dhcp client has already obtained a list of 
nameservers and seems to have filled in resolv.conf.  Maybe the initrd 
environment just hasn't got support for DNS lookups.  I'll look more 
closely this afternoon but just thought I'd ask first...

When doing the nfsroot thing is there a good reason to keep everything in 
squashfs?  ie for testing a custom version can I arrange to just have a 
suitable plain sl (installed) tree nfs mountable by clients?  That will 
let me fairly easily tweak the set of packages and config until I'm ready 
to build a set of custom .iso files...

I'm considering making some custom local net-boot images - partly to 
test/diagnose machines (though the standard livecd seems to contains 
pretty much all one would need) and maybe to run some information displays 
(they just need to boot with a slightly weird X config and automatically 
run a web browser pointing at a suitable URL)...

Obviously in such a setup one wouldn't want to nfs mount the nfsroot rw so 
it would still need some kind of unionfs/aufs magic (at least for things 
like /tmp etc).

-- 
Jon Peatfield,  Computer Officer,  DAMTP,  University of Cambridge
Mail:  [log in to unmask]     Web:  http://www.damtp.cam.ac.uk/

ATOM RSS1 RSS2