***** UPDATE: Eu já implementei um hack que resolve esse problema. Eu ainda estou procurando por ajuda, pois eu realmente não considero o hack uma solução. Eu inicializei o shell (alt + f4) depois que o computador desligou em uma falha ao montar o cd-room e digitei "tail -n 100 / var / log / syslog" para ver melhor o erro. Ele disse que o dispositivo foi relatado como ocupado. Isso parecia implicar que a instalação estava sendo desligada tentando remontar o usb que estava sendo inicializado. Para resolver isso, decidi dar-lhe um segundo usb para descobrir que não estaria ocupado. Então, em suma eu liguei um segundo usb idêntico com a mesma imagem e magicamente isso funciona agora.
Se alguém tem alguma idéia de como realmente resolver esse problema, ainda estou muito interessado em uma solução mais legítima!
Obrigado,
-David
*** NOTA: isso é completamente aleatório, mas, por qualquer motivo, esse problema ocorre exclusivamente para mim em dispositivos que não tinham um sistema operacional instalado anteriormente. Depois de instalar um sistema operacional, posso usar um único usb inicializável sem problemas notáveis.
'
Estou tentando obter algum hardware (que não tem uma unidade de CD) para funcionar com uma instalação autônoma do Ubuntu a partir de um USB. Eu estou tentando usar o método kickstart, mas atualmente retorna um erro: montagem / dev / sda em / media falhou: argumento inválido
Eu tenho o ks.cfg, o txt.cfg e o grub.cfg configurados conforme descrito abaixo. Se você pudesse olhá-los e me avisar o que estou fazendo de errado, eu agradeceria muito.
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/black
set menu_color_highlight=black/light-gray
menuentry "Quick Install" {
set gfxpayload=keep
#THIS IS THE LINE I'M WORRIED ABOUT
linux /install/vmlinuz file=/boot/preseed/ubuntu-server.seed quiet ks=boot:/ks.cfg --
initrd /install/initrd.gz
}
menuentry "OEM install (for manufacturers)" {
set gfxpayload=keep
linux /install/vmlinuz file=/cdrom/preseed/ubuntu-server.seed quiet oem-config/enable=true --
initrd /install/initrd.gz
}
menuentry "Multiple server install with MAAS" {
set gfxpayload=keep
linux /install/vmlinuz modules=maas-enlist-udeb vga=788 initrd=/install/initrd.gz quiet --
initrd /install/initrd.gz
}
menuentry "Check disc for defects" {
set gfxpayload=keep
linux /install/vmlinuz MENU=/bin/cdrom-checker-menu quiet --
initrd /install/initrd.gz
}
menuentry "Rescue a broken system" {
set gfxpayload=keep
linux /install/vmlinuz rescue/enable=true --
initrd /install/initrd.gz
}
txt.cfg:
default install
label install
menu label ^Install Ubuntu
kernel /install/vmlinuz
#THIS IS THE LINE I'M WORRIED ABOUT
append file=/preseed/ubuntu-server.seed initrd=/install/initrd.gz ks=boot:/ks.cfg
label cloud
menu label ^Multiple server install with MAAS
kernel /install/vmlinuz
append modules=maas-enlist-udeb vga=788 initrd=/install/initrd.gz quiet --
label check
menu label ^Check disc for defects
kernel /install/vmlinuz
append MENU=/bin/cdrom-checker-menu vga=788 initrd=/install/initrd.gz quiet --
label memtest
menu label Test ^memory
kernel /install/mt86plus
label hd
menu label ^Boot from first hard disk
localboot 0x80
e finalmente meu ks.cfg:
#Generated by Kickstart Configurator
#platform=x86
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone America/New_York
#Root password
rootpw --disabled
#Initial user
user Rattatta --fullname "Rattatta" --iscrypted --password password/
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part / --fstype ext4 --size 1 --grow
part swap --recommended
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled
#Do not configure the X Window System
skipx
%packages
nano
openssh-server
open-vm-tools --no-install-recommends
Muito obrigado,
David