LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-12-2005, 03:52 PM   #1
fyhuang
LQ Newbie
 
Registered: Dec 2004
Distribution: Ubuntu Desktop 8.10
Posts: 20

Rep: Reputation: 0
Using GRUB to trick Windows to fit on a different partition?


Hello,

I'm trying to dual-boot Linux and Windows. The problem is, Windows always wants to install on the first partition, and I want Linux to be on the first partition (or at least the boot/ partition so my BIOS doesn't stop GRUB from loading). I have heard that there is a way to configure GRUB or something to allow me to install Windows on the second partition, and install Linux on the first partition. This supposedly 'tricks' Windows into thinking that it's on the first partition.

Does anyone know of any information regarding this technique or my problem? If anyone could help me it would greatly appreciated.

Thanks in advance!
 
Old 07-12-2005, 04:01 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Why would BIOS stop GRUB from loading?
 
Old 07-12-2005, 04:05 PM   #3
fyhuang
LQ Newbie
 
Registered: Dec 2004
Distribution: Ubuntu Desktop 8.10
Posts: 20

Original Poster
Rep: Reputation: 0
My BIOS is one of those stupid 'only boot from first 1024 cylinders' BIOSes. If I don't put boot/ within the first 1024 cylinders, GRUB tries to load stage 2 and gives me a 'geometry error'.

[edit] Well, actually it's not. It's a Dell BIOS. I've found that, after a certain point on the drive, it becomes impossible to boot (it's not 1024 cylinders, I suspect it approaches the 40-50 GB line but I'm not really sure). It's the same problem though - the Linux boot/ partition has to be near the front of the drive.

Last edited by fyhuang; 07-12-2005 at 04:09 PM.
 
Old 07-12-2005, 04:11 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
What happens, when you install Linux first and Windows second, when the first partition is taken. I have done this a couple of times, but I don't remember.

Anyway, isn't GRUB installed on the MBR? Where is MBR? Isn't that in the first couple of cylinders?
 
Old 07-12-2005, 04:31 PM   #5
fyhuang
LQ Newbie
 
Registered: Dec 2004
Distribution: Ubuntu Desktop 8.10
Posts: 20

Original Poster
Rep: Reputation: 0
MBR is in first cylinder/sector/whatever, but GRUB has two stages - first stage is in MBR, because it's small enough to fit there. Second stage is in the boot/ partition, because it's too big to fit in the MBR. First stage's purpose is to load the second stage. However, because of the BIOS if the boot/ partition is too far into the drive, stage 1 cannot find stage 2 and booting stops.

I'm not sure what happens when I install Linux first. However, there is a catch here - I already have an FAT32 partition as the first partition. It's a backup partition, and I want to keep it that way. Windows, however, will default to installing to this partition.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Ubuntu 5.1 fit on a 3.5 GB partition? vulpeso Linux - Software 2 11-18-2005 11:28 PM
GRUB: Seletec item cannot fit into memory hho Linux - Software 5 08-15-2005 06:54 PM
grub to see windows partition? skylinewrx Linux - Software 5 05-07-2004 11:38 AM
Upgraded Windows partition - now grub is gone BrianK Linux - Newbie 7 01-08-2004 09:26 PM
Kernel can't fit into memory on GRUB Buntoro Linux - Software 2 04-02-2003 07:27 AM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration