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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-12-2005, 03:52 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2004
Distribution: Ubuntu Desktop 8.10
Posts: 20
Rep:
|
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!
|
|
|
|
07-12-2005, 04:01 PM
|
#2
|
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
Why would BIOS stop GRUB from loading?
|
|
|
|
07-12-2005, 04:05 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2004
Distribution: Ubuntu Desktop 8.10
Posts: 20
Original Poster
Rep:
|
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.
|
|
|
|
07-12-2005, 04:11 PM
|
#4
|
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
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?
|
|
|
|
07-12-2005, 04:31 PM
|
#5
|
|
LQ Newbie
Registered: Dec 2004
Distribution: Ubuntu Desktop 8.10
Posts: 20
Original Poster
Rep:
|
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!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:40 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|