Questions sur l'installation et la configuration de Manjaro Linux.

Démarrage assez long

#1Messageil y a 10 ans

Bonjour,
Ne voulant pas "perturber" ce post http://www.manjaro.fr/forum/viewtopic.php?f=17&t=1547&p=17876&hilit=boot+long#p17780
J'ouvre donc un sujet similaire :
Quand je démarre Manjaro (après le passage sélection de grub2) j'ai un message :
Waiting 10 seconds for device /dev/sdisk/by-uuid/fod2fxxxxxxxxx
, Attendre 10 secondes pour le dispositif ????
ce que je ne trouve null part; mais les 10 secondes s'écoulent vraiment ! et je n'ai aucune possibilité d'intervention à partir du clavier, sinon que de laisser faire....
Alors j'ai fais => et je trouve assez long, comparé avec d'autres résultats vus sur le forum ( je suis avec un SSD ):

$ systemd-analyze
Startup finished in 11.317s (kernel) + 18.080s (userspace) = 29.397s


Puis :

$ systemd-analyze blame
          9.074s ntpdate.service
          7.942s NetworkManager-wait-online.service
           380ms NetworkManager.service
           317ms systemd-modules-load.service
           183ms polkit.service
           120ms systemd-vconsole-setup.service
           102ms systemd-logind.service
           100ms udisks2.service
           100ms ntpd.service
            99ms systemd-udev-trigger.service
            59ms systemd-tmpfiles-setup-dev.service
            58ms keyboardctl.service
            54ms systemd-fsck@dev-disk-by\x2duuid-a6d69021\x2d8464\x2d46d1\x2db334\x2d1586f3147809.service
            52ms ModemManager.service
            51ms sys-kernel-debug.mount
            48ms dev-hugepages.mount
            36ms alsa-restore.service
            32ms dev-mqueue.mount
            26ms systemd-sysctl.service
            24ms rtkit-daemon.service
            18ms systemd-remount-fs.service
            15ms systemd-udevd.service
            11ms upower.service
            10ms systemd-journal-flush.service
             9ms home.mount
             8ms systemd-tmpfiles-clean.service
             7ms systemd-random-seed-load.service
             7ms tmp.mount
             7ms var-tmp.mount
             6ms systemd-user-sessions.service
             6ms systemd-update-utmp.service
             5ms dev-disk-by\x2duuid-5a507def\x2d49f3\x2d4ebf\x2d9372\x2d15103d2f2f3b.swap
             4ms systemd-tmpfiles-setup.service
             3ms var-log.mount
             1ms sys-kernel-config.mount

