Avvio lento mint 18.3 (Risolto)

Aperto da Crematin, Martedì 06 Novembre 2018, 10:36:05

Discussione precedente - Discussione successiva

Crematin

Buongiorno

visto che mint 18.3 ci metteva un secolo a partire, ho dato un occhio a FSTAB e scopro di avere sda1 in ro...... :palm:
Da live ho fatto girare gparted e ho ripristinato MBR con bootrepair ma ro rimane e se provo ad editare sda1 in rw si blocca tutto......
Qualche idea

GRZ1000

Tony

#1
Cos'è sda1?
Cosa contiene?
Di che filesystem parliamo?
Hai anche Windows installato?

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

Crematin

Tony,

SDA1 la partizione che contiene MINT 18.3 unico OS installato su macchina.
Filesystem in ext4


andrea111

Citazioneho dato un occhio a FSTAB e scopro di avere sda1 in ro.....
in genere è così per tutti i sistemi linux installati.
Posta i risultati di cat /etc/fstab e lsblk -f

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

Tony

Attenzione, in fstab, il remount in caso di errore è in ro.
Normalmente, la root è in rw.
Non devi tanto vedere /etc/fstab ma /etc/mtab
Cioè, attualmente com'è montata la partizione.
Per vedere ciò dai questo comando
mount | grep sda1

Dovrebbe uscire qualcosa di simile (anzi identico) a questo
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)

in tal caso quel rw appena dopo la parentesi sta a significare che la root (cioè sda1) è montata in lettura e scrittura, com'è corretto che sia.
Per te è così?

P.S. E' lo stesso se visualizzi con cat /etc/fstab come ha detto andrea111

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

Crematin

#5
Questo il risultato:


casa@casa-K53SV ~ $ mount | grep sda1
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
casa@casa-K53SV ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=11b695da-7ffb-4f0c-b0ef-d44ec5e0d393 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
#UUID=dc25a25a-8201-48c5-ade5-668d8248f257 none            swap    sw              0       0

andrea111

La riga di fstab
CitazioneUUID=11b695da-7ffb-4f0c-b0ef-d44ec5e0d393 /               ext4    errors=remount-ro 0       1
è OK.
Nota che "errors=remount-ro" significa: in caso di errore monta il file in ro, ma solo in caso di errore. E sta bene così.

Come mai c'è un "#" davanti alla riga della swap? lo hai messo tu?

Nel postato manca il lsblk -f serve per confrontare gli UUID e per vedere le partizioni installate.

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

Tony


casa@casa-K53SV ~ $ mount | grep sda1
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)

Anche qui nulla da segnalare.
Sda1 è montato sia in lettura che scrittura.

Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

Crematin


Crematin

Vi allego PNG poichè mi da errore se lo copio come testo

andrea111

Gli UUID sono a posto.
Ora vediamo il caricamento, posta
Systemd-analyze blame
Systemd-analyze critical-chain

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

Crematin

casa@casa-K53SV ~ $ systemd-analyze blame
          9.259s NetworkManager-wait-online.service
           819ms lvm2-monitor.service
           447ms dev-sda1.device
           367ms console-setup.service
           329ms accounts-daemon.service
           317ms networking.service
           306ms NetworkManager.service
           292ms user@1000.service
           273ms ModemManager.service
           261ms minidlna.service
           244ms thermald.service
           226ms avahi-daemon.service
           219ms lightdm.service
           209ms grub-common.service
           204ms systemd-logind.service
           203ms loadcpufreq.service
           194ms gpu-manager.service
           193ms zram-config.service
           192ms ondemand.service
           190ms apport.service
           188ms irqbalance.service
           171ms upower.service
           146ms speech-dispatcher.service
lines 1-23...skipping...
          9.259s NetworkManager-wait-online.service
           819ms lvm2-monitor.service
           447ms dev-sda1.device
           367ms console-setup.service
           329ms accounts-daemon.service
           317ms networking.service
           306ms NetworkManager.service
           292ms user@1000.service
           273ms ModemManager.service
           261ms minidlna.service
           244ms thermald.service
           226ms avahi-daemon.service
           219ms lightdm.service
           209ms grub-common.service
           204ms systemd-logind.service
           203ms loadcpufreq.service
           194ms gpu-manager.service
           193ms zram-config.service
           192ms ondemand.service
           190ms apport.service
           188ms irqbalance.service
           171ms upower.service
           146ms speech-dispatcher.service
           119ms keyboard-setup.service
           111ms apparmor.service
           107ms virtualbox.service
            98ms systemd-tmpfiles-setup-dev.service
            91ms systemd-udev-trigger.service
            90ms systemd-journald.service
            87ms console-kit-log-system-start.service
            87ms udisks2.service
            86ms lm-sensors.service
            82ms iio-sensor-proxy.service
            82ms systemd-rfkill.service
            69ms rsyslog.service
            60ms systemd-modules-load.service
            55ms colord.service
            55ms alsa-restore.service
            53ms systemd-tmpfiles-setup.service
            52ms ntp.service
            51ms polkitd.service
            44ms pppd-dns.service
            44ms systemd-user-sessions.service
            43ms systemd-udevd.service
            37ms binfmt-support.service
            30ms hddtemp.service
            29ms cpufrequtils.service
            27ms dev-hugepages.mount
            27ms sys-kernel-debug.mount
            25ms systemd-remount-fs.service
            19ms dev-disk-by\x2duuid-dc25a25a\x2d8201\x2d48c5\x2dade5\x2d668d8248f257.swap
            19ms systemd-random-seed.service
            19ms systemd-sysctl.service
            16ms plymouth-start.service
            16ms wpa_supplicant.service
            15ms plymouth-read-write.service
            13ms dns-clean.service
            13ms kmod-static-nodes.service
            12ms ufw.service
            12ms dev-mqueue.mount
            11ms rc-local.service
            10ms systemd-journal-flush.service
             8ms proc-sys-fs-binfmt_misc.mount
             8ms setvtrgb.service
             7ms rtkit-daemon.service
             6ms resolvconf.service
             6ms systemd-backlight@backlight:acpi_video1.service
             6ms systemd-update-utmp.service
             5ms ureadahead-stop.service
             4ms systemd-update-utmp-runlevel.service
             3ms systemd-backlight@backlight:intel_backlight.service
             3ms plymouth-quit-wait.service
             3ms sys-fs-fuse-connections.mount
             2ms nvidia-persistenced.service
             2ms openvpn.service
             2ms systemd-backlight@backlight:acpi_video0.service
lines 34-76/76 (END)

Crematin

Systemd-analyze critical-chain

andrea111

Bisogna che impari a postare.
Devi usare le icone che vedi sopra la finestra in cui scrivi l'intervento (sopra le faccine).
Per postare il codice serve quella con il carattere "#" (Inserisci Codice).

Devi copiare/incollare quello che vuoi postare in mezzo ai delimitatori fra parentesi quadre che appaiono, il risultato è questo codice che vuoi postare

Per quanto riguarda il boot non c'è nulla da segnalare, è OK.

Fai un riavvio e poi posta anche dmesg -T

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

SupertuxKart

Beh, prova a far partire la live con la quale hai installato il sistema,installa temporaneamente :
sudo apt install gsmartcontrol

Fai partire il programma gsmartcontrol e guarda se ti segnala qualcosa, di solito è evidenziato in rosso.
Fai eventualmente partire gparted e fagli fare il controllo di coerenza, seleziona la partizione, dal menù "Partizione" e poi "Controllo".