[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub config



Bonjour, 

On Thu, Oct 06, 2005 at 03:17:48PM +0200, mess-mate wrote:
> Bonjour,
> je viens d'installer une etch sur une partition (hda13) et j'arrive
> pas à configurer grub pour le démarrer.
> Voici ce que donne grub:
> grub> find /boot/grub/stage1
>  (hd0,3)
>  (hd0,11)
>  (hd0,12)
> 
> ou: find /grub/stage1
>  (hd0,1)
>  (hd1,4
> 
> La etch est donc sur la hd0,12, hd0,3 est pour la sarge, etc
> 
> Normalement je choisi donc root (hd0,1)
> et ensuite setup (hd0)
> 
> mais cela ne marche pas.
> 
> Lors du choix pour etch j'ai l'erreur suivante:
> Connaot open root device hda13 or ...
> Please append a correct "root=" boot option
> ...unable to mount fs on unknown block (0,0)
> 
> Qu'est-ce que j'ai fait de mal à grub ? :(
> 
Avec plusieurs versions de debian sur une même machine, je garde le grub
de la première version installée, et je me contente de modifier à la
main son /boot/grub/menu.lst pour pouvoir lancer les autres. j'évite
donc soigneusement de lancer une autre installation de grub.

Voici pour l'exemple un extrait de mon fichier menu.lst, installé dans
la partition sda5.


# 0
title           Debian GNU/Linux, kernel 2.6.12pia
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.12pia root=/dev/sda5 ro
initrd          /boot/initrd.img-2.6.12pia
savedefault
boot

# 1
title           Debian GNU/Linux, kernel 2.6.12pia (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.12pia root=/dev/sda5 ro single
initrd          /boot/initrd.img-2.6.12pia
savedefault
boot

# 2
title           Debian GNU/Linux, kernel 2.6.8-2-386
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/sda5 ro
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot

# 3
title           Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/sda5 ro single
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot

# 4
title           Debian GNU/Linux (testing/unstable) (on /dev/sda9)
debas32test etch 2.6.12
root            (hd0,8)
kernel          /boot/vmlinuz-2.6.12-1-386 root=/dev/sda9
initrd          /boot/initrd.img-2.6.12-1-386
savedefault
boot

# 5
title           Debian GNU/Linux (testing/unstable) (on /dev/sda9)
debas32test etch 2.6.8
root            (hd0,8)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/sda9
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot

# 6
title           Debian GNU/Linux (3.1) (on /dev/sda12) debas64test
root            (hd0,11)
kernel          /boot/vmlinuz-2.6.12-1-amd64-generic root=/dev/sda12
initrd          /boot/initrd.img-2.6.12-1-amd64-generic
savedefault
boot

# 7
title           Debian GNU/Linux (3.1) (on /dev/sda13) debas32test
root            (hd0,12)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/sda13
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot

# 8
# on /dev/sda1
title           Microsoft Windows XP Professionnel
root            (hd0,0)
savedefault
makeactive
chainloader     +1




Oui, je sais, c'est un fouilli et il faut que j'y remette un peu
d'ordre, mais ça marche.
La dernière entrée n'est que très provisoire ...

Hope this helps.

-- 
Pierre Meurisse
Utilisateur Linux n° 160794 



Reply to: