You are not logged in.

#1 2009-03-20 02:51:47

Bahdom
Member
Registered: 2007-12-14
Posts: 40

'Large Hard Drive' mode and GRUB

Hi,

I have a SATA hard drive with 3 primary partitions, the first 2 are OS (windows and linux accordingly) and both are about 35GB each. My motherboard is a Gigabyte M61PME-S2P.

GRUB won't get past 1.5 (error #17) unless I set the BIOS to read the SATA drive in 'Large Hard Drive' mode. However, if I leave LHD on Windows won't boot. If I remove LHD mode and reset the MBR for windows then Windows will boot properly.

Is there some way of making them both work?

Thanks

Offline

#2 2009-03-20 21:25:11

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: 'Large Hard Drive' mode and GRUB

I'm guessing LHD allows the BIOS to boot MBRs past the limit (forgot what it is specifically).

This would make sense if your first partition is Windows. Without LHD, the Windows boot loader goes (and boots Windows), because the BIOS can't see GRUB - it's past the limit. If that option's on, the BIOS sees and boots Grub.

The answer is to keep LHD on, and add a section to Grub (/boot/grub/menu.lst) that boots Windows - by default there already is one you can tweak. Or do you already have this, and you're saying Grub won't boot Windows with LHD on?

Offline

#3 2009-03-21 00:58:37

Bahdom
Member
Registered: 2007-12-14
Posts: 40

Re: 'Large Hard Drive' mode and GRUB

Yeah, the windows entry is there. In LHD mode the windows entry is printed on screen and the system hangs. On LHD without grub I get a 'error reading drive' error with the Windows booter.

Offline

#4 2009-03-31 04:05:18

Bahdom
Member
Registered: 2007-12-14
Posts: 40

Re: 'Large Hard Drive' mode and GRUB

bump

Offline

#5 2009-04-04 22:56:28

Bahdom
Member
Registered: 2007-12-14
Posts: 40

Re: 'Large Hard Drive' mode and GRUB

second bump

Offline

#6 2009-04-05 11:51:13

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: 'Large Hard Drive' mode and GRUB

I guess you should have installed windows with LHD turned on, as far as I know windows is very picky about any changes you do to some system configurations, somehow it assumes the system will never change and will always try to boot with what was detected the first time.
Any modern OS should be able to handle large hard drives without any problem so it's safe to leave that option on, and as you are experiencing, it can cause more trouble than bring solutions to problems.
I guess the option is to reinstall windows with LHD turned on .... but thats a major pain hmm appart from that .... the only option I see is to get some free space in the first 4096 cylinders (this should be the first 2GB of the disk) and put /boot there, then with LHD turned off the bios should be able to boot into grub but I don't know how things will go from there and if linux will boot properly ... most probably it will.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2009-04-05 16:17:15

Bahdom
Member
Registered: 2007-12-14
Posts: 40

Re: 'Large Hard Drive' mode and GRUB

yeah, thats what i ended up doing. Oh well.

Thanks anyway =]

Offline

Board footer

Powered by FluxBB