Pages : 1
#1 Le 13/10/2009, à 12:43
- Gwennin
Multiboot sur mac, le Grub se fige
Bonjour,
Je viens de changer d'ordinateur et donc j'ai opté pour un macbook.
Pour le multiboot voila ce que j'avais prévu
1.efi
2.Mac OS X (Leopard)
3.Seven (école oblige...:/)
4.partage
5.Ubunut
6.Swap
J'ai donc partitionné mon HDD de tel manière et lancé le live CD de Jaunty (avec l'option acpi=off sinon ça plante)
après l'install d'ubuntu je reboot et le grub reste figée il s'affiche correctement, mais je ne peut aucunement interagir avec. De plus je ne vois même plus le menu Refit au lancement...
J'ai donc vérifié si refit était bien installé sur Mac OS X refait les manipulations pour synchroniser refit (sudo gptsync /dev/sda ) puis même problème
Je reboot donc pour la troisième fois sur le live, je vogue sur les différents forums et je tombe la dessus: http://forums.linuxmint.com/viewtopic.php?f=63&t=9287
je tente de changer le grub, ça a bien fonctionné. sauf que le problème est encore là.
Je tente alors un tuto du labo-apple.org:
http://labo-apple.org/fr/spip.php?article627&artpage=5-6
(et la faut m'arretter si je me trompe) une fois chrooté ma partition je fait un
grub-install
(je connais pas trop lilo et la commande /sbin/lilo)
la reponse retourné est
/boot/grub doesn't look like an EFI partition
-_-'
Voici le tuto que j'ai suivis lors de l'install: http://doc.ubuntu-fr.org/tutoriel/comment_faire_un_quadri-boot_sur_un_macintel
Merci de vous réponses!;)
Gwennin
Dernière modification par Gwennin (Le 13/10/2009, à 21:55)
Hors ligne
#2 Le 13/10/2009, à 12:57
- Gwennin
Re : Multiboot sur mac, le Grub se fige
j'ai trouvé ceci sur un forum:
J'ai fais des essais, si on change le type de partition (dans le MBR) pour la partition EFI de ee (EFI GPT) vers autre chose (B Fat32), par exemple, la table de partition GPT devient illisible, donc on ne peut ni booter sur OSX, ni voir rEFIt, ni booter les linux sur des partitions GPT uniquement, voilà; on peut seulement booter sur le windows activé (ou grub si partition 2 activé). Donc si on la supprime....
(http://forum.macbidouille.com/index.php?showtopic=274231)
Cela viendrait t'il de la?
edit > j'ai réussit à booter sous Léopard en restant appuyé sur alt il me propose aussi une partoche Windows (?)
voici le resultat que me donne Partiton Inspector sous mac OS X
*** Report for internal hard disk ***
Current GPT partition table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 35799079 Mac OS X HFS+
3 35799080 67344479 Basic Data
4 67344480 281683709 MS Reserved
5 281683710 310472189 Basic Data
6 310472190 312576704 Linux Swap
Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 ee EFI Protective
2 * 409640 35799079 af Mac OS X HFS+
3 35799080 67344479 0c FAT32 (LBA)
4 67344480 281683709 0b FAT32 (CHS)
MBR contents:
Boot Code: Unknown, but bootable
Partition at LBA 40:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 1, type EFI System (FAT)
Partition at LBA 409640:
Boot Code: GRUB
File System: HFS Extended (HFS+)
Listed in GPT as partition 2, type Mac OS X HFS+
Listed in MBR as partition 2, type af Mac OS X HFS+, active
Partition at LBA 35799080:
Boot Code: None (Non-system disk message)
File System: FAT32
Listed in GPT as partition 3, type Basic Data
Listed in MBR as partition 3, type 0c FAT32 (LBA)
Partition at LBA 67344480:
Boot Code: Unknown, but bootable
File System: FAT32
Listed in GPT as partition 4, type MS Reserved
Listed in MBR as partition 4, type 0b FAT32 (CHS)
Partition at LBA 281683710:
Boot Code: None
File System: ext3
Listed in GPT as partition 5, type Basic Data
Partition at LBA 310472190:
Boot Code: None
File System: Unknown
Listed in GPT as partition 6, type Linux Swap
Re-édit: le simple fait de booter sous mac à fait que le menu rEFIt s'affiche avec Mac OS X; Linux; Windows (non installé mais bon)
Dernière modification par Gwennin (Le 13/10/2009, à 17:45)
Hors ligne
#3 Le 13/10/2009, à 16:44
- Gwennin
Re : Multiboot sur mac, le Grub se fige
edit: j'ai retiré le statut résolut car le grub reste figé et je n'arrive pas a regler le problème.
Les nombreuses réinstall du grub que j'ai faite ne changent rien.
j'ai beau chercher je ne trouve rien.
Hors ligne
#4 Le 13/10/2009, à 18:20
- Gwennin
Re : Multiboot sur mac, le Grub se fige
tant que j'y pense voici le menu.lst (mais je ne pense pas que ça vien de là)
# 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=18d67407-6184-4203-8ccc-9ac94ce6b5ea ro acpi=off
## default grub root device
## e.g. groot=(hd0,0)
# groot=18d67407-6184-4203-8ccc-9ac94ce6b5ea
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-11-generic
uuid 18d67407-6184-4203-8ccc-9ac94ce6b5ea
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=18d67407-6184-4203-8ccc-9ac94ce6b5ea ro acpi=off 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 18d67407-6184-4203-8ccc-9ac94ce6b5ea
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=18d67407-6184-4203-8ccc-9ac94ce6b5ea ro acpi=off single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 18d67407-6184-4203-8ccc-9ac94ce6b5ea
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
le fdisk
sudo fdisk -l
ATTENTION : identifiant de table de partitions GPT (GUID) detecté sur "/dev/sda" ! L'utilitaire fdisk ne supporte pas GPT. Utilisez GNU Parted.
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x00000000
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 26 204819+ ee GPT
/dev/sda2 * 26 2229 17694720 af Inconnu
/dev/sda3 2229 4192 15772700 c W95 FAT32 (LBA)
/dev/sda4 4193 17534 107169615 b W95 FAT32
sda1 -> efi
sda2 -> Mac OS X
sda3 -> Windows (install prévue)
sda4-> Partage
sda5 -> Ubuntu
sda6 -> Swap
le device map
cat device.map
(hd0) /dev/sda
et je crois que c'est tout
Hors ligne
#5 Le 13/10/2009, à 21:54
- Gwennin
Re : Multiboot sur mac, le Grub se fige
Personne n'aurait de réponse à mon problème?
Je galère pas mal et google ne me donne aucune réponse.
Merci
Gwennin
Dernière modification par Gwennin (Le 13/10/2009, à 22:00)
Hors ligne
#6 Le 14/10/2009, à 09:49
- Gwennin
Re : Multiboot sur mac, le Grub se fige
J'ai du nouveau pour mon problème:
J'ai essyé d'installer lilo. lors de la commande liloconfig, lilo me repondait que mon système de fichier n'était pas marqué comme principal dans le fstab ou que mon fstab était corrompu...
J'ai aussi fait attention au formatage de ma partition: ext4. Le Grub devrais normalement le supporter (ça fait déjà plusieurs mois qu'il est sorti.) mais dans le doute (ne sais t'on jamais!) j'ai formaté ma partoche et réinstallé.
Mêmes problèmes avec le Grub ou lilo...
Le Fstab:
root@ubuntu:/# cat etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
UUID=2f55d09b-9fcf-4e87-84f6-6f5f476bde84 / ext2 relatime,errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=daaf5730-f8fd-45c4-80c2-9bba813e35a2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
et le message de lilo lors de la commande liloconfig
Outil de configuration des paquets
┌─────────────────────────┤ Configuration de LILO ├─────────────────────────┐
│ │
│ Fichier de configuration incompatible │
│ │
│ Le fichier de configuration /etc/fstab (« fstab ») n'indique pas que │
│ UUID=2f55d09b-9fcf-4e87-84f6-6f5f476bde84 est le système de fichiers │
│ principal. Celui-ci ne semble pas être un périphérique de type bloc │
│ « ordinaire ». Soit le fichier de configuration « fstab » est corrompu, │
│ soit vous utilisez du matériel tel qu'un ensemble RAID, ce qui n'est pas │
│ géré par ce simple programme de configuration. │
│ │
│ Vous devriez soit corriger la situation, soit écrire votre propre │
│ fichier de configuration /etc/lilo.conf ; vous pouvez alors relancer │
│ /usr/sbin/liloconfig pour essayer le processus de configuration à │
│ nouveau. La documentation de LILO se trouve dans /usr/share/doc/lilo/. │
│ │
│ <Ok> │
│ │
└───────────────────────────────────────────────────────────────────────────┘
Dernière modification par Gwennin (Le 14/10/2009, à 09:58)
Hors ligne
#7 Le 19/10/2009, à 19:59
- hermannpencole
Re : Multiboot sur mac, le Grub se fige
Comme le dit le tuto que tu as suivis
De plus seuls les 4 premières partitions peuvent être démarrer par l'émulation BIOS, via rEFIt. Il ne faut pas non plus installer GRUB dans le MBR car rEFIt affichera GRUB si vous choisissez linux ou Windows.
Or dans ton install, ubuntu est sur la cinquième partition : donc pas d'émulation de bios.
Donc oublie ta partition de partage si tu souhaites installer les 3 systèmes ensemble : une fois lancer ubuntu prendra en charge GPT et pourra utiliser la partition swap.
Dernière modification par hermannpencole (Le 19/10/2009, à 20:00)
Hors ligne
Pages : 1