my first post: kickstart installation and partitioning

Mulcahy, Stephen stephen.mulcahy at deri.org
Mon Jun 22 13:27:40 BST 2009


Hi Jacques,

Welcomes to the list!

Apologies for top-posting, I'm travelling atm and using a webmail interface which is limited.

While preparing my kickstart script (used with ubuntu 8.10) I had a lot of problems with partitioning. I'm not sure 
some of the flags you are using work. Using trail and error, I came up with the following partitioning instructions

clearpart --all --initlabel 
part swap --size 4096 --ondisk sda 
part / --fstype ext3 --size 10240 --ondisk sda 
part /scratch --fstype ext3 --size 1 --grow --ondisk sda 

which definitely work. You may want to start with those and tailor them to your requirements?

Thanks,

-stephen


-----Original Message-----
From: ubuntu-installer-bounces at lists.ubuntu.com on behalf of Farcy
Sent: Mon 6/22/2009 9:19 AM
To: Ubuntu-installer at lists.ubuntu.com
Subject: my first post: kickstart installation and partitioning
 
Hi to everyone,

I work in a university in France, an actually i plan to realise 
automatic installation of ubuntu 9.04.


I am using a kickstart file and scripts to do it, but i don't have the 
result i was expecting during the partitioning process.
I have been looking at the forums since a few weeks, without success.

I use the %pre section to calculate the size of the disk and the ram 
(this part works fine).

For example on a computer of 40 Go and 512Mb of RAM, i make a file 
partition_table.cfg
like this :

    clearpart --all --initlabel
    part swap --size 512 --asprimary
    part / --size grow --maxsize 16384 --fstype ext3 --asprimary
    part /home --size grow --fstype ext3


In the kickstart file,i write this at the partitioning section :

    bootloader --location=mbr
    zerombr yes
    %include partition_table.cfg


But the installation process don't use the partition_table.cfg and in 
the log, partman is using autopartitioning with the all disk.

I hope someone on this list could help me to achieve auto-installing.

And sorry for my bad english writing ...

Thanks in advance,

Jacques-Olivier

PS : I can send my complete kickstart file if needed

-- 
Ubuntu-installer mailing list
Ubuntu-installer at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer




More information about the Ubuntu-installer mailing list