Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 12/08/2009, à 12:26

syhlar

[RESOLU]GRUB avec Ubuntu et Debian

Bonjour,

j'ai un pc avec Ubuntu et XP. J'ai installé à la place d'XP Debian et quand j'ai redémarré le pc j'avais comme écran de démarage celui de Debian avec comme choix Debian ou Ubuntu. J'ai voulu remettre le grub comme je l'avais sous Ubuntu avec XP, et là, quand c'est fait j'arrive à aller sur Ubuntu mais plus sur Debian...
J'ai changé l'endroit du grub, !ça j'en suis conscient mais comment faire pour installer une autre version linux avec ma Ubuntu en gardant le grub sur ubutnu...

Merci d'avance

Dernière modification par syhlar (Le 12/08/2009, à 13:23)

Hors ligne

#2 Le 12/08/2009, à 12:30

tiritchi

Re : [RESOLU]GRUB avec Ubuntu et Debian

c'est a dire une autre version linux et et u veux garder le grub sur ubuntu c'est a dire aussi j'ai pas bien compris ton probleme!!:)

Hors ligne

#3 Le 12/08/2009, à 12:41

syhlar

Re : [RESOLU]GRUB avec Ubuntu et Debian

Je viens de me relire, c'est vrai que c'est pas clair...

En fait, j'ai installé Debian à l'endroit ou était installé un XP. Après ça, j'ai réinstallé le grub avec le live CD car quand je fesais une réinstalle d'XP, j'avais pas de choix d'OS au démarrage. Maintenant je me retrouve avec le choix au démarrage mais je n'arrive pas à accéder à Debian...

J'espère que c'est plus clair comme ça... wink

Hors ligne

#4 Le 12/08/2009, à 12:41

atichu

Re : [RESOLU]GRUB avec Ubuntu et Debian

sa sert a quoi? debian utilise aussi grub... tu te complique la vie...

sinon faut modifie ton fichier menu.lst.

tu restaure grub sur la l'emplacement de ta ubuntu.

tu peux copier collé les menu.lst de debian et de ubuntu? qu'on te face sa au petit oignon..

tu arrive a démarré sur quel grub?

les fichiers menu.lst son dans boot/grub au passage copie que la fin ou on parle de ubuntu et debian..

Dernière modification par atichu (Le 12/08/2009, à 12:43)


Je ne suis pas un geek ni un informaticien mais j'aime linux/ubuntu.
acer aspire5741G (unity 12.04))+une vieillebousse(xfce 12.04)
+teste de la version instable

Hors ligne

#5 Le 12/08/2009, à 13:09

syhlar

Re : [RESOLU]GRUB avec Ubuntu et Debian

ça démarre sur le grub d'ubuntu...

Le menu.lst d'ubuntu

## ## End Default Options ##

title        Ubuntu 9.04, kernel 2.6.28-14-generic
uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
kernel        /boot/vmlinuz-2.6.28-14-generic root=UUID=1b5f4c13-790c-4aa9-b490-715ae0896e8f ro quiet splash
initrd        /boot/initrd.img-2.6.28-14-generic
quiet

title        Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
kernel        /boot/vmlinuz-2.6.28-14-generic root=UUID=1b5f4c13-790c-4aa9-b490-715ae0896e8f ro  single
initrd        /boot/initrd.img-2.6.28-14-generic

#title        Ubuntu 9.04, kernel 2.6.28-13-generic
#uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
#kernel        /boot/vmlinuz-2.6.28-13-generic root=UUID=1b5f4c13-790c-4aa9-#b490-715ae0896e8f ro quiet splash
#initrd        /boot/initrd.img-2.6.28-13-generic
#quiet

#title        Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
#uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
#kernel        /boot/vmlinuz-2.6.28-13-generic root=UUID=1b5f4c13-790c-4aa9-#b490-715ae0896e8f ro  single
#initrd        /boot/initrd.img-2.6.28-13-generic

#title        Ubuntu 9.04, kernel 2.6.28-11-generic
#uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
#kernel        /boot/vmlinuz-2.6.28-11-generic root=UUID=1b5f4c13-790c-4aa9-#b490-715ae0896e8f ro quiet splash
#initrd        /boot/initrd.img-2.6.28-11-generic
#quiet

#title        Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
#kernel        /boot/vmlinuz-2.6.28-11-generic root=UUID=1b5f4c13-790c-4aa9-#b490-715ae0896e8f ro  single
#initrd        /boot/initrd.img-2.6.28-11-generic

title        Ubuntu 9.04, memtest86+
uuid        1b5f4c13-790c-4aa9-b490-715ae0896e8f
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title        Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title        Windows XP
rootnoverify    (hd0,0)
savedefault
makeactive
chainloader    +1

menu.lst de Debian

## ## End Default Options ##

title        Debian GNU/Linux, kernel 2.6.26-2-686
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro quiet
initrd        /boot/initrd.img-2.6.26-2-686

title        Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro single
initrd        /boot/initrd.img-2.6.26-2-686

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title        Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title        Ubuntu 9.04, kernel 2.6.28-14-generic (on /dev/sda5)
root        (hd0,4)
kernel        /boot/vmlinuz-2.6.28-14-generic root=UUID=1b5f4c13-790c-4aa9-b490-715ae0896e8f ro quiet splash
initrd        /boot/initrd.img-2.6.28-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title        Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode) (on /dev/sda5)
root        (hd0,4)
kernel        /boot/vmlinuz-2.6.28-14-generic root=UUID=1b5f4c13-790c-4aa9-b490-715ae0896e8f ro single
initrd        /boot/initrd.img-2.6.28-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title        Ubuntu 9.04, memtest86+ (on /dev/sda5)
root        (hd0,4)
kernel        /boot/memtest86+.bin 
savedefault
boot

Dernière modification par syhlar (Le 12/08/2009, à 13:10)

Hors ligne

#6 Le 12/08/2009, à 13:10

kimented

Re : [RESOLU]GRUB avec Ubuntu et Debian

Salut,

mais comment faire pour installer une autre version linux avec ma Ubuntu en gardant le grub sur ubutnu...

Lors de l'install d'une autre distrib, il ne faut pas installer le grub sur le mbr mais sur la partition de cette distrib. Ainsi au démarrage, tu as le grub de Ubuntu qui te permet soit de démarrer Ubuntu, soit de te renvoyer vers le grub de l'autre distrib (Pour cela il faut rajouter 3 lignes dans menu.lst).

http://forum.ubuntu-fr.org/viewtopic.php?id=277504

Hors ligne

#7 Le 12/08/2009, à 13:13

atichu

Re : [RESOLU]GRUB avec Ubuntu et Debian

essaye en mettant

title        Debian GNU/Linux, kernel 2.6.26-2-686
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro quiet
initrd        /boot/initrd.img-2.6.26-2-686

a laplace de

title        Windows XP
rootnoverify    (hd0,0)
savedefault
makeactive
chainloader    +1

dans ton grub ubuntu.. au pire sa marchera pas plus.

Dernière modification par atichu (Le 12/08/2009, à 13:14)


Je ne suis pas un geek ni un informaticien mais j'aime linux/ubuntu.
acer aspire5741G (unity 12.04))+une vieillebousse(xfce 12.04)
+teste de la version instable

Hors ligne

#8 Le 12/08/2009, à 13:23

syhlar

Re : [RESOLU]GRUB avec Ubuntu et Debian

Atichu, le pire est de bonne augure, tout fonctionne à merveille... wink

Merci à tous pour vos interventions...

Hors ligne