[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Prochaine révisionLes deux révisions suivantes | ||
fr:howtos:hardware:syncing_hardware_clock_and_system_local_time [2021/11/29 08:21 (UTC)] – desiderius | fr:howtos:hardware:syncing_hardware_clock_and_system_local_time [2021/11/29 08:51 (UTC)] – desiderius | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
===== Aperçu du problème ===== | ===== Aperçu du problème ===== | ||
- | Si vous avez plusieurs distributions sur le même machine, vous pouvez | + | Si vous avez plusieurs distributions sur la même machine, vous pouvez |
- | Si la distribution Distro X est configurée pour lire l' | + | Si la distribution Distro X est configurée pour lire l' |
Cet HOWTO vous propose une solution simple et unique, valable pour toutes les distributions qui vous assurera d' | Cet HOWTO vous propose une solution simple et unique, valable pour toutes les distributions qui vous assurera d' | ||
Ligne 14: | Ligne 14: | ||
- | ===== Procedure to Synchronize the System Time to Hardware Clock ===== | + | ===== Procédure pour synchroniser votre horloge système avec votre horloge matérielle |
+ | |||
+ | C'est une procédure à faire une seule fois pour vous assurer que votre horloge matérielle est reconnue correctement par toutes les distributions Linux que vous utilisez sur une seule et même machine. | ||
+ | |||
+ | Supposons que vous puissiez démarrer Distro X et Distro Y, démarrez d' | ||
- | This is a one-time procedure to ensure that your hardware clock' | ||
- | Assuming you are dual-booting Distro X and Y, first boot into Distribution X. First check the hardware clock with the following command. | ||
| | ||
+ | |||
+ | Si votre horloge matérielle n'est pas réglée sur l' | ||
If your hardware clock is not set to your local time, then you must set the system time to local time. As root, | If your hardware clock is not set to your local time, then you must set the system time to local time. As root, | ||
- | **Update via NTP: | + | **Update via NTP: |
| | ||
- | -or- \\ | + | -ou- \\ |
- | **Manual update:** \\ | + | **Mise à l' |
date --set "5 Aug 2012 12:54 IST" | date --set "5 Aug 2012 12:54 IST" | ||
- | Obviously in the above command you must set your date, time and time zone correctly. | + | Bien sûr, dans la commande précédente, |
+ | |||
+ | Maintenant, en tant que root, synchronisez l' | ||
- | Now as root, synchronize the hardware clock to the current system time as local time. | ||
| | ||
- | Now the hardware clock is readjusted to the system time and both now point to the local time. | + | |
+ | Maintenant, l' | ||
+ | |||
- | < | + | < |
- | Now boot into Distro | + | Démarrez à présent avec la distribution |
+ | |||
===== Syncing to UTC instead of Local Time ===== | ===== Syncing to UTC instead of Local Time ===== |