#1 Le 09/12/2007, à 12:06
- Le Guilbe
(RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Bonjour
J'ai suivi la démarche complète de xxGilxx et Le QuinQuin pour installer ubuntu sur mon second disque sata. Grub est installé sur ce second disque pour ne pas effacer le tatouage de windows.
Rappel de la démarche d'installation:
Aprés le choix du partitionnement: clic sur avancé.
Je remplaces (hd0) par (hd1) pour que grub s'installe sur le second dd
Une fois le menu de GRUB affiché au démarrage, se placez sur la première entrée ubuntu, appuyez 2 fois sur le touche e,
puis dans la ligne kernel, changer (hd1,x) par (hd0,x) puis appuyez sur la touche enter,
puis sur la touche b
Ubuntu devrait booter. Pour ne plus faire cette manip:
Code:
sudo gedit /boot/grub/menu.ls
# groot=(hd1,x)
Code:
sudo update-grub
Mon probloème:
Je parviens à lancer ubuntu depuis Grub.
Par contre, je ne parviens pas à lancer Windows--> Error 13: Invalid or unsupported executable format.
Que faire? Merci par avance.
PS: (Je peux toutefois lancer windows en changeant l'ordre du boot dans le bios).
Veuillez considerer que je suis un gros débutant sous linux:P
Dernière modification par Le Guilbe (Le 09/12/2007, à 21:58)
Hors ligne
#2 Le 09/12/2007, à 13:05
- Le QuinQuin
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Donne
les retours de
sudo fdisk -l
cat /boot/grub/menu.lst
#3 Le 09/12/2007, à 14:41
- Le Guilbe
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Bonjour, merci pour ton aide
Disque /dev/sda: 250.0 Go, 250059350016 octets
255 heads, 63 sectors/track, 30401 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd4c8d4c8
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 15203 122118066 7 HPFS/NTFS
/dev/sda2 15204 30401 122077935 f W95 Etendu (LBA)
/dev/sda5 15204 29891 117981328+ 7 HPFS/NTFS
/dev/sda6 29892 30401 4096543+ b W95 FAT32
Disque /dev/sdb: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00014636
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 1824 14651248+ 83 Linux
/dev/sdb2 1825 2067 1951897+ 82 Linux swap / Solaris
/dev/sdb3 2068 10577 68356575 83 Linux
/dev/sdb4 10578 19457 71328600 b W95 FAT32
guillaume@guillaume-desktop:~$
# 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=051666c0-b04e-42c4-a76a-73c05ad88231 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## 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 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=051666c0-b04e-42c4-a76a-73c05ad88231 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=051666c0-b04e-42c4-a76a-73c05ad88231 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
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 �dition familiale
root (hd0,0)
savedefault
chainloader +1
guillaume@guillaume-desktop:~$
Hors ligne
#4 Le 09/12/2007, à 18:10
- safinaz
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
pour windows, rajoute ceci ALA FIN
du menu.lst
title Microsoft Windows XP Home Edition
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
savedefault
makeactive
chainloader +1
supprime l'ancienne entrée.
enregistre
et redémarre
#5 Le 09/12/2007, à 19:51
- Le Guilbe
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Bonsoir, merci de votre aide.
Comment modifier le fichier menu.lst???
J'ai essayé de l'ouvrir directement en cliquant dessus mais je ne peux pas faire d'enregistrement linux en empèche l'accés.
Y a t'il une autre méthode pour modifier ce fichier?
(Je suis débutant--- sous linux)
merci
Hors ligne
#6 Le 09/12/2007, à 20:14
- Le Guilbe
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Re bonsoir.
J'ai trouvé sur le forum comment modifier un fichier.:P
J' suis débutant, j'apprends...:P:P:P
J'ai fais les modifs de menu.lst et ça marche...Merci safinaz:cool:
Autre question, dans grub si on ne touche à rien, Grub lance la première entrée (à savoir Ubuntu). Est il possible de placer windows en premier sur la liste pour qu'il se lance aprés le temps écoulé?
(Ma petite famille a du mal avec Linux est veut tout le temps travailler avec Windows.
Il faudra du temps pour les convaincre d'utiliser Linux):/
Hors ligne
#7 Le 09/12/2007, à 20:21
- safinaz
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Salut,
arff j'aurais du te donner la commande.
Pour ton autre problème, c'est simple
compte le nombre de title
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=051666c0-b04e-42c4-a76a-73c05ad88231 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiettitle Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=051666c0-b04e-42c4-a76a-73c05ad88231 ro single
initrd /boot/initrd.img-2.6.22-14-generictitle Ubuntu 7.10, memtest86+
root (hd0,0)
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 �dition familiale
root (hd0,0)
savedefault
chainloader +1
Moi j'en compte 5. Comme grub compte à partit de 0 (prmière entrée,
4 5ième entrée, XP quoi)
tu remplaces dans le fichier menu.lst et dans la ligne
default 0
le 0 par 5.
Voila
#8 Le 09/12/2007, à 20:22
- safinaz
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
arff
le 0 par 4 évidemment
#9 Le 09/12/2007, à 21:49
- Le Guilbe
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Cool
Merci safinaz ça marche.:D
Hors ligne
#10 Le 09/12/2007, à 21:54
- Le Guilbe
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
Problème résolu mais je ne sais pas comment on le fait apparaitre "problème resolu" sur les sujets du forum?
Si une ame charitable veut bien me l'expliquer.
Merci Le guilbe
Hors ligne
#11 Le 09/12/2007, à 21:59
- Le Guilbe
Re : (RESOLU) Error 13 aprés installation sur un 2eme Disque SATA
J'ai trouvé, il fallait modifier son 1er message
c'etait simple...
Hors ligne