Re-bonjour,
Merci pour vos réponses, et désoler pour le retard de la mienne. J'étais assez éloigné de mon PC malade.
Tout d'abord :
Pheimors a écrit :vga)x317
")" ??
Devrait $etre vga=0x0317
En effet, faute de frappe de ma part. J'avais la flemme de monter une clef usb pour copier les données, je me suis retrouver taper le tout à la main...
benjaminrobin a écrit :
Il y a de nombreux sujet là-dessus, c'est juste que tu n'as pas suivi le wiki.
En effet. J'ai parcouru le wiki en long et en large, mais je n'ai aucune idée de la cause de mon problème. Sans connaître cette info, je n'ai pas pu correctement orienter mes recherches dans le wiki, et donc, je n'ai pas pu le parcourir en travers.
A propos des partitions :
Code : Tout sélectionner
# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x21842183
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 40795 307202962+ 7 HPFS/NTFS
/dev/sda3 40796 60419 157628416 83 Linux
/dev/sda4 60419 60802 3072000 82 Linux swap / Solaris
Disk /dev/sdb: 3999 MB, 3999268864 bytes
82 heads, 18 sectors/track, 5292 cylinders
Units = cylinders of 1476 * 512 = 755712 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 6 5293 3901504 b W95 FAT32
Code : Tout sélectionner
# blkid -g
# blkid
/dev/sda1: UUID="E67895D77895A6B9" TYPE="ntfs"
/dev/loop0: TYPE="squashfs"
/dev/sda2: UUID="42E88701E886F309" LABEL="Brouette" TYPE="ntfs"
/dev/sda3: LABEL="alin" UUID="72fc38cc-396c-4ca8-8672-11494f5a6ffa" TYPE="ext4"
/dev/sda4: TYPE="swap" UUID="d7a5fd78-147d-4bb9-8acb-8cd1ecac5b44"
/dev/sdb1: LABEL="ROCHERB" UUID="582E-CAF4" TYPE="vfat"
Donc je passe le tout en UUID, et je me retrouve donc avec :
(j'ai commenté les anciennes données pour backup)
Code : Tout sélectionner
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# configuration , j'ai coupé cette partie pour plus de lisibilité
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,2)
#kernel /boot/vmlinuz26 root=/dev/sda3 ro vga=0x0317
kernel /boot/vmlinuz26 root=UUID=72fc38cc-396c-4ca8-8672-11494f5a6ffa ro vga=0x0317
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,2)
#kernel /boot/vmlinuz26 root=/dev/sda3 ro
kernel /boot/vmlinuz26 root=UUID=72fc38cc-396c-4ca8-8672-11494f5a6ffa ro
initrd /boot/kernel26-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
et
Code : Tout sélectionner
cat etc/fstab
#
# /etc/fstab: static file system information
#
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/sda3 / ext4 defaults 0 1
UUID="72fc38cc-396c-4ca8-8672-11494f5a6ffa" / ext4 defaults 0 1
#/dev/sda4 swap swap defaults 0 0
UUID="d7a5fd78-147d-4bb9-8acb-8cd1ecac5b44" swap swap defaults 0 0
#/dev/sda2 /mnt/brouette auto auto,rw,user,utf8,fmask=0,umask=00 0
UUID="42E88701E886F309" /mnt/brouette auto auto,rw,user,utf8,fmask=0,umask=00 0
J'ai testé avec ça, mais le problème est toujours présent. A la seul différence, que la partition non reconnu est cette fois indiquée avec l'UUID.
Je passe alors à mkinitcpio. Le chroot se fait de cette manière :
Code : Tout sélectionner
# mount /dev/sda3/ /media/alin
# mount --bind /dev /media/alin
# mount -t proc /proc /media/alin/proc
# mount -t sysfs /sys /media/alin/sys
# chroot
# mkinitpcio -p kernel26
Là, je reçoit une erreur. Il ne trouve pas iudev dans le HOOK. Je me rend compte que iudev n'existe pas et que ça devrait être udev (du moins, selon google). Je modifie la valeur iudev dans mkinitcpio.conf par udev. Je ne comprends pas pourquoi une telle erreur. Je ne pense pas avoir touché à ça durant mon installation.
Je recommence, tout ce passe à merveille.
Je démonte le tout, je reboot et là : le problème est toujours le même.
Que faire ?
edit :
Au cas où, voilà le mkinitcpio.conf. J'ai commenté la ligne avec le iudev.
Code : Tout sélectionner
# cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="ext4"
# BINARIES
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in anyway. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
# FILES="/etc/modprobe.conf"
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
# This setup specifies all modules in the MODULES setting above.
# No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
#
# This setup will autodetect all modules for your system and should
# work as a sane default
# HOOKS="base udev autodetect pata scsi sata filesystems"
#
# This is identical to the above, except the old ide subsystem is
# used for IDE devices instead of the new pata subsystem.
# HOOKS="base udev autodetect ide scsi sata filesystems"
#
# This setup will generate a 'full' image which supports most systems.
# No autodetection is done.
# HOOKS="base udev pata scsi sata usb filesystems"
#
# This setup assembles an pata raid array with an encrypted root FS.
# Note: See 'mkinitcpio -H raid' for more information on raid devices.
# HOOKS="base udev pata raid encrypt filesystems"
#
# This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
#HOOKS="base iudev autodetect pata scsi sata filesystems"
HOOKS="base udev autodetect pata scsi sata filesystems"
# COMPRESSION
# Use this to compress the initramfs image. With kernels earlier than
# 2.6.30, only gzip is supported, which is also the default. Newer kernels
# support gzip, bzip2 and lzma.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
Et voilà la sortie de ma commande mkinitcpio -p kernel
Code : Tout sélectionner
# mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS