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

Preseed of Debian Archive mirror country and Disk Partition



Everyone,

             Currently I am trying to fully automate an install of Debian and have to 2 issues early in the install process and a question about aptitude.

The first issue below is with mirror country using ftp protocol. The section of the preseed file is listed below in which I must press the enter key for the mirror country to continue on in the installation. Any ideals?

# Debian archive mirror country:
d-i     mirror/protocol select ftp
d-i     mirror/country    select  enter information manually
d-i     mirror/ftp/hostname     string actualhostname
d-i     mirror/ftp/directory    string  /debian
d-i     mirror/suite string stable
d-i     mirror/ftp/proxy string
 

The second issue is really a two part question, one is how can I do logical volumes in the preseed file? Also attached is the partition section of the preseed file in which I must also press the enter key continue the install. The message that appears is “No file system specified…. Go back to main menu”. Currently I simple press the enter which selects No.

 

d-i partman-auto/disk string /dev/discs/disc0/disc

d-i partman-auto/expert_recipe  string root-swap-var-usr-tmp-keep ::  256 10 320 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } .  3000 9 3200 linux-swap method{ swap } format{ } .  5000 8 6000 reiserfs  method{ format } format{ } use_filesystem{ } filesystem{ reiserfs } mountpoint{ /var } .  5000 8 6000 reiserfs method{ format } format{ } use_filesystem{ } filesystem{ reiserfs } mountpoint{ /usr } . 10000 8 11000 reiserfs method{ format } format{ } use_filesystem{ } filesystem{ reiserfs } mountpoint{ /tmp } . 100 10000 1000000000 reiserfs method{ keep } .


# This makes partman automatically partition without confirmation.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish partitioning and write changes to disk
 

 

The last question is in regards to aptitude? Is their anyway to preseed the package selection?

 


Reply to: