LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 06-25-2004, 05:54 AM   #1
Curlychris
LQ Newbie
 
Registered: Jun 2004
Location: King's Lynn, UK
Distribution: SUSE 9.1 Personal ftp, Knoppix 3.6
Posts: 3

Rep: Reputation: 0
More to FC2/XP dual boot bug than disk geometry settings?


Sorry to add yet another tale of woe re this problem but there appears to be inconsistencies with what FC2 is supposed to be doing on install, the suggested solutions and what happens in practice on some machines. (If this looks familiar to some of you it's because I've added this to the bugzilla.redhat list as well - but also wanted to reach a wider audience!)

I sincerely apologise if there is not an ounce of new info here as far
as the rest of you are concerned my last 3 weeks of researching this
problem and how to prevent it still leaves me with unanswered
questions. (Being an utter novice probably doesn't help either!)

Original state 15Gb Maxtor 31536U2 HDD with XP installed across the
entire disk ie no previous partitioning.

After noting the original disk geometry settings (1868,255,63) using
fdisk via SuSE Live Eval 9.0 (Knoppix 3.3 hangs on install for some
reason), booted FC2 disk 1 to rescue and used parted to resize the XP
partition down to end at 10000Mb, leaving start point at original
value (0.031Mb).

After this, XP continued to boot with no problems, despite fdisk reporting the revised geometry figures with 16 heads (BIOS set to Auto
at this point)!!!

Installed FC2 following the lwn.net guidelines
(How to make FC2 & Win XP play well together), typing the original hda geometry at
boot and allowing the installer to do its thing with the free space
after the Windows partition. Once installed, XP then failed to boot
from GRUB. Tried correcting the geometry with the sfdisk solution
using SuSE Live Eval 9.0 but wouldn't work even with --force, as follows:


Disk /dev/hda: 1868 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 1274- 1275- 10239736+ c W95 FAT32 (LBA)
/dev/hda2 1275 1287 13 104422+ 83 Linux
/dev/hda3 1288 1786 499 4008217+ 83 Linux
/dev/hda4 1787 1867 81 650632+ f W95 Ext'd (LBA)
/dev/hda5 1787+ 1867 81- 650601 82 Linux swap
New situation:
Units = sectors of 512 bytes, counting from 0

Device Boot Start End #sectors Id System
/dev/hda1 * 63 20479535 20479473 c W95 FAT32 (LBA)
/dev/hda2 20482875 20691719 208845 83 Linux
/dev/hda3 20691720 28708154 8016435 83 Linux
/dev/hda4 28708155 30009419 1301265 f W95 Ext'd (LBA)
/dev/hda5 28708218 30009419 1301202 82 Linux swap
Warning: partition 1 does not end at a cylinder boundary

sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
[root@localhost chris]# sfdisk -d /dev/hda | sfdisk --no-reread
--force -H255 /dev/hda

Disk /dev/hda: 1868 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 1274- 1275- 10239736+ c W95 FAT32 (LBA)
/dev/hda2 1275 1287 13 104422+ 83 Linux
/dev/hda3 1288 1786 499 4008217+ 83 Linux
/dev/hda4 1787 1867 81 650632+ f W95 Ext'd (LBA)
/dev/hda5 1787+ 1867 81- 650601 82 Linux swap
New situation:
Units = sectors of 512 bytes, counting from 0

Device Boot Start End #sectors Id System
/dev/hda1 * 63 20479535 20479473 c W95 FAT32 (LBA)
/dev/hda2 20482875 20691719 208845 83 Linux
/dev/hda3 20691720 28708154 8016435 83 Linux
/dev/hda4 28708155 30009419 1301265 f W95 Ext'd (LBA)
/dev/hda5 28708218 30009419 1301202 82 Linux swap
Warning: partition 1 does not end at a cylinder boundary
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs


So I then changed BIOS to LBA mode, which showed me the original
geometry values on screen still didn't work. (Even tried it
selecting LARGE but not happy!)

Tried fixboot and then fixmbr from XP install disk no joy with either.

Re-installed FC2 as above but added hda=1868,255,63 at GRUB installer
as well. No joy from XP selection in GRUB. Tried correcting the
geometry again with the sfdisk solution using SuSE Live Eval 9.0 with
same error message, then realised that it was telling me that the
drive was ALREADY 1868,255,63!

In FC2, the hardware browser also tells me the 'correct' geometry!

So my first question is, if the BIOS, GRUB and the Linux kernel are all
reading the drive the same way, why do I still get the following when
I try to boot into XP?

rootnoverify (hd0,0)
chainloader +1

NTLDR is missing
Press any key to restart

And my second is, if Mandrake and SuSE have issued patches to correct
this (I see that the NTLDR message has been mentioned in the Mandrake
forum on this site), why isn't there a patch for FC2
(modified as appropriate from one of the above)??

Anybody got any other ideas???
 
Old 11-02-2004, 01:57 AM   #2
mavric141
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Plz post if somebody has got any idea .. i got the same error and windows says .. error in reading hard disk ctrl+alt+delete to restart ...
 
Old 11-02-2004, 04:47 AM   #3
Curlychris
LQ Newbie
 
Registered: Jun 2004
Location: King's Lynn, UK
Distribution: SUSE 9.1 Personal ftp, Knoppix 3.6
Posts: 3

Original Poster
Rep: Reputation: 0
Hey Mavric141

Due to lack of response and my lack of technical expertise I'm sorry to say I gave up on this distro and installed SUSE 9.1 Personal ftp instead - at least SUSE has a patch that fixes the problem!

Hope you have better luck!

Chris
 
Old 11-03-2004, 07:35 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: IceWM on Debian
Posts: 5,489

Rep: Reputation: Disabled
look I know nothing about FC2 but as I understand it, the bug is not with booting Fc2 but with Fc2 changing the geometry that windows will see, see?

However, I admire your attempts and find it strange you had xp booting from grub.

you may care to look at the suse fixes to the partition tool to see if you can get it right?
they are in my signature if you have not already seen them
 
Old 11-04-2004, 04:00 AM   #5
Curlychris
LQ Newbie
 
Registered: Jun 2004
Location: King's Lynn, UK
Distribution: SUSE 9.1 Personal ftp, Knoppix 3.6
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks aus9, I'll take a look at the link you provided in due course, tho I'm currently looking at dual-booting MEPIS (with XP) on my laptop, as this seems to have the built-in hardware detection I've been looking for.
 
Old 11-21-2004, 03:52 AM   #6
brainfry
LQ Newbie
 
Registered: Oct 2003
Location: Manchester UK
Distribution: Dapper 64
Posts: 25

Rep: Reputation: 15
I only ever had this once after installing FC2 for the first time. I tried every fix that I found but nothing worked so I ended up deleting everything off the drive (oh, the pain) and setting up the drive with Seatools from Seagate and re installing eXPensive again. It was then I read about the LBA setting.

After changing the access mode on my [single] drive from auto to lba, I've never had the problem again. I can install FC2, FC3 or even SuSE 9.1 personal without any problems. I also always manually partition with disk druid instead of using the automatically partition option so I don't know if that helps either.
 
  


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
Dual boot XP/FC2 probs aftter FC2 install - "cannot find operating system" bcal Fedora - Installation 4 01-30-2005 03:38 PM
Fedora 3- is the dual-boot bug fixed? artemis Fedora 4 11-26-2004 12:10 PM
Dual boot 2.6 kernel HDD Geometry Install question morrolan Linux - Software 0 09-30-2004 06:11 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
FC2 disk geometry (NOT double boot) ferrix Fedora 1 05-28-2004 01:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration