Posez votre question Signaler

[fedora] grub [Résolu]

tux_03 185Messages postés 12 juillet 2008Date d'inscription 29 juillet 2010Dernière intervention - Dernière réponse le 12 févr. 2009 à 17:04
Bonjour,
J'ai installé cette apres midi fedora a la place de windows, donc en dual boot avec ubuntu 8.10
fedora est sur le 1er disque dur et ubuntu sur le second.
Seul probléme le grub installé est celui de fedora donc n'affiche pas de choix pour demarrer sur ubuntu.
J'ai essayé avec super grub disk, rien a faire.
Aidez moi svp !
Merci
Lire la suite 

[fedora] grub »

15 réponses
Réponse
+0
moins plus
bonjour,
sous fedora
ouvre une console
su -
motdepasse
fdisk -l
et ensuite
cat /boot/grub/menu.lst
a+
Ajouter un commentaire
Réponse
+0
moins plus
merci de ta reponse,
moi su- ne marche pas, c'est su root

Ensuite,
[root@PC-de-Samir Tux03]# su root
[root@PC-de-Samir Tux03]# fdisk -l 

Disque /dev/sda: 40.0 Go, 40060403712 octets
255 heads, 63 sectors/track, 4870 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x830d830d

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2              26        4870    38917462+  8e  Linux LVM

Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9af82b0d

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           2        9729    78140160    f  W95 Etendu (LBA)
/dev/sdb5               2        4463    35840983+  83  Linux
/dev/sdb6            4464        4718     2048256   83  Linux
/dev/sdb7            4719        4865     1180746   82  Linux swap / Solaris
/dev/sdb8            4866        7181    18603238+   b  W95 FAT32
/dev/sdb9            7182        9729    20466778+   7  HPFS/NTFS

Disque /dev/sdc: 500.1 Go, 500107862016 octets
255 heads, 63 sectors/track, 60801 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x07a7d242

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdc1   *           1       60801   488384001    7  HPFS/NTFS
[root@PC-de-Samir Tux03]#


Puis,
[
root@PC-de-Samir Tux03]# cat /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
	root (hd0,0)
	kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=81b12c32-5267-4aca-a48e-bd2eefab09a6 rhgb quiet
	initrd /initrd-2.6.27.5-117.fc10.i686.img
title Other
	rootnoverify (hd1,7)
	chainloader +1
[root@PC-de-Samir Tux03]# 


Voila
Ajouter un commentaire
Réponse
+0
moins plus
bonjour,
bizarre ton truc !!
tu es en root tout le temps ?
pas bien ça
tu n'a pas creer d'utilistateur ?
pour ton souci ajoute ceci au menu.lst
tittle ubuntu 
       rootnoverify (hd1,4)
	chainloader +1

a+


Ajouter un commentaire
Réponse
+0
moins plus
Si j'ai un utilisateur qui est tux03.
Mais quand je met su- ca me met command not found. Et sudo ne marche pas,
Je teste ta soluces.

Ajouter un commentaire
Réponse
+0
moins plus
marche pas,
Maintenant j'ai deux choix de boot fedora et les 2 ne marchent pas : "error 13 : Invalid or unsupported executable format"
J'ai reussi a me mettre sous ubuntu avec une fonction de super grub disk.
Ajouter un commentaire
Réponse
+0
moins plus
re
c'est su (espace ) -
de plus quelle message d'erreur as tu ?
a+
Ajouter un commentaire
Réponse
+0
moins plus
celui du dessus : "error 13 : invalid or unsupported executable format"
Ajouter un commentaire
Réponse
+0
moins plus
re,
sous ubuntu
peux tu me donner le contenu de
cat /boot/grub/menu.lst
a+
Ajouter un commentaire
Réponse
+0
moins plus
Il n'ya des trucs plus d'actualité, windows xp n'est plus sur le Disque dur

tux03@PC-de-samir:~$ cat /boot/grub/menu.lst 
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=1b45ad0f-7852-4012-83f4-774dd30e3cc9

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.10, kernel 2.6.27-11-generic
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-11-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro  single
initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 8.10, kernel 2.6.27-7-generic
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, memtest86+
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
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		Microsoft Windows XP Professionnel
root		(hd0,0)
savedefault
makeactive
chainloader	+1

Ajouter un commentaire
Réponse
+0
moins plus
re
une question ubuntu est bien sur le sdb mais tu sais sur quelle partoche ?
a+
Ajouter un commentaire
Réponse
+0
moins plus
Sur sdb5
Ajouter un commentaire
Réponse
+0
moins plus
Re.
Grace a super grub disk je peut booter sur ubuntu, il a retabli le grub d'ubuntu, qui n'est pas a jour puisque qu'il m'indique windows xp.
Voila, mais toujours pas de fedora :'(
Ajouter un commentaire
Réponse
+0
moins plus
bonjour,
et fedora est sur quelle partition ?
et tu me donne le /boot/grub/menu.lst de ubuntu
a+
Ajouter un commentaire
Réponse
+0
moins plus
Salut,
fedora est sur sda2
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=1b45ad0f-7852-4012-83f4-774dd30e3cc9

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.10, kernel 2.6.27-11-generic
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-11-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro  single
initrd		/boot/initrd.img-2.6.27-11-generic

title		Ubuntu 8.10, kernel 2.6.27-7-generic
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=1b45ad0f-7852-4012-83f4-774dd30e3cc9 ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, memtest86+
uuid		1b45ad0f-7852-4012-83f4-774dd30e3cc9
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		Microsoft Windows XP Professionnel
root		(hd0,0)
savedefault
makeactive
chainloader	+1

A+
Ajouter un commentaire
Réponse
+0
moins plus
Salut,
probléme resolu, j'ai mis debian a la place, ca faisait un moment que je voulais le mettre, je mettrais fedora sur un autre partition un peu plus tard
Merci quand meme.
Ajouter un commentaire
Ce document intitulé « [fedora] grub » issu de CommentCaMarche (www.commentcamarche.net) est mis à disposition sous les termes de la licence Creative Commons. Vous pouvez copier, modifier des copies de cette page, dans les conditions fixées par la licence, tant que cette note apparaît clairement.
Dossier à la une
Réduire les coûts d'impression dans l'entreprise