Grub is located within MBR and active partition

  • zillah
  • Student
  • Student
  • zillah
  • Posts: 77

Post 3+ Months Ago

I have got three OSs installed on one HD.

W2K3 on a Primary Partition called C.

Solaris10 on on another primary partition.

FC7 on an extended primary partition.

When I check /sbin/fdisk-l,,,,,window's partition was marked as 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



When the linux screwed up , I reinstalled Linux's , I reinstalled Linux's GRUB into MBR.

Still I can use Linux Grub to boot all three OSs.

When I checked /sbin/fdisk -l again,,, I found solrais partition is active (marked with asterisk).
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




My query why now solaris partition is active ? shouldn't window's partition © be active instead ?
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Presuming you know where grub.conf is, do the following;

Append following lines for Windows :
title Microsoft Windows 2003
root (hd0, 0)
savedefault
makeactive
chainloader +1

This assumes your Windows installation is on your first HD in the first partition (recall everything starts with 0).

Reboot.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 15 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.