Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

It fails and it says 'cannot find device'. It will work again if I reinstall Windows, and use something like EasyBCD. But I'd like grub as a loader only, can someone help me out here? My system has a regular BIOS (p35-ds4 mainboard) so no UEFI support.

Previously ran Windows 8 alongside ubuntu 13.04, now wanted windows 7 again with ubuntu 13.10.

I am using disk /dev/sda.

3000.6 GB, 3000591900160 bytes
255 head, 63 sectors/track, 364801 cylinders, 5860531055 sectors
Sector size (logical/fysical): 512 bytes / 4096 bytes
Device  Begin End Blocks ID System
/dev/sda1            2048   419432447   209715200   83  Linux
/dev/sda2       419432448   436013055     8290304   82  Linux swap
/dev/sda3       436015102  1576339455   570162177    5  extended
Partition 3 does not start on a fysical sector limit.
/dev/sda4   *  1576339456  5860530175  2142095360    7  HPFS/NTFS/exFAT
/dev/sda5       436015104   855443455   209714176    7  HPFS/NTFS/exFAT
/dev/sda6       855445504  1576339455   360446976    7  HPFS/NTFS/exFAT
share|improve this question
add comment

1 Answer 1

First, your configuration is playing "fast and loose" with MBR data structures. MBR is generally considered to be limited to 2TiB disks, but in fact it's limited to 2TiB values for partition start points and sizes, so it can theoretically handle just under 4TiB disks, albeit with the final 2TiB in one partition. On your 3TB (2.7TiB) disk, your largest and final partition is about 1TiB in size and begins at about 1.7TiB. It therefore is within the letter of the MBR "law," but some OSes and utilities will flake out when shown this disk. In my tests, both Linux and Windows 7 handled this configuration OK, but most other OSes didn't. My tests were limited, though; it's conceivable that some utility would fail on this disk, even under Linux or Windows 7, and possibly corrupt your data. In fact, my guess is that this is what's happening to GRUB, although I'm not positive of that. Overall, I'd have to recommend the use of GPT on bigger disks.

That said, I realize you may be in trouble if you're trying to use a 3TB disk on an older computer with a traditional BIOS rather than an EFI. In such a case, the best option is to use an older and smaller disk as a Windows boot disk along with a secondary GPT disk to hold data, programs, and Linux. Another option is to use DUET or Clover to get the BIOS-based computer booting in EFI mode. Both DUET and Clover can be thought of as BIOS boot loaders that add EFI capabilities to a BIOS computer. Unfortunately, neither of them is easy to install, and the last time I checked, both had problems on most AMD computers. (They're more likely to work on Intel-based systems.)

I'm not positive, but my suspicion is that the problem you're encountering is due to the fact that your boot partition extends beyond the end of the hard disk. Thus, if you really must get this working as-is, my recommendation is to rearrange your partitions so that both the Linux and Windows boot partitions reside entirely under the 2TiB mark. Use the space beyond that point for a data or programs partition.

If your motherboard supports EFI-mode booting, a better option is to switch to GPT and boot in EFI mode. This page covers converting Windows to boot in EFI mode. Linux tends to be a bit easier; you need only install any of several EFI boot loaders for Linux. GRUB 2 is one of these, although rEFInd is likely to be easier to install manually. Note that most computers sold since mid-2011 use EFI, although most sold prior to the release of Windows 8 booted in BIOS mode by default. Even some pre-2011 computers support EFI-mode booting.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.