LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-22-2004, 09:21 PM   #46
osat3ch
Member
 
Registered: Jan 2004
Location: Portsmouth, NH
Distribution: FC3, FC4
Posts: 45

Rep: Reputation: 15
windows has been having this problem since SuSE 7.1 or before


windows has been having this problem since SuSE 7.1 or before

In 2000 I bought SuSE at bestbuy. It had 7 cds and a dvd packed with over 2000 programs. I installed it and had problems with a sound card and then had a HUGE db project to work on for my job. the project took all my time and I didn't have the time to get linux installed (and it was a little harder to find help online back then)

When I went to put 98 back on it I had the same problem but it was only a 4gig drive and i said what the heck and bought a new one that held 20 gigs and never thought about it until i needed a PC to give my mom. thats when I found the privously mentioned swissknife program.

the bottom line is

You would think that in four years or so MS would be able to use all of its great resources to be able to correctly format a hard drive. One would think they would like to be able to write over any other OSes partitions.

I guess this is just another thing windows continues to suck at.
 
Old 08-23-2004, 11:51 AM   #47
vimoral
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
I had the same problem.
Solution

1. Boot with a floppy disk that also contains fdisk.exe.
2. Enter fdisk and delete all partitions except the one that contains Win XP.
3. Make the partition active.
4. Return to a:/
3. enter "fdisk/mbr"

When you re-boot Win XP will boot.

Hope this solves your problem
 
Old 08-23-2004, 02:17 PM   #48
sykikchimp
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
Best way I know to clean up a hard drive.. Low Level Format..

You need a windows 98 boot disk with "Debug" on it.

at the c:\ prompt type: ("enter" after each line.. case sensitive)
Debug
-f 200 L1000 0
-a CS:100
mov ax,301
mov bx,200
mov cx,1
mov dx,80 (81 if slave)
int 13
int 20
<enter>
-g
"Program terminated normally" --or something to that effect..
-q
should be back to the c:\ prompt.
go to fdisk and create a new dos partition. (pretty much "enter" all the way through unless you want multiple partitions.)


I have been doing this to HD's for years and has not failed me once.

-Charles
 
Old 08-31-2004, 04:58 PM   #49
neorion
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Rep: Reputation: 0
I find the best way is a bootable floppy disk Killdisk a free download. which erases hdds or partitions and is a full level format which will better in the long run. You could erase the linux partition here.
http://killdisk.com/downloadfree.htm

Last edited by neorion; 08-31-2004 at 05:01 PM.
 
Old 08-31-2004, 08:57 PM   #50
xbriank
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 5
Posts: 9

Rep: Reputation: 0
just to beat a dead horse

I had some trouble with a drive after I used some crappy partitioning and recovery software. I found a useful iso image called Darik's Boot and Nuke or DBAN for short, it uses a nuber of different data destruction methods, including a department of defensemethod. anyway run this, and there wont be nutthin left, floppy version is available as well. http://dban.sourceforge.net
 
Old 09-01-2004, 04:26 AM   #51
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Hey man, I had the same problem too. FC2 did ruin my PC. But there is a workaround. First, to answer a few qs of yours ...

Yes, your partition tables are f'cked.
No, your bootloader still operates fine.
Yes, you can continue to use your PC as normal with the screwed partition tables.

Go into your BIOS and go to the settings for your master hard drive. Try selecting "large" or "LBA" for the read/write mode. It'll fix it easy as that. Your partition tables are screwed, but your computer won't know the difference until you try running PartitionMagic (if you have it). Man, when I ran it, it was just owning my hard drive. But it still ran. To be confortable, I reinstalled WinXP (NT5) and RH9 Linux (NOT FC2!). I backed up all my stuff to a 10GB drive beforehand though.

Hope this helps ... I'm one of the few out there that know the workaround to this problem
 
Old 09-17-2004, 05:54 PM   #52
xianpoxi
LQ Newbie
 
Registered: Nov 2003
Distribution: Fedora Core
Posts: 1

Rep: Reputation: 0
I've had the same problem w/ my partition table being screwed. My workaround was accidental and I'm still not sure exactly why it works, but I'll bet someone will. I still have Fedora installed on one harddrive and WinXP on another.

If I boot up it will not find the operating system unless the Win XP cd is in the drive. It will ask you to press any key to boot from cd. I just let it time out, then it goes to my windows boot loader asking whether I want XP or Fedora.

