LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-11-2004, 03:15 PM   #1
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Rep: Reputation: 30
Problem with dual boot?


Hi.
I found this article:
http://lwn.net/Articles/86835/
That says there might be a problem with dual booting FC2 and XP. Has this been fixed.
Also will booting up with Windows CD and then running repair mbr, acomplish the same thing as their solution?
Thx.
 
Old 08-11-2004, 06:58 PM   #2
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
As far as I can tell this has not been properly fixed in an ISO. From what I understand there are a number of fixes that are applied after the install is done. I used the information in this article to help with the problem http://lwn.net/Articles/86835/ and it solved part of the problem for me however my situation was slightly different with multiple drives. The biggest thing I can suggest is make sure you have everything backed up and then play around with it. Using fixmbr from the XP cd does not fix the problem because it just puts the XP loader in again and will delete grub from the MBR.

I just did a google search and this seems like it is similar to the previous article I posted only a little simpler and a link to a Red Hat axplanation.
http://www.mockus.us/optimum/dual-solved.html

I hope this helps.
 
Old 08-11-2004, 07:18 PM   #3
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Thanks, we looked at the same article .
Second one you provided a bit more info. I have 2 hds too. I guess I need to specify geometry info for hdb too.

Last edited by UmneyDurak; 08-11-2004 at 11:01 PM.
 
Old 08-11-2004, 07:59 PM   #4
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
Acctually I think you only need to change geometry on the drive that has Windows. From what I can tell it is just that windows can't read the new geometry. I would juts try the one drive first and see what happens. If that does not work then I would change the other.
 
Old 08-11-2004, 08:08 PM   #5
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
How does boot partitions factors in to it?
I want to create a separate partition for boot, since I have some logical partitions of windows on second drive too. All the linux partitions are created under /dev/hdb1 and are ext3 type. Which means there are couple windows partitions before boot, and the rest of linux partitions. Do I need to force it to be a primary partition?
Thx.

Last edited by UmneyDurak; 08-11-2004 at 08:19 PM.
 
Old 08-11-2004, 08:15 PM   #6
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
I think the problem is only in the way Windows sees things so the boot partition should not have any resriction other than those there might normally be. But if you do have windows partitions on both drives I guess you will need to check the geometry on both drives.
 
Old 08-11-2004, 09:12 PM   #7
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
I'm a little confused about whole boot partition. What exactly does it do?
Here how I undersand it, mbr conains all the data about the partitions, and also a bootloader (like grub or lilo) manager. /boot partitions contains the files that are neccesary to to start linux.
Is this correct?
Thx.
 
Old 08-11-2004, 09:17 PM   #8
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
That's the way I understand it as well. Take into consideration the fact that I still consider myself a newbie though. I have been using Linux off and on for about 3 years and have just recently switched competly except for dual booting to support a few clients I have. Any information I have looked at shows that you are correct though. I am just not sure why to bother putting it on a seperate partition. I have heard arguments for both but am not convinced that a /boot partition in really necessary.
 
Old 08-11-2004, 09:18 PM   #9
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Just want to try it.
Thx for the help.

Last edited by UmneyDurak; 08-11-2004 at 09:31 PM.
 
Old 08-11-2004, 09:19 PM   #10
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
That's the way I have been learning. Keep the data backed up and go for it. Good luck!
 
Old 08-11-2004, 10:46 PM   #11
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Well installed FC2, and was able to boot to XP. But not everything went smoothly, my last windows partition, k partiton , on second drive got messed up. Basically shows it with not file System. I think that was the result of specifying manually the CHS for hda, and hdb. I did get a warnning message when I was installing FC2, saying that Partitions couldn't be shifted properly or something like that. So I guess when it allocated Linux partitions it used some of the space in k partition. Thankfully all that partition had was FC2 iso images, so nothing vital was damaged. Hopefully after I reformat it to ntfs it would work just fine. Haven't booted FC2, yet hope that works.
 
Old 08-11-2004, 10:51 PM   #12
rnicolson
Member
 
Registered: Jul 2004
Location: Winnipeg
Distribution: Slackware 11
Posts: 74

Rep: Reputation: 15
Sounds like things went fairly well then. Let me know how Fedora boots when you get a chance to fire it up. If you can boot XP chances are Fedora is fine because the main problem is that XP won't boot.
 
Old 08-11-2004, 10:58 PM   #13
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Well I formated the k drive and it works.
Restarted the computer and instead of it showing me the choices between windows and FC, it just shows grub prompt. How could formatting last partition on second harddrive effect mbr on my first primary hd?
Also trying sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
didn't work.
error: sfdisk: unrecognized intput: extended partition does not start at a cylinder boundary.

EDIT: ok I tried following instructions here: http://www.linuxquestions.org/questi...grub+dual+boot
but it gave me grub not found, when I tried find command.
Update: 2.0
O.K I booted with XP disk and did fixmbr, so now I can at least boot up to Windows. Not sure if anyone can help me with this one. But now when I o to Disk Management it shows all my regular ntfs partitions. But instead of remaining 20 gig of space that I installed FC on, it shows: 64.5 gb of free space, 23.59 gig of free space, 811.57 healthy (unknown), and 259.39 healthy (Unknown) partitions. This is an 80 gig harddrive.

Last edited by UmneyDurak; 08-11-2004 at 11:57 PM.
 
Old 08-12-2004, 03:02 AM   #14
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
I started a new thread here
So that people don't have to read through all the replies. It has the problem summarized.
How do I specify kernel and initrd options?
when I type kernel /boot/vmlinuz-2.6.5-1.358, it gives me file not found
I also tried adding root=/dev/hda5 since my /boot is on hda, and / is on hdb
when I do sfdisk -l /dev/hda it shows my /boot partition on hda5

Last edited by UmneyDurak; 08-14-2004 at 08:22 PM.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Dual Boot Problem mainak Linux - General 4 04-12-2003 02:32 PM


All times are GMT -5. The time now is 01:01 PM.

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