[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

preseed recipe for multiple drives



Hi,

I having trouble making a preseed for multiple drives. We have some hardware raid with multiple volumes and different storage mediums.

For some reason the SSDs Volume that are meant to storage of a database are the only ones that allow the server to boot.

So we want to install a bunch of servers with the following layout

/dev/sda1	1000MB	/boot		SSDs Volume
/dev/sda2	rest	/db		SSDs Volume

/dev/sdb1	2TB	/		Spindle volume

/dev/sdc1	12TB	/dbbackup  	Spindle volume


We are using Debian Wheezy installer.

Sadly I read that the expert recipes in partman-auto do not handle multiple drives

https://cptyesterday.wordpress.com/2012/06/17/notes-on-using-expert_recipe-in-debianubuntu-preseed-files/

I know that post it is old, but is this still the case for the expert receipts?. I see no reference to device{} in the code, it is on partman-auto-lvm for example.

Funny enough if I run a manual install I can perform that layout easily, but debconf-get-selections (--installer) after that does not give a way to extract a preseed of settings for the partitions.

(This is came for a similart test)

# This is an overview of your currently configured partitions and mount points. Select a partition to modify its settings (file system, mount point, etc.), a free space to create partitions, or a device to initialize its partition table. # Choices: Guided partitioning, Configure software RAID, Configure the Logical Volume Manager, Configure encrypted volumes, , SCSI1 (0\,0\,0) (sda) - 80.0 GB ATA WDC WD800AAJS-00, | ${!TAB}${!ALIGN=RIGHT}#1${!TAB}primary${!TAB}${!ALIGN=RIGHT}1.0 GB${!TAB}B${!TAB}f${!TAB}ext3${!TAB}${!TAB}/boot${!TAB}, | ${!TAB}${!ALIGN=RIGHT}#2${!TAB}primary${!TAB}${!ALIGN=RIGG HT}1.0 GB${!TAB}${!TAB}f${!TAB}swap${!TAB}${!TAB}swap${!TAB}, | ${!TAB}${!TAB}pri/log${!TAB}${!ALIGN=RIGHT}78.0 GB${!TAB}${!TAB}${!TAB}FREE SPACE${!TAB}${!TAB}${!TAB}, SCSI2 (0\,0\,, 0) (sdb) - 80.0 GB ATA WDC WD800AAJS-00, | ${!TAB}${!ALIGN=RIGHT}#1${!TAB}primary${!TAB}${!ALIGN=RIGHT}80.0 GB${!TAB}${!TAB}f${!TAB}ext4${!TAB}${!TAB}/${!TAB}, SCSI3 (0\,0\,0) (sdc)) - 80.0 GB ATA ST380815AS, | ${!TAB}${!ALIGN=RIGHT}#1${!TAB}primary${!TAB}${!ALIGN=RIGHT}80.0 GB${!TAB}${!TAB}f${!TAB}ext4${!TAB}${!TAB}/mnt/sdc1${!TAB}, SCSI4 (0\,0\,0) (sdd) - 80.. 0 GB ATA ST380815AS, | ${!TAB}${!ALIGN=RIGHT}#1${!TAB}primary${!TAB}${!ALIGN=RIGHT}80.0 GB${!TAB}${!TAB}f${!TAB}ext4${!TAB}${!TAB}/mnt/sdd1${!TAB}, , Undo changes to partitions, Finn
ish partitioning and write changes to disk
partman-base partman/choose_partition select 90finish__________finish

Is there a way to hack away this?

Should we submit a feature request bug?

I am looking at some alternatives like fai too that work differently.

Regards.

Juan.-


Reply to: