partitioning again

Holger Levsen fai at layer-acht.org
Tue Mar 29 17:34:30 CEST 2005


Hi,

btw: I were not sure if you're subscribed. If you are, I won't cc: you 
anymore. I am, so please don't cc: me :)

On Tuesday 29 March 2005 17:40, Matthias Lechner wrote:
> hm, I guess you're talking about this thread?
> http://marc.free.net.ph/message/20050113.113849.a176bf21.en.html

Yup.

btw, Thomas there writes "<echo or cat commands for creating fstab and 
disk_var.sh>" - I never bothered to create that /tmp/disk_var.sh, I just 
fcopied /etc/fstab - but I would like to know how that disk_var.sh works.

> Sounds good to me. I just don't know why it should be used for only a few
> computers?

:) Just before I sent the mail, I was thinking about that sentence. It's not 
(really) true, as you can automate everything with hooks. 

But somehow I had the impression that you created that "funny first three" 
partiontions manually - that wouldnt scale. Creating (or preserving) them all 
with hooks works fine.

Maybe also this sentence slipt in, because at the moment on powerpc I do/did 
create the initial partition layout manually... (setup_harddiscs doesnt work 
on ppc and I have only few ppc machines.) 

> I need an existing partition to run the mkfs.ext2-command, right? 

Yes.

> Would be 
> ok, since we need to run PartitionMagic on every computer to get linux
> installed. In this case, would it be possible to make such a hook a
> "standard" for our lab?

Yep (although I dont get what you want to do with PartitionMagic. Better use 
fdisk in the hook ;). 

You could name the file FAI_CONFIGDIR/hooks/partition.STANDARD or 
partition.YOURLAB - have a look at the more advanced examples.


regards,
 Holger



More information about the linux-fai mailing list