Saturday, May 26, 2018

boot - preseed using cubic for install automation on ubuntu server 18.04

I'm trying to create a ubuntu server installation media with pre-defined programs and settings.
for that I am using Cubic.
Through the chroot terminal I am able to install all the software that I need and this works very well.


I would also like to customize the installation screen with some pre-defined settings, such as the user and your password, among others, and would like this information not be requested during installation.


for this I created a preseed with the settings that I want to be automatic and added in the grub the boot parameters of FILE = / cdrom / preseed / mv.seed and auto = true however the settings continue to appear when I try to install.


as I am using boot by UEFI I know it is the file /boot/grub/grub.cfg that is submitted to select my installation and not /isolinux/txt.cfg


would anyone have the idea why the preseed is not loaded?


grub.cfg ------------------------------------------------------------


if loadfont /boot/grub/font.pf2; then
set gfxmode = auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi


set menu_color_normal = white / blue
set menu_color_highlight = black / light-blue


set timeout = 5
menuentry "Install MultivisOs Server" {
set gfxpayload = keep
linux / casper / vmlinuz file = / cdrom / preseed / mv.seed boot = casper auto = true quiet splash ---
initrd / casper / initrd
}


menuentry "Check disc for defects" {
set gfxpayload = keep
linux / casper / vmlinuz boot = casper integrity-check quiet splash ---
initrd / casper / initrd
}


/preseed/mv.seed------------------------------------------------


d-i debian-installer / language string en


d-i netcfg / dhcp_failed note
d-i netcfg / dhcp_options select Configure network manually


#


d-i netcfg / get_ipaddress string 192.168.1.237
d-i netcfg / get_netmask string 255.255.255.0
d-i netcfg / get_gateway string 192.168.1.1
d-i netcfg / get_nameservers string 192.168.1.1
d-i netcfg / confirm_static boolean true


d-i netcfg / hostname string Multivis


d-i passwd / user-fullname string comtex
d-i passwd / username string comtex


d-i passwd / user-password password Comtex @ 457
d-i passwd / user-password-again password


d-i partman-auto / regular string method


d-i partman-auto / choose_recipe select atomic


d-i partman / default_filesystem string ext4


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 finish-install / reboot_in_

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...