LILO

Marco Hofmann mhofmann at gatrixx.com
Wed Jul 10 08:42:00 CEST 2002


On Die, 2002-07-09 at 19:08, Paul Lussier wrote:

> Here's what I did:
> 
> 	- In /usr/local/share/fai/files/etc create a directory called 'lilo.conf'
> 	- In this new directory create a file with the same name as a 
> 	  class of machine which is installed by FAI
> 
> 	  For example, say one of the classes of machine you wish to 
> 	  build is called REALLY_BIG_SYSTEM.  Create the file:
> 
> 		/usr/local/share/fai/files/etc/REALLY_BIG_SYSTEM
> 
> 	  The contents of this file should be that of /etc/lilo.conf
> 	  file you wish to be installed on the system you're trying 
> 	  to install.
> 
> To actually have /sbin/lilo run on this lilo.conf file once it's 
> installed, I added the folling line to the 
> /usr/local/share/fai/scripts/LAST script:
> 
> 	# Run Lilo
> 	/sbin/lilo -r /tmp/target -b /dev/hda -C /etc/lilo.conf
> 
> There's probably a better, more elegant way of doing this, but I was 
> hacking around, and this brute force method got the job done at the 
> time.  As I get more familiar with FAI, I'll probably re-architect 
> the whole thing :)
> 
> I hope that helps.
> 
> -- 
> 
> Seeya,
> Paul

Hi Paul,

many many thanks for your help. Now, finally, it works.

Marco



More information about the linux-fai mailing list