aurelioprovetti
(usa Ubuntu)
Enviado em 28/08/2023 - 15:33h
Pessoal, boa tarde!
Sou novo aqui no vivaolinux. Estou tentando criar uma imagem auto instalável do Ubuntu 20.04 Desktop. Onde não existe nenhuma interação com o usuário na hora da formatação/instalação. Contudo eu consegui criar a imagem e ela faz todos os passos automaticamente através do arquivo pressed que foi criado. Porém na hora que ele finaliza a instalação e o notebook é reiniciado aparece a tela preta com a mensagem "Operation system not found". Já alterei na BIOS tanto para legacy quanto para UEFI, mas o problema ainda persiste.
Mais alguém no Fórum já passou por esse problema?
Segue abaixo meu arquivo pressed:
# Based on
https://askubuntu.com/questions/806820/how-do-i-create-a-completely-unattended-install-of-ubuntu-des...
# Partitioning
#ubiquity partman-auto/disk string /dev/sda
#ubiquity partman-auto/method string regular
#ubiquity partman-lvm/device_remove_lvm boolean true
#ubiquity partman-md/device_remove_md boolean true
#ubiquity partman-auto/choose_recipe select atomic
#d-i preseed/early_command string umount /media || true
#d-i partman-auto/method string lvm
#d-i partman-auto-lvm/guided_size string max
#d-i partman-lvm/device_remove_lvm boolean true
#d-i partman-lvm/confirm boolean true
#d-i partman-lvm/confirm_nooverwrite boolean true
#d-i partman-auto-lvm/new_vg_name string main
#d-i partman-md/device_remove_md boolean true
#d-i partman-md/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 partman-basicmethods/method_only boolean false
#d-i preseed/early_command string umount /media
#d-i partman/unmount_active boolean true
#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
#d-i partman-auto/choose_recipe select atomic
# This makes partman automatically partition without confirmation, provided
#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
# Locale
d-i keyboard-configuration/layoutcode select us
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
# Network
d-i netcfg/get_hostname string localhost
d-i netcfg/get_domain string localdomain
d-i netcfg/choose_interface select auto
# Clock
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
# Packages, Mirrors, Image
d-i mirror/country string US
d-i apt-setup/multiverse boolean true
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
# Users
d-i passwd/user-fullname string User
d-i passwd/username string user
# Password: ubuntu
# Generate with "openssl passwd -6"
d-i passwd/user-password-crypted password $6$eRzcYyR3Xw2elP6l$l7JXHXxbXRgD8KCx4xFt4q7aJFpsUfjjMHbfYZAlJ56GLSspojJ6ODxlauuauL72jYbwhEhGwUmzgImIVCFle0
d-i passwd/user-default-groups string adm audio cdrom dip lpadmin sudo plugdev sambashare video
d-i passwd/root-login boolean false
d-i user-setup/allow-password-weak boolean false
# Grub
d-i grub-installer/grub2_instead_of_grub_legacy boolean true
d-i grub-installer/only_debian boolean true
d-i finish-install/reboot_in_progress note
# Custom Commands
ubiquity ubiquity/success_command string \
in-target apt update;\
in-target apt remove -y gnome-initial-setup;\
in-target apt install -y open-vm-tools
# Poweroff after install
#ubiquity ubiquity/poweroff boolean true
# Reboot after install
ubiquity ubiquity/reboot boolean true