j'ai reinstallé archlinux, mais il est un dualboot avec windows XP.
Lorsque je choisis Windows dans le menu Grub, lors du prochain démarrage, je n'ai plus Grub, et l'ordinateur boot automatiquement sur Windows.
Pour pouvoir reboot sur archlinux a partir de Grub, je prends mon LiveCD Archlinux, lorsque j'ai la console TTY, je tape :
Code : Tout sélectionner
parted /dev/sda toggle 2 boot print
Je pense que ça doit venir d'un problème d'amorce. Mais je ne suis pas sûr, et je n'ai pas trouvé le moyen d'avoir une amorce par défaut sur /dev/sda2 même après démarrage de Windows.
Merci, d'avance pour votre aide.
menu.lst :
Code : Tout sélectionner
# 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 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_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 "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/65298e6c-89fa-47a2-a50b-52c0dc199ce2 ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /vmlinuz26 root=/dev/disk/by-uuid/65298e6c-89fa-47a2-a50b-52c0dc199ce2 ro
initrd /kernel26-fallback.img
# (2) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1