oddlama / gentoo-install

A gentoo installer with a TUI interface that supports systemd and OpenRC, EFI and BIOS, as well as variable disk layouts using ext4, zfs, btrfs, luks and mdraid.
MIT License
531 stars 72 forks source link

Error on Linux Mint XFCE bootable iso #12

Closed gsuzeda closed 3 years ago

gsuzeda commented 3 years ago
[+] Preparing installation environment
[+] Syncing time
 6 Jun 16:36:30 ntpd[8354]: ntpd 4.2.8p12@1.3728-o (1): Starting
 6 Jun 16:36:30 ntpd[8354]: Command line: ntpd -g -q
 6 Jun 16:36:30 ntpd[8354]: proto: precision = 0.043 usec (-24)
 6 Jun 16:36:30 ntpd[8354]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): good hash signature
 6 Jun 16:36:30 ntpd[8354]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): loaded, expire=2021-06-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
 6 Jun 16:36:30 ntpd[8354]: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): will expire in less than 22 days
 6 Jun 16:36:30 ntpd[8354]: unable to bind to wildcard address :: - another process may be running - EXITING
error: Could not sync time with remote server

my config file:


# This file will be interpreted by /bin/bash.

################################################
# Disk configuration

function disk_configuration() {
    create_classic_single_disk_layout swap='8GiB' type='efi' luks='false' root_fs='ext4' '/dev/nvme0n1' ;
}

################################################
# System configuration

HOSTNAME='gentoo'
TIMEZONE='America/Sao_Paulo'
KEYMAP='us'
KEYMAP_INITRAMFS='us'

LOCALES=''
LOCALE='pt_BR.utf8'

################################################
# Gentoo configuration

SYSTEMD='false'
PORTAGE_SYNC_TYPE='git'
PORTAGE_GIT_FULL_HISTORY='false'
PORTAGE_GIT_MIRROR='https://anongit.gentoo.org/git/repo/sync/gentoo.git'
GENTOO_MIRROR='https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo'
GENTOO_ARCH='amd64'
STAGE3_BASENAME="stage3-$GENTOO_ARCH"
SELECT_MIRRORS='true'
SELECT_MIRRORS_LARGE_FILE='false'

################################################
# Additional (optional) configuration

ADDITIONAL_PACKAGES=()
INSTALL_SSHD='false'
ROOT_SSH_AUTHORIZED_KEYS=''

################################################
# Prove that you have read the config

I_HAVE_READ_AND_EDITED_THE_CONFIG_PROPERLY=true```
oddlama commented 3 years ago

Apparently MINT already starts a ntp server and so ntpd conflicts with the running instance. I have modified the script so that it asks what to do in case ntpd fails. As there already is a ntp daemon running you will have a synced clock already and may skip over the command after it fails by choosing continue.

If there is another problem, please reopen this issue.