User Tools

Site Tools


linux:preseed-linux-usb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:preseed-linux-usb [2023/12/08 00:24] – created Wulf Rajeklinux:preseed-linux-usb [2025/04/03 15:05] (current) Wulf Rajek
Line 78: Line 78:
   kernel /casper/memtest   kernel /casper/memtest
 </code> </code>
 +  - add mint_allinone.seed file to preseed folder. Example: <code>
 +### Set language and keyboard layout
 +d-i debian-installer/locale string en_GB.UTF-8
 +d-i keyboard-configuration/xkb-keymap select gb
 +d-i keyboard-configuration/layoutcode string gb
 +d-i keyboard-configuration/modelcode string pc105
 +d-i console-setup/layoutcode string en_GB
 +d-i console-setup/ask_detect boolean false
 +
 +### Timezone and NTP
 +d-i time/zone string Europe/London
 +d-i clock-setup/ntp boolean true
 +
 +### Mirror settings
 +d-i mirror/country string GB
 +
 +### Enable extras.ubuntu.com.
 +d-i apt-setup/extras boolean true
 +
 +### Disable nonfree multimedia codecs
 +ubiquity ubiquity/use_nonfree boolean false
 +
 +### Avoid EFI warning if bios set or allowed to use legacy BIOS boot as well
 +d-i partman-efi/non_efi_system true
 +
 +### Partitioning
 +d-i partman-auto/method string lvm
 +d-i partman-auto/choose_recipe select atomic
 +partman-basicfilesystems partman-basicfilesystems/no_mount_point boolean false
 +d-i partman-basicfilesystem/no_swap boolean false
 +d-i partman-lvm/device_remove_lvm boolean true
 +d-i partman-md/device_remove_md boolean true
 +d-i partman-lvm/confirm boolean true
 +d-i partman-partitioning/confirm_write_new_label boolean true
 +d-i partman/choose_partition select finish
 +d-i partman/confirm boolean true
 +d-i partman/confirm_nooverwrite boolean true
 +d-i grub-installer/only_debian boolean true
 +d-i grub-installer/bootdev string /dev/sda
 +d-i partman-crypto/passphrase password
 +d-i partman-crypto/passphrase-again password
 +
 +### allow root account
 +d-i passwd/root-login boolean true
 +
 +### Root password 
 +d-i passwd/root-password password rootpassword
 +d-i passwd/root-password-again password rootpassword
 +
 +### To create a normal user account.
 +d-i passwd/user-fullname string XXXFULLNAMEXXX
 +d-i passwd/username string XXXUSERNAMEXXX
 +
 +### Normal user's password, either in clear text or encrypted using a crypt(3) hash. i.e mkpasswd -m sha-512
 +d-i passwd/user-password-crypted password XXXUSERPASSWORDXXX
 +
 +### The installer will warn about weak passwords. If you are sure you know what you're doing and want to override it, uncomment this.
 +d-i user-setup/allow-password-weak boolean true
 +
 +### setup groups for user
 +d-i passwd/user-default-groups string audio cdrom video dip plugdev lpadmin sambashare
 +
 +### set Hostname
 +d-i netcfg/get_hostname string XXXPCHOSTNAMEXXX
 +
 +### Auto Login after first boot
 +d-i passwd/auto-login boolean true
 +
 +### Trigger reboot
 +ubiquity ubiquity/reboot boolean true
 +
 +
 +### Custom Commands
 +ubiquity ubiquity/success_command string \
 +  cp /cdrom/auto_install/auto* /target/root/ ;\
 +  cp -a /cdrom/auto_install/config-files /target/root/config-files ;\
 +  cp -a /cdrom/auto_install/scripts /target/root/scripts ;\
 +  cp -a /cdrom/auto_install/dpkg /target/root/dpkg ;\
 +  chroot /target /root/auto.sh
 +</code>
 +
  
 Finally, proceed with pre-config as per CUSTOM USB INSTALL instructions (to follow) Finally, proceed with pre-config as per CUSTOM USB INSTALL instructions (to follow)
linux/preseed-linux-usb.1701995073.txt.gz · Last modified: 2023/12/08 00:24 by Wulf Rajek