ArchLinux ne démarre pas (pb grub)
Le
unbewusst.sein
Bon je viens d'installer ArchLinux / ArchBang sur une clé USB.
C'est ma nième tentative qui ne marche pas tjs avec un pb de grub.
message :
root (hd1,0)
Filesystem unknown, partition type 0x32
j'ai pourtant choisi les valeurs par défaut pour boot et sawp? pour / et
/home, je fais ce qu'il est recommandé : ext4.
(hd1,0) est bien ma clé USB.
quelqu'un m'avait conseillé de changer la valeur de grub / root en
(hd0,0) ce qui correspond à mon disque interne, ce que je ne souhaite
pas.
j'ai une autre distro qui marche très bien en clé USB et sait démarrer
dessus (après avoir fait f12 à l'allumgae de mon portable).
je ne comprends pas pourquoi grub ne marche pas
peut-être devrais-je essayer avec UNetBootin ?
le système d'install d'ArchLinux a créé 4 partions sur ma clé :
boot en ext2
swap
/ en ext4
/home en ext4
--
« Le vrai problème avec les menteurs est que l'on ne peut jamais
être certain qu'ils ne vont pas dire la vérité. »
(Kingsley Amis)
C'est ma nième tentative qui ne marche pas tjs avec un pb de grub.
message :
root (hd1,0)
Filesystem unknown, partition type 0x32
j'ai pourtant choisi les valeurs par défaut pour boot et sawp? pour / et
/home, je fais ce qu'il est recommandé : ext4.
(hd1,0) est bien ma clé USB.
quelqu'un m'avait conseillé de changer la valeur de grub / root en
(hd0,0) ce qui correspond à mon disque interne, ce que je ne souhaite
pas.
j'ai une autre distro qui marche très bien en clé USB et sait démarrer
dessus (après avoir fait f12 à l'allumgae de mon portable).
je ne comprends pas pourquoi grub ne marche pas
peut-être devrais-je essayer avec UNetBootin ?
le système d'install d'ArchLinux a créé 4 partions sur ma clé :
boot en ext2
swap
/ en ext4
/home en ext4
--
« Le vrai problème avec les menteurs est que l'on ne peut jamais
être certain qu'ils ne vont pas dire la vérité. »
(Kingsley Amis)

Poser une question


tu si avais installé en fat tu aurais eu un message d'erreur
de même nature. à priori, jusqu'au répertoire /boot ça va...
si on pouvait y jeter un oeil, normalement, on y trouve ton
noyau du type vmlinuz...au pire un bzimage...bref ça pointe
sur le lien vmlinuz.
c'est après que ça ne va plus...moi je formate tout en ext2
--
Cordialement,
Linux2Deal
http://www.linux2deal.byethost4.com/
OK, merci, j'essaie ça derechef
--
« Personne ne peut vous diminuer sans que vous y consentiez. »
(Eleanor Roosevelt)
j'ai tout formatté en ext2, même résultat.
Mon fichier menu.lst :
[ ~]$ cat
/media/a9670db9-b9bc-4fbd-b6b7-194715697b02/grub/menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301v9 0x303w1 0x305w3 0x307w5
# 32K | 0x310x4 0x313x7 0x316y0 0x319y3
# 64K | 0x311x5 0x314x8 0x317y1 0x31Ay4
# 16M | 0x312x6 0x315x9 0x318y2 0x31By5
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.ph...resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vgaw3" to your kernel
line.
#
#-*
# (0) ArchBang Linux
title ArchBang Linux
root (hd1,0)
kernel /vmlinuz-linux
root=/dev/disk/by-uuid/6ca33d52-0c5a-4e13-81a2-09f953857df7 loglevel=3
ro quiet resume=/dev/disk/by-uuid/718ed504-5d59-4f43-ab20-a8d6ca34ebd4
nomodeset
initrd /initramfs-linux.img
# (1) ArchBang Linux fallback (useful if you change your hard
disk/mainboard)
title ArchBang Linux Fallback
root (hd1,0)
kernel /vmlinuz-linux
root=/dev/disk/by-uuid/6ca33d52-0c5a-4e13-81a2-09f953857df7 loglevel=3
ro quiet
initrd /initramfs-linux-fallback.img
# (2) Optional entry for the system on sda1
#title sda1
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
[ ~]$
l'arborescence de la partoche boot :
~ % ls /media/a9670db9-b9bc-4fbd-b6b7-194715697b02
grub initramfs-linux-fallback.img initramfs-linux.img lost+found
memtest86+ syslinux vmlinuz-linux
~ % ls /media/a9670db9-b9bc-4fbd-b6b7-194715697b02/grub
e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 minix_stage1_5 stage1
stage2_eltorito vstafs_stage1_5
fat_stage1_5 iso9660_stage1_5 menu.lst reiserfs_stage1_5 stage2
ufs2_stage1_5 xfs_stage1_5
~ % ls /media/a9670db9-b9bc-4fbd-b6b7-194715697b02/syslinux
syslinux.cfg
le fichier 'syslinux.cfg' :
~ % cat
/media/a9670db9-b9bc-4fbd-b6b7-194715697b02/syslinux/syslinux.cfg
# 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 # Change to 1 if you do not want to use a menu
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 "vgaw3" 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
~ % fdate "ArchBang config"
--
« Personne ne peut vous diminuer sans que vous y consentiez. »
(Eleanor Roosevelt)
fr.comp.os.linux.configuration :
Le principe de l'apprentissage n'est pas de reproduire bêtement une
recette.
Lit la doc de grub, ou tout au moins un how-to.
Celui-ci n'a pas l'air trop mal fait.
http://astuce.linux.free.fr/Systemes de secours/Grub/grub-howto/grub-howto-6.html
--
Doug - Linux user #307925 - Slackware64 roulaize ;-)
http://usenet-fr.chainon-marquant.org
http://newsportal.chainon-marquant.org
http://news.chainon-marquant.org
Merci beaucoup pour le "bêtement"...
L'installation, et le paramètrage de grub, s'est fait automatiquement
par l'install d'ArchBang...
J'ai juste vérifié le menu.lst en particulier :
root (hd1,0)
qui est correct pour ma config (sdb == clé USB)
secours/Grub/grub-howto/grub-howto-6.html
b-howto-6.html>
OK, merci, mais bon, le fichier "menu.lst" --me semble-- correct.
je cherche un grub de secours comme il en existe un en grub-pc (ubuntu).
--
« Personne ne peut vous diminuer sans que vous y consentiez. »
(Eleanor Roosevelt)