Workarounds are inconvenient, but hey, they work.

xianpoxi

Last edited by xianpoxi; 09-17-2004 at 05:55 PM.
 
Old 09-17-2004, 09:30 PM   #53
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Rep: Reputation: 15
hi all

Prevention

prevention relies on you havinbg access to Linux on the computer before installing FC2. use an existing instalation or rescue disk. i used knoppix. (as root) and type
#fdisk -l /dev/hda

at the top of the output you should see something like

255 heads, 63 sectors/track, 77545 cylinders

your output, obviously, will be specific to your HD. take a note of the cylinders, heads & sectors.

begin instalation of FC2, when you see the
boot:
prompt, type
linux hda=77545,255,63

this tells the partitioning tool to use these values.

Cure

if you've already installed FC2 and need to fix the prob, here is the cure. open a terminal as root and type
#sfdisk -d /dev/hda | egrep -v '^(Warning|DOS)' | sfdisk --no-reread -H255 /dev/hda

this reads the current geometry from the disk, strips out any warning info with egrep and writes it back to the disk with the corrected heads values.

referenced from Linux Format mag LXF56 August 2004, page 49 and also
http://lwn.net/Articles/86835

hope this helps
regards
GT
 
Old 09-18-2004, 07:29 AM   #54
viscus
LQ Newbie
 
Registered: Sep 2004
Location: Leeds, UK
Distribution: Fedora Core 2
Posts: 7

Rep: Reputation: 0
A modification to Globetrotter....

I tried that but sfdisk didn't like it and left things as they were. So what I did was use the 'force' flag after both sfdisk commands (I'm not sure if it's needed after the first command but I put it in anyway).

So the first sfdisk should be 'sfdisk -d -f' and the second should be 'sfdisk -f --no-reread'.

This worked for me and I'm now dual booting XP and FC2.

HTH.

Viscus
 
Old 09-18-2004, 02:56 PM   #55
ts_sudarshan
LQ Newbie
 
Registered: Oct 2003
Location: Bangalore
Distribution: Arch, SUSE OSS
Posts: 23

Rep: Reputation: 15
Well, my experience with FC2 and it's installation is quite different. I have 2 harddisks. hda is 40GB and hdb is 20GB. HDA is dedicated to windows XP sp1 and hdb is for linux.
From the time I have learnt to install and use linux, I have never installed grub or lilo to the MBR. Instead, I have always installed grub or lilo to the first sector of the root partition where Linux is installed. Then, I use a freeware called XOSL, which is a multi-OS boot manager. It can be installed through DOS/Windows. So, I install XOSL on a DOS drive and this loads up during the boot process. There you can choose which drive to boot into, by selecting that particular drive in the setup. (for further details, read it's doc or do a google search). So, if i install another O.S, i simply select that drive in XOSL and i boot into that O.S.
So, before installing FC2, I had windows XP sp1 on HDA1 and SUSE pro 9.1 on HDB5. So, while installing FC2, I got some drive allignment problem warning, which i decided to ignore. While selecting, where to install grub, i chose to install it on the first sector of the root partition for FC2, i.e, in my case HDB1. Then, after install and reboot, I enable HDB1 in XOSL's setup and I now can boot into FC2, Windows and SUSE. I didn't face any of the problems of not being able to load windows. Also, in the future, if I install any new O.S. like some BSD then i install its bootloader into the first sector of the install drive and enable that drive in XOSL. Also, if i need to reinstall Windows, it is bound to rewrite the mbr in order to load only Windows. In that case, I reinstall XOSL that is a Child's play, (you don't need to be a geek or a nerd :-), and enable all those drive partitions that have O.S's installed on them. Then, choose which ever to boot into.. ASAT(As simple as that ;-)
 
Old 09-27-2004, 04:28 AM   #56
karloskar
LQ Newbie
 
Registered: Aug 2004
Location: Adelaide, Australia, but currently Lund, Sweden
Distribution: RH 9
Posts: 13

