Page 1 sur 1
[boot] Demarrage impossible apres installation (Résolu)
Publié : mer. 07 mars 2012, 01:13
par Shousan
Bonjour à tous,
Alors voilà je vous contact car je viens d'installer archlinux sur mon disque SSD OCZ Vertex 3, mais là impossible à démarrer le boot reste bloqué à "Adjusting system time and setting kernel timezone [DONE]" J'avais déjà installé Archlinux sur mon ancien disque dur il y un ans, je ne comprends vraiment pas ce qui bloque, si quelqu'un a une idée...
Cordialement.
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 09:12
par FoolEcho
Il faudrait voir ce que contient /var/log/boot et /var/log/everything.log (à nous poster par pastebin par exemple): utilise donc un livecd pour monter le /var d'Arch et récupèrer ces fichiers... La fin de /var/log/pacman.log aussi (tu as peut-être laisser passer des choses sur ta dernière mise à jour).
Regarde également si tu peux démarrer sur l'entrée fallback (mais attention, les logs ne seront pas ceux à nous communiquer, hors pacman, à moins que tu n'utilises déjà cron + logrotate pour archiver les anciens logs).
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 09:57
par oktoberfest
Salut,
ce qui suit dans /etc/rc.sysinit c'est le lancement du démon udevd. C'est donc là que ça coince.
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 10:17
par Shousan
Merci de vous intéressez à mon problème, je me demande bien ce que je ferais sans toi FoolEcho ce n'est pas la première fois que tu me viens en aide. Alors voici le contenu de /var/log/boot
Code : Tout sélectionner
Wed Mar 7 00:45:53 2012: :: Adjusting system time and setting kernel timezone [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Starting UDev Daemon [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Triggering UDev uevents [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Waiting for UDev uevents to be processed [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Bringing up loopback interface [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Checking Filesystems [BUSY] ArchlinuxÂ\240: propre, 29976/1925120 fichiers, 345894/7700480 blocs
Wed Mar 7 00:45:53 2012: HomeArchÂ\240: propre, 11/3866624 fichiers, 288707/15446489 blocs
Wed Mar 7 00:45:53 2012: [DONE]
Wed Mar 7 00:45:53 2012: :: Remounting Root [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Mounting Local Filesystems [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Activating Swap [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Configuring Time Zone [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Removing Leftover Files [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Setting Hostname: SDL-PC [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Setting Consoles to UTF-8 mode [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Loading Keyboard Map: fr-latin9 [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Loading Console Font: lat9w-16 [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Saving dmesg Log [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: INIT: Entering runlevel: 3
Wed Mar 7 00:45:53 2012: :: Starting Syslog-NG [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Starting Network [BUSY] [DONE]
Wed Mar 7 00:45:53 2012: :: Starting crond daemon [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Adjusting system time and setting kernel timezone [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Starting UDev Daemon [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Triggering UDev uevents [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Waiting for UDev uevents to be processed [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Bringing up loopback interface [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Checking Filesystems [BUSY] ArchlinuxÂ\240: propre, 29987/1925120 fichiers, 345987/7700480 blocs
Wed Mar 7 00:50:33 2012: HomeArchÂ\240: propre, 11/3866624 fichiers, 288707/15446489 blocs
Wed Mar 7 00:50:33 2012: [DONE]
Wed Mar 7 00:50:33 2012: :: Remounting Root [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Mounting Local Filesystems [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Activating Swap [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Configuring Time Zone [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Initializing Random Seed [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Removing Leftover Files [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Setting Hostname: SDL-PC [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Setting Consoles to UTF-8 mode [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Loading Keyboard Map: fr-latin9 [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Loading Console Font: lat9w-16 [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Saving dmesg Log [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: INIT: Entering runlevel: 3
Wed Mar 7 00:50:33 2012: :: Starting Syslog-NG [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Starting Network [BUSY] [DONE]
Wed Mar 7 00:50:33 2012: :: Starting crond daemon [BUSY] [DONE]
et /var/log/everything.log
Code : Tout sélectionner
Mar 7 00:50:35 localhost kernel: [ 9.181089] r8169 0000:08:00.0: eth0: link up
Mar 7 00:50:35 localhost kernel: [ 9.181488] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mar 7 00:50:40 localhost kernel: [ 14.410276] [drm] nouveau 0000:03:00.0: unknown i2c port 48
Mar 7 00:50:40 localhost kernel: [ 14.410287] [drm] nouveau 0000:03:00.0: unknown i2c port 48
Mar 7 00:50:40 localhost kernel: [ 14.410298] [drm] nouveau 0000:03:00.0: unknown i2c port 56
Mar 7 00:50:40 localhost kernel: [ 14.410307] [drm] nouveau 0000:03:00.0: unknown i2c port 56
Mar 7 00:50:40 localhost kernel: [ 14.410317] [drm] nouveau 0000:03:00.0: unknown i2c port 54
Mar 7 00:50:46 localhost kernel: [ 19.480850] eth0: no IPv6 routers present
Mar 7 01:01:02 localhost /USR/SBIN/CROND[632]: (root) CMD (run-parts /etc/cron.hourly)
Mar 7 01:01:02 localhost anacron[636]: Anacron started on 2012-03-07
Mar 7 01:01:02 localhost anacron[636]: Will run job `cron.daily' in 22 min.
Mar 7 01:01:02 localhost anacron[636]: Will run job `cron.weekly' in 42 min.
Mar 7 01:01:02 localhost anacron[636]: Will run job `cron.monthly' in 62 min.
Mar 7 01:01:02 localhost anacron[636]: Jobs will be executed sequentially
Mar 7 01:14:17 localhost shutdown[638]: shutting down for system reboot
Mar 7 01:14:17 localhost init: Switching to runlevel: 6
Mar 7 01:14:18 localhost syslog-ng[567]: syslog-ng shutting down; version='3.3.4'
Par contre pour ce log j'ai du couper une grande partie car le message été trop.
oktoberfest je vais voir tout de suite /etc/rc.sysinit voir ce que je peux faire.
Dans tous les cas merci beaucoup à vous de vous penchez sur mon problème.
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 10:44
par Shousan
Et voici le contenu du fichier rc.sysinit
Code : Tout sélectionner
#!/bin/bash
#
# /etc/rc.sysinit
#
. /etc/rc.conf
. /etc/rc.d/functions
echo " "
printhl "Arch Linux\n"
printhl "${C_H2}http://www.archlinux.org"
printsep
# mount /proc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm (the api filesystems)
mountpoint -q /proc || mount -t proc proc /proc -o nosuid,noexec,nodev
mountpoint -q /sys || mount -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run || mount -t tmpfs run /run -o mode=0755,nosuid,nodev
mountpoint -q /dev || mount -t devtmpfs dev /dev -o mode=0755,nosuid
mkdir -p -m 1777 /run/lock
mkdir -p /dev/{pts,shm}
mountpoint -q /dev/pts || mount /dev/pts &>/dev/null ||
mount -n -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
mountpoint -q /dev/shm || mount /dev/shm &>/dev/null ||
mount -n -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
if [[ ! -e /run/initramfs/fsck-root ]]; then
# remount root ro to allow for fsck later on, we remount now to
# make sure nothing can open files rw on root which would block a remount
findmnt / --options ro &>/dev/null ||
status "Mounting Root Read-Only" mount -o remount,ro /
fi
run_hook sysinit_start
# log all console messages
bootlogd -p /run/bootlogd.pid
if [[ ! -a /usr/lib ]] ; then
printf "${C_FAIL}/usr is not mounted. This is not supported.${C_OTHER}\n"
fi
if ! grep -q devtmpfs /proc/filesystems; then
printf "${C_FAIL}Your kernel does not have devtmpfs support. This is not supported.${C_OTHER}\n"
fi
HWCLOCK_PARAMS="--systz"
case $HARDWARECLOCK in
"") ;;
UTC) HWCLOCK_PARAMS+=" --utc --noadjfile";;
localtime) HWCLOCK_PARAMS+=" --localtime --noadjfile";;
*) HWCLOCK_PARAMS="";;
esac
if [[ $HWCLOCK_PARAMS ]]; then
stat_busy "Adjusting system time and setting kernel timezone"
# enable rtc access
modprobe -q -a rtc-cmos rtc genrtc
# Adjust the system time for timezone offset if rtc is not in UTC
# 1. Make creation time on device nodes sane (FS#8665)
# 2. Filesystem checks can depend on system time
# 3. This also sets the kernel time zone, used by e.g. vfat
# If TIMEZONE is not set in rc.conf, the timezone stored in /etc/localtime
# is used. If HARDWARECLOCK is not set in rc.conf, the value in
# /var/lib/hwclock/adjfile is used (in this case /var can not be a separate
# partition).
TZ=$TIMEZONE hwclock $HWCLOCK_PARAMS && stat_done || stat_fail
fi
# Start/trigger UDev, load MODULES and settle UDev
udevd_modprobe sysinit
# bring up the loopback interface
[[ -d /sys/class/net/lo ]] &&
status "Bringing up loopback interface" ip link set up dev lo
# FakeRAID devices detection
[[ $USEDMRAID = [Yy][Ee][Ss] && -x $(type -P dmraid) ]] &&
status "Activating FakeRAID arrays" dmraid -i -ay
# BTRFS devices detection
[[ $USEBTRFS = [Yy][Ee][Ss] && -x $(type -P btrfs) ]] &&
status "Activating BTRFS volumes" btrfs device scan
# Activate LVM2 groups if any
activate_vgs
# Set up non-root encrypted partition mappings
if [[ -f /etc/crypttab && $CS ]] && grep -q ^[^#] /etc/crypttab; then
stat_busy "Unlocking encrypted volumes:"
modprobe -q dm-crypt 2>/dev/null
do_unlock() {
# $1 = requested name
# $2 = source device
# $3 = password
# $4 = options
stat_append "${1}.."
local open=create a=$1 b=$2 failed=0
# Ordering of options is different if you are using LUKS vs. not.
# Use ugly swizzling to deal with it.
# isLuks only gives an exit code but no output to stdout or stderr.
if $CS isLuks "$2" 2>/dev/null; then
open=luksOpen
a=$2
b=$1
fi
case $3 in
SWAP)
local _overwriteokay=0
if [[ -b $2 && -r $2 ]]; then
# This is DANGEROUS! If there is any known file system,
# partition table, RAID or LVM volume on the device
# we don't overwrite it.
#
# 'blkid' returns 2 if no valid signature has been found.
# Only in this case we should allow overwriting the device.
#
# This sanity check _should_ be sufficient, but it might not.
# This may cause dataloss if it is not used carefully.
blkid -p "$2" &>/dev/null
(( $? == 2 )) && _overwriteokay=1
fi
if (( _overwriteokay == 0 )); then
false
elif $CS -d /dev/urandom $4 $open "$a" "$b" >/dev/null; then
stat_append "creating swapspace.."
mkswap -f -L $1 /dev/mapper/$1 >/dev/null
fi;;
ASK)
printf "\nOpening '$1' volume:\n"
$CS $4 $open "$a" "$b" < /dev/console;;
/dev*)
local ckdev=${3%%:*}
local cka=${3#*:}
local ckb=${cka#*:}
local cka=${cka%:*}
local ckfile=/dev/ckfile
local ckdir=/dev/ckdir
case ${cka} in
*[!0-9]*)
# Use a file on the device
# cka is not numeric: cka=filesystem, ckb=path
mkdir ${ckdir}
mount -r -t ${cka} ${ckdev} ${ckdir}
dd if=${ckdir}/${ckb} of=${ckfile} >/dev/null 2>&1
umount ${ckdir}
rmdir ${ckdir};;
*)
# Read raw data from the block device
# cka is numeric: cka=offset, ckb=length
dd if=${ckdev} of=${ckfile} bs=1 skip=${cka} count=${ckb} >/dev/null 2>&1;;
esac
$CS -d ${ckfile} $4 $open "$a" "$b" >/dev/null
dd if=/dev/urandom of=${ckfile} bs=1 count=$(stat -c %s ${ckfile}) conv=notrunc >/dev/null 2>&1
rm ${ckfile};;
/*)
$CS -d "$3" $4 $open "$a" "$b" >/dev/null;;
*)
echo "$3" | $CS $4 $open "$a" "$b" >/dev/null;;
esac
if (( $? )); then
failed=1
stat_append "failed "
else
stat_append "ok "
fi
return $failed
}
crypto_unlocked=0
read_crypttab do_unlock && stat_done || stat_fail
# Maybe someone has LVM on an encrypted block device
(( crypto_unlocked )) && activate_vgs
fi
# Check filesystems
[[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-- -f"
declare -r FORCEFSCK
if [[ -n $FORCEFSCK ]] || { [[ ! -f /fastboot ]] && ! in_array fastboot $(< /proc/cmdline); }; then
run_hook sysinit_prefsck
if [[ -x $(type -P fsck) ]]; then
stat_busy "Checking Filesystems"
fsck_all >|"${FSCK_OUT:-/dev/stdout}" 2>|"${FSCK_ERR:-/dev/stdout}"
declare -r fsckret=$?
(( fsckret <= 1 )) && stat_done || stat_fail
else
declare -r fsckret=0
fi
run_hook sysinit_postfsck
# Single-user login and/or automatic reboot if needed
fsck_reboot $fsckret
fi
status "Remounting Root" \
mount -o remount /
# now mount all the local filesystems
run_hook sysinit_premount
status "Mounting Local Filesystems" \
mount_all
run_hook sysinit_postmount
# enable monitoring of lvm2 groups, now that the filesystems are mounted rw
[[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]] &&
status "Activating monitoring of LVM2 groups" \
vgchange --monitor y >/dev/null
status "Activating Swap" swapon -a
[[ $TIMEZONE ]] && status "Configuring Time Zone" set_timezone "$TIMEZONE"
RANDOM_SEED=/var/lib/misc/random-seed
[[ -f $RANDOM_SEED ]] &&
status "Initializing Random Seed" \
cp $RANDOM_SEED /dev/urandom
# Remove leftover files
remove_leftover
if [[ -s /etc/hostname ]]; then
HOSTNAME=$(< /etc/hostname)
fi
if [[ $HOSTNAME ]]; then
stat_busy "Setting Hostname: $HOSTNAME"
echo "$HOSTNAME" >| /proc/sys/kernel/hostname && stat_done || stat_fail
fi
if [[ -s /etc/locale.conf ]]; then
parse_envfile /etc/locale.conf "LANG"
[[ $LANG ]] && LOCALE=$LANG
fi
if [[ ${LOCALE,,} =~ utf ]]; then
stat_busy "Setting Consoles to UTF-8 mode"
# UTF-8 consoles are default since 2.6.24 kernel
# this code is needed not only for older kernels,
# but also when user has set vt.default_utf8=0 but LOCALE is *.UTF-8.
for i in /dev/tty[0-9]*; do
kbd_mode -u < ${i}
printf "\e%%G" > ${i}
done
echo 1 >| /sys/module/vt/parameters/default_utf8
stat_done
else
stat_busy "Setting Consoles to legacy mode"
# make non-UTF-8 consoles work on 2.6.24 and newer kernels
for i in /dev/tty[0-9]*; do
kbd_mode -a < ${i}
printf "\e%%@" > ${i}
done
echo 0 >| /sys/module/vt/parameters/default_utf8
stat_done
fi
if [[ -s /etc/vconsole.conf ]]; then
parse_envfile /etc/vconsole.conf "${vconsolevars[@]}"
[[ $FONT ]] && CONSOLEFONT=$FONT
[[ $FONT_MAP ]] && CONSOLEMAP=$FONT_MAP
fi
[[ $KEYMAP ]] &&
status "Loading Keyboard Map: $KEYMAP" loadkeys -q $KEYMAP
# Set console font if required
set_consolefont
stat_busy "Saving dmesg Log"
if [[ -e /proc/sys/kernel/dmesg_restrict ]] &&
(( $(< /proc/sys/kernel/dmesg_restrict) == 1 )); then
install -Tm 0600 <( dmesg ) /var/log/dmesg.log
else
install -Tm 0644 <( dmesg ) /var/log/dmesg.log
fi
(( $? == 0 )) && stat_done || stat_fail
run_hook sysinit_end
# End of file
# vim: set ts=2 sw=2 noet:
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 10:59
par oktoberfest
C'était pas la peine de poster le rc.sysinit, on le connait

. Ce que je voulais dire c'est qu'à priori c'est udev qui coince.
Par contre ton /var/log/boot montre un démarrage normal et complet. T'es sur qu'à 00h45 et 00h50 ton système a eu des soucis ???
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 11:08
par Shousan
Oui c'est surprenant c'est qu'à en croire /var/log/boot il n'y a aucun problème alors qu'en vérité lorsque je démarre le système je vois affiché "Adjusting system time and setting kernel timezone [DONE]" et c'est tout, il n'y a rien d'autre qui s'affiche. Par contre le clavier est toujours actif. J'ai pensé à quelque chose mais ça me semble ridicule, est ce qu'il serait possible que le système démarre trop rapidement et que l'affichage n'arrive pas à suivre? Car c'est une nouvelle installation sur un disque dur SSD, j'ai fais mon installation en remote, a partir du cd d'installation, tout c'est bien passé et quand j'ai essayé de redémarrer pour finir la configuration je suis resté bloqué.
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 11:13
par oktoberfest
Un autre truc bizarre... Dans everything.log on voit ça :
Code : Tout sélectionner
Mar 7 01:14:17 localhost shutdown[638]: shutting down for system reboot
Mar 7 01:14:17 localhost init: Switching to runlevel: 6
Mar 7 01:14:18 localhost syslog-ng[567]: syslog-ng shutting down; version='3.3.4'
Tu as donc réussi à faire un shutdown... tu as fais comment pour te logguer et arrêter le système ?
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 11:16
par Shousan
Je ne me suis pas logguer, pour éteindre j'ai appuyer sur ctrl+alt+suppr. avant ça j'ai appuyer sur echap aussi.
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 11:31
par benjarobin
Hum c'est possible que le PC change de résolution avec KMS et que ton écran ne la supporte pas (Bug de KMS)... Pour confirmer ajoute à la fin de ta ligne kernel : nomodeset, tu tu peux directement éditer la ligne depuis Grub en appuyant sur 'e'
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 11:58
par Shousan
En effet benjarobin en ajoutent nomodeset arch démarre sans problème, merci beaucoup pour ton aide. Est-ce qu'il faut queje fasse des reglages en particulier ou est-ce queje laisse nomodeset? Là je vais continuer mon installation, je vais installer les drivers nvidia peut-êtres que ça aidera.
Encore merci à vous pour vôtre, je continu l'installation pour êtres sûr que tout ce passe bien et je mettrais résolu.
Re: [boot] Demarrage impossible apres installation
Publié : mer. 07 mars 2012, 12:11
par benjarobin
Si tu installes les drivers nvidia cela implique une désactivation de KMS (ce que fait nomodeset, je te conseil de remplacer nomdeset par vga=0X_code_de_ta_resolution_ ou utilise vga=ask). Par contre cela aurait posé problème si tu voulait installer nouveau qui à besoin de KMS.
Pour information ArchLinux démarrait bien correctement, tu ne voyais tout simplement pas ce qui était affiché

Re: [boot] Demarrage impossible apres installation (Résolu)
Publié : jeu. 08 mars 2012, 00:01
par Shousan
Problème résolu!
Un grand merci à vous en tout cas, c'est vraiment appréciable une tel réactivité. Passez une bonne soirée.