Grub est situé dans le MBR et partition active

  • zillah
  • Student
  • Student
  • No Avatar
  • Inscription: Mai 04, 2005
  • Messages: 77
  • Status: Offline

Message Décembre 25th, 2007, 10:45 pm

J'ai trois systèmes d'exploitation installés sur un HD.

W2K3 sur une partition primaire appelée C.

Solaris 10 sur sur une autre partition primaire.

FC7 sur une partition primaire étendue.

Quand je check / sbin / fdisk-l ,,,,, Windows partition a été marquée comme active

Code: [ Select ]
[root@localhost ~]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
  Device Boot     Start         End     Blocks  Id System
/dev/sda1  *          1        5222    41945683+  7 HPFS/NTFS
/dev/sda2            5223        6497    10241437+  c W95 FAT32 (LBA)
/dev/sda3            6498        8456    15735667+ boyfriend Solaris
/dev/sda4            8457      14593    49295452+  5 Extended
/dev/sda5            8457        8482     208813+ 83 Linux
/dev/sda6            8483      11915    27575541  83 Linux
/dev/sda7          11916      14465    20482843+ 83 Linux
/dev/sda8          14466      14592     1020096  82 Linux swap / Solaris
  1. [root@localhost ~]# fdisk -l
  2. Disk /dev/sda: 120.0 GB, 120034123776 bytes
  3. 255 heads, 63 sectors/track, 14593 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5.   Device Boot     Start         End     Blocks  Id System
  6. /dev/sda1  *          1        5222    41945683+  7 HPFS/NTFS
  7. /dev/sda2            5223        6497    10241437+  c W95 FAT32 (LBA)
  8. /dev/sda3            6498        8456    15735667+ boyfriend Solaris
  9. /dev/sda4            8457      14593    49295452+  5 Extended
  10. /dev/sda5            8457        8482     208813+ 83 Linux
  11. /dev/sda6            8483      11915    27575541  83 Linux
  12. /dev/sda7          11916      14465    20482843+ 83 Linux
  13. /dev/sda8          14466      14592     1020096  82 Linux swap / Solaris



Lorsque Linux foiré, j'ai réinstallé Linuxs, j'ai réinstallé Linuxs GRUB dans le MBR.

Toujours que je peux utiliser Linux Grub pour démarrer les trois systèmes d'exploitation.

Quand j'ai vérifié / sbin / fdisk-l encore,,, j'ai trouvé la partition solrais est actif (marqué d'un astérisque).
Code: [ Select ]
[root@localhost ~]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot     Start         End     Blocks  Id System
/dev/sda1             1        5222    41945683+  7 HPFS/NTFS
/dev/sda2            5223        6497    10241437+  c W95 FAT32 (LBA)
/dev/sda3  *              6498        8456    15735667+ boyfriend Solaris
/dev/sda4            8457      14593    49295452+  5 Extended
/dev/sda5            8457        8482     208813+ 83 Linux
/dev/sda6            8483      11915    27575541  83 Linux
/dev/sda7          11916      14465    20482843+ 83 Linux
/dev/sda8          14466      14592     1020096  82 Linux swap / Solaris
  1. [root@localhost ~]# fdisk -l
  2. Disk /dev/sda: 120.0 GB, 120034123776 bytes
  3. 255 heads, 63 sectors/track, 14593 cylinders
  4. Units = cylinders of 16065 * 512 = 8225280 bytes
  5. Device Boot     Start         End     Blocks  Id System
  6. /dev/sda1             1        5222    41945683+  7 HPFS/NTFS
  7. /dev/sda2            5223        6497    10241437+  c W95 FAT32 (LBA)
  8. /dev/sda3  *              6498        8456    15735667+ boyfriend Solaris
  9. /dev/sda4            8457      14593    49295452+  5 Extended
  10. /dev/sda5            8457        8482     208813+ 83 Linux
  11. /dev/sda6            8483      11915    27575541  83 Linux
  12. /dev/sda7          11916      14465    20482843+ 83 Linux
  13. /dev/sda8          14466      14592     1020096  82 Linux swap / Solaris




Ma question pourquoi maintenant partition Solaris est actif? ne doit pas la partition Windows © être actif plutôt?
  • Anonymous
  • Bot
  • No Avatar
  • Inscription: 25 Feb 2008
  • Messages: ?
  • Loc: Ozzuland
  • Status: Online

Message Décembre 25th, 2007, 10:45 pm

  • Daemonguy
  • Moderator
  • Web Master
  • Avatar de l’utilisateur
  • Inscription: Jan 23, 2004
  • Messages: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Message Décembre 28th, 2007, 7:57 am

En supposant que vous savez où grub.conf est, faire ce qui suit;

Ajoutez les lignes suivantes de Windows:
Titre de Microsoft Windows 2003
root (hd0, 0)
savedefault
makeactive
chainloader +1

Cela suppose que votre installation de Windows sur votre premier HD dans la première partition (rappelons tout commence à 0).

Reboot.
"It's always a long day, 86,400 won't fit into a short."

Afficher de l'information

  • Total des messages de ce sujet: 2 messages
  • Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 81 invités
  • Vous ne pouvez pas poster de nouveaux sujets
  • Vous ne pouvez pas répondre aux sujets
  • Vous ne pouvez pas éditer vos messages
  • Vous ne pouvez pas supprimer vos messages
  • Vous ne pouvez pas joindre des fichiers
 
 

© 2011 Unmelted, LLC. Ozzu® est une marque déposée de Unmelted, LLC