Je constate donc que le temps de ntpdate.service est long ....quand au NetworkManager-wait-online.service, j'ai une connexion à 2 mo réelle :pleure: ...
Le fichier fstab > ce sont les bons UUI (j'ai vérifié; les partitions sont bien toutes montées ) :

# 
# /etc/fstab: static file system information
#
# <file system>   <dir>   <type>   <options>   <dump>   <pass>
UUID=8aba6c80-4583-4f60-b5c7-1199ebcf937d / ext4 defaults 0 1
UUID=a6d69021-8464-46d1-b334-1586f3147809 /home ext4 defaults 0 1
UUID=5a507def-49f3-4ebf-9372-15103d2f2f3b swap swap defaults 0 0

tmpfs           /tmp      tmpfs    noatime,mode=1777
tmpfs           /var/log  tmpfs    noatime,mode=0755
tmpfs           /var/tmp  tmpfs    noatime,mode=1777

Et, n'étant pas assez "pro" pour savoir qui et quoi....? peut-être avez vous une interprétation positive et, de quoi y remédier, si toutefois ces résultats sont anormaux ?
Je vous en remercie vivement par avance :sourire:
Dernière modification par kilimand22il y a 10 ans, modifié au total 2 fois.

Démarrage assez long

#2Messageil y a 10 ans

Salut kilimand22

Sans SSD :

┌──[13-07-2013 08:21:50] [thierry@pc-thierry] ~ 
└──[$] → systemd-analyze
Startup finished in 1.377s (kernel) + 4.443s (userspace) = 5.821s

Démarrage assez long

#3Messageil y a 10 ans

Salut, ewolnux
Ben oui, je vois.....la différence énorme; cependant je ne sais pas y remédier .
c'est surtout de savoir ce que signifie ce message d'attente : Waiting 10 seconds for device /dev/sdisk/by-uuid/fod2fxxxxxxxxx ???
qui correspondrait au résultat final .
est-ce une particularité de Manjaro , ou seulement chez moi ?
ya pas le feu....je vais attendre d'autres avis :sourire:
:merci:
Dernière modification par kilimand22il y a 10 ans, modifié au total 1 fois.

Démarrage assez long

#4Messageil y a 10 ans

il faudrait montrer ton /etc/default/grub

Démarrage assez long

#5Messageil y a 10 ans

:bjr:

sudo systemctl  disable ntpdate.service

Redémarre ensuite ton PC, et si l'heure est OK, laisse-le comme ça.

Démarrage assez long

#6Messageil y a 10 ans

Hello, Merci pour vos questions / réponses
@Esclapion
Oui j'ai fait :

sudo systemctl  disable ntpdate.service

çà ne change en rien, ni l’heure, ni de changements en rapidité au redémarrage

$ systemd-analyze
Startup finished in 11.314s (kernel) + 8.734s (userspace) = 20.049s


@Loubrix

j'avais dé-commenté (çà ne changeait rien)
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_RECOVERY=true

GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/f0d2fe78-95f1-413d-b98b-271b2c902559"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
#GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"


Par contre celui-ci est-il normal /boot/syslinux.cfg le TIMEOUT 50 ? :

# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
#   * menu.c32 - provides a text menu
#   * vesamenu.c32 - provides a graphical menu
#   * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
#   * hdt.c32 - hardware detection tool
#   * reboot.c32 - reboots the system
#   * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl

# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

LABEL arch
   MENU LABEL Arch Linux
   LINUX ../vmlinuz-linux
   APPEND root=/dev/sda3 ro
   INITRD ../initramfs-linux.img

LABEL archfallback
   MENU LABEL Arch Linux Fallback
   LINUX ../vmlinuz-linux
   APPEND root=/dev/sda3 ro
   INITRD ../initramfs-linux-fallback.img

#LABEL windows
#        MENU LABEL Windows
#        COM32 chain.c32
#        APPEND hd0 1

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32
 
LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32
 
LABEL off
        MENU LABEL Power Off
        COMBOOT poweroff.com


Et le disque :
Image

Et ce temps démarrage, est ainsi depuis le tout début de l'installation.... :saispas:
Je n'ai pas çà avec aucune autre distro...: Waiting 10 seconds for device /dev/sdisk/by-uuid/fod2fxxxxxxxxx
En tous cas Merci encore pour votre attention :sourire:
Dernière modification par kilimand22il y a 10 ans, modifié au total 1 fois.

Démarrage assez long

#7Messageil y a 10 ans

çà ne change en rien, ni l’heure, ni de changements en rapidité au redémarrage
CODE : TOUT SÉLECTIONNER
$ systemd-analyze
Startup finished in 11.314s (kernel) + 8.734s (userspace) = 20.049s


Il y a quand même un delta de 9", si je lis bien ???

Tu étais à 29.397.

Démarrage assez long

#8Messageil y a 10 ans

kilimand22 a écrit :Par contre celui-ci est-il normal /boot/syslinux.cfg le TIMEOUT 50 ? :

Oui, identique chez moi.

Démarrage assez long

#9Messageil y a 10 ans

En me relisant, je vois ici le fameux UUID qui correspond (je n'arrivais pas à le lire entièrement ! ! ! :
Waiting 10 seconds for device /dev/sdisk/by-uuid/f0d2fe78-95f1-413d-b98b-271b2c902559

[code]GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/f0d2fe78-95f1-413d-b98b-271b2c902559"
GRUB_CMDLINE_LINUX=""
Edit : c'est ce waiting qui retarde de 10 secondes ??? !!!
Dernière modification par kilimand22il y a 10 ans, modifié au total 1 fois.

Démarrage assez long

#10Messageil y a 10 ans

Esclapion a écrit :
çà ne change en rien, ni l’heure, ni de changements en rapidité au redémarrage
CODE : TOUT SÉLECTIONNER
$ systemd-analyze
Startup finished in 11.314s (kernel) + 8.734s (userspace) = 20.049s


Il y a quand même un delta de 9", si je lis bien ???

Tu étais à 29.397.

OUI ! excuse moi... je n'avais pas remarqué.... :rougir: ; mais je suis très loin de celui, de ewolnux ( entre autres...) voir du tiens...

Démarrage assez long

#11Messageil y a 10 ans

kilimand22 a écrit :En me relisant, je vois ici le fameux UUID qui correspond (je n'arrivais pas à le lire entièrement ! ! ! :
Waiting 10 seconds for device /dev/sdisk/by-uuid/f0d2fe78-95f1-413d-b98b-271b2c902559

[code]GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/f0d2fe78-95f1-413d-b98b-271b2c902559"
GRUB_CMDLINE_LINUX=""
Edit : c'est ce waiting qui retarde de 10 secondes ??? !!!

C'est quoi cet UUID ?

Normalement ce devrait être l'UUID de la swap :
UUID=5a507def-49f3-4ebf-9372-15103d2f2f3b swap swap defaults 0 0

Démarrage assez long

#12Messageil y a 10 ans

Pour lever le doute, tu pourrais peut-être :

1) commenter la ligne de swap dans ton fstab ? (puis redémarrer le PC, oeuf corse)

2) rajouter sinon nofail sur cette ligne ? (idem) (barré, car le t.o. durerait 90")

Il est sur quel type de disque, ce swap ? J'espère que ce n'est pas un DDE ?
Dernière modification par Esclapionil y a 10 ans, modifié au total 1 fois.
Raison :Erreur

Démarrage assez long

#13Messageil y a 10 ans

Il ne devrait pas mettre l'UUID de la swap qui est mentionnée dans son fstab (voir son premier post) ?

et avoir dans son /etc/default/grub :

GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/5a507def-49f3-4ebf-9372-15103d2f2f3b"

Démarrage assez long

#14Messageil y a 10 ans

ewolnux a écrit :Il ne devrait pas mettre l'UUID de la swap qui est mentionnée dans son fstab (voir son premier post) ?

et avoir dans son /etc/default/grub :

GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/5a507def-49f3-4ebf-9372-15103d2f2f3b"


Salut Thierry, :bjr:

Oui, c'est bizarre. Il sort d'où, cet UUID en f0d2fe78-95f1-413d-b98b-271b2c902559 ??? :confus:

(edit)

Pourrait-on avoir le résultat de la commande blkid ?

Démarrage assez long

#15Messageil y a 10 ans

Hello Patrice :bjr:

Je ne sais d'où sort cet UUID, mais vu son fstab, qu'il commence par modifier son /etc/default/grub et qu'il redémarre.

Après on verra si ça ne change pas.

edit1 : +1 avec Patrice, donne-nous le résultat de sudo blkid

Démarrage assez long

#16Messageil y a 10 ans

ok; je mis dans /etc/default/grub > je vais redémarrer.....@+:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/disk/by-uuid/5a507def-49f3-4ebf-9372-15103d2f2f3b"
GRUB_CMDLINE_LINUX=""


Autrement on ne vois nulle part ce UUID "fantôme" ! >> ne serais-ce pas celui de la clé bootable de l'installation ? (que je n'ai plus ...) :

[kili@pc1 ~]$ sudo blkid
[sudo] password for kili:
/dev/sda1: LABEL="Mint_13_Maya_kde" UUID="aa6ab9e0-fbe5-4953-808e-756894759908" TYPE="ext4" PTTYPE="dos"
/dev/sda2: LABEL="Mint_13_Home" UUID="9e89e31f-d576-4f84-82c8-254400ea4e35" TYPE="ext4"
/dev/sda3: LABEL="Swap" UUID="5a507def-49f3-4ebf-9372-15103d2f2f3b" TYPE="swap"
/dev/sda5: LABEL="Open_Suse" UUID="c8877a1e-89ac-468e-8134-b0240e4d2b9c" TYPE="ext4" PTTYPE="dos"
/dev/sda6: LABEL="Home_Suse" UUID="f9719998-2c6b-4794-9db5-b5513d30bde1" TYPE="ext4"
/dev/sda7: LABEL="Mageia_3" UUID="65125899-1b09-4eca-a3f0-eae857eca11f" TYPE="ext4" PTTYPE="dos"
/dev/sda8: LABEL="Mageia_3_Home" UUID="efba06e7-4f48-4b49-b43e-10f9a102ffc6" TYPE="ext4"
/dev/sda9: LABEL="Manjaro_8.6" UUID="8aba6c80-4583-4f60-b5c7-1199ebcf937d" TYPE="ext4"
/dev/sda10: LABEL="Manjaro_Home" UUID="a6d69021-8464-46d1-b334-1586f3147809" TYPE="ext4"
/dev/sdc1: LABEL="Vista" UUID="4E6ACF166ACEF9AC" TYPE="ntfs"
/dev/sdc2: LABEL="Jeux" UUID="BE1A660E1A65C44D" TYPE="ntfs"
/dev/sdb1: LABEL="DONNEES" UUID="FC5601655601224E" TYPE="ntfs"

Démarrage assez long

#17Messageil y a 10 ans

Autrement on ne vois nulle part ce UUID "fantôme" ! >> ne serais-ce pas celui de la clé bootable de l'installation ? (que je n'ai plus ...) :