Rep: Reputation: 0
Do you have a SATA harddrive? Chances are you will need a update disk to install XP (I assume you're installing XP) onto a SATA drive.
 
Old 09-27-2004, 05:32 PM   #57
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
Yup, that was it, that d*mned FC2 just materialized out of the aether and d*mn if it didn't find my computer and install itself, f*cking my M$ XP Pro install.

Always back up important data, especially stuff you can't afford to lose. Even have backups offsite if it's that important to you. Some people have production machines and others for hacking around. It's amazing how useful Linux is at recycling hardware that won't work with XP, I gave away a scanner that would never have XP drivers but worked in Linux. Then my headless raid5 server would've cost a few thousand more if done in M$.

I installed FC2 the night it hit the mirrors on my laptop and yes the partition table got funky but at least it still booted. I think part of the issue is the board's bios. BUT, I did find the cure here on LQ from the good souls who have even consistently taken their time and patience to help out some badmouthing posters. Take some time and search LQ, google and get an idea what's going on. Use the resources that are freely available. Learn to read and think before lashing out. The cure for your problems were posted here months before you had them. It's not always easy or productive to search when you really don't even know where to start but perspective is important. (I'm taking my time to post this for all who may read it, to provide encouragement for those who may need it.)

I also have FC2 on a dedicated machine (nForce2) and dual booted on my preschooler's (kt133a) and had it dual booted on another (sis735). All worked fine when following the instructions of those who took their time to post and explain how to do it. In short the help you get here only cost your time not the $35 or more that some proprietary types charge just to answer the phone whether they solve your problem or not.

linux hd_=cylinders, heads, sectors is your friend if you want to use FC2.

Thanks to all that have made my Linux experience fruitful.

Oh yeah, there's that shelf full of Linux books that I've read in the past year or so.

You get what you pay for, sometimes.

Last edited by flysideways; 09-28-2004 at 06:36 AM.
 
Old 09-28-2004, 08:57 AM   #58
FedoraFan
LQ Newbie
 
Registered: Sep 2004
Distribution: None yet
Posts: 16

Rep: Reputation: 0
If you are fimiliar with DOS. You might wanna try to obtain a Windows 98 Boot Disk. Then enter the 'FDISK' command and delete all of the partitions. Then create a new partition and allocate all available space on the drive. Then you must reboot and re-enter the the boot disk. Then in the DOS prompts.. format the hard drive. Then you can try re-installing Windows.

I have had this problem before. If you simply delete the partitions, the Linux Boot Record will remain un-noticed. Let me know if this works.
 
Old 09-28-2004, 05:32 PM   #59
shiatsu
Member
 
Registered: Jan 2002
Location: U.K.
Distribution: Ubuntu 8.04 / SUSE 11.0
Posts: 50

Rep: Reputation: 15
Re: Fedora Ruined My PC!!!!!!!!!!!!

Quote:
Originally posted by wasabi
I had installed Fedora to play around with it and see how it worked. I was fairly happy with it, but want to go back to windows on my primary pc. Problem is no matter what I cannot get windows to boot after a clean install. It appears that Fedora totally fucked my partition table and even potentially my MBR.

Does anyone have a solution for this or am I expected to scrap my hard drive and start over. In my Honest opinion this is totally friggin ridiculous. What kind of crappy OS will not let you remove it?
Hi,

There is an article on solving this problem in the latest Personal Computer World (November 2004) by Barry Shilliday (Page 194).

He describes this royal screw-up as a "huge embarrassment" to the Fedora Core Project. He's right and it's almost unbelievable that they would release FC2 before thoroughly testing it's ability to dual-boot with Windows. They must know that a large number of users will be running both systems.

According to the article the problem has arisen from using the new 2.6 kernel and the partitioning utility "parted". When "parted" saves changes to the partitions to disk it writes inconsistent CHS values along with the correct linear addresses. As Windows checks the CHS values when it starts up this can have the unfortunate effect of preventing Windows from booting although it will not affect Linux.

Hope this helps.

Alan
 
Old 09-29-2004, 08:11 AM   #60
MikeZila
Member
 
Registered: Jul 2004
Location: Parts Unknown
Distribution: Arch
Posts: 377

Rep: Reputation: 30
Does the above post mean its safe to download FC3 and not have this happen? Did they fix it?
 
  


Reply



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
AOL ruined my Christmas! bulliver General 39 12-23-2004 08:56 AM
SP2 ruined my life...help kbz2007 General 3 09-14-2004 05:32 AM
I can't believe it... xedit ruined my C project... diam0nd Linux - Software 13 08-30-2004 05:52 PM
up2date ruined my system philF Fedora 15 06-11-2004 09:38 AM
Oops, I ruined my computer skedmd Linux - Laptop and Netbook 2 10-17-2003 11:45 PM

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

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

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