C'est censé être depuis le début celui de la swap renseignée pendant l'installation.

Tu n'avais pas plusieurs swap des fois et que tu aurais supprimées après coup ?

Démarrage assez long

#18Messageil y a 10 ans

Et le temps, ça donne quoi ? (après un update-grub, bien sûr)

Démarrage assez long

#19Messageil y a 10 ans

Esclapion a écrit :Et le temps, ça donne quoi ?

Ici très beau :rire

Autrement il dit :
ok; je mis dans /etc/default/grub > je vais redémarrer.....@+:

Démarrage assez long

#20Messageil y a 10 ans

Ben non, puisque j'ai refais mes partitions "propre et nette !" y compris la swap pour justement ne pas être "perturbée" par les autres distros...
Mais il y a du positif :bien:bien:bien:bien:bien
J'ai mis l'UUID 8aba6c80-4583-4f60-b5c7-1199ebcf937d > qui est celle de /manjaro (l'UUID du swap ne répond pas aussi vite)
et voilà le résultat sur un pc de 6 ans ....le SSD ne compensant pas tout ....:

[kili@pc1 ~]$ systemd-analyze
Startup finished in 3.191s (kernel) + 8.581s (userspace) = 11.772s

comparé au précédent

$ systemd-analyze
Startup finished in 11.314s (kernel) + 8.734s (userspace) = 20.049s

çà correspond bien aux 10 secondes de recherche...; maintenant, j'ai à peine le temps de pouvoir lire l'écran !!!
Je peux donc d'après vous :maître: Esclapion & ewolnux considéré comme le sujet résolu ???
:clap:biere::merci:
Répondre