LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2006, 05:32 AM   #1
spy_daemon
LQ Newbie
 
Registered: Jun 2006
Location: near the Earth
Distribution: fedora core3.win xp.suse 10
Posts: 14

Rep: Reputation: 0
i have damaged mbr what should i do?


hi
when i want to install fc3 it tels me that there is no partition table or it is damaged.
i think i have damaged the MBR
i have windows on my pc and i can enter to it .
the installer of fc wants me to delete all partitions on my pc and rewrite a new partition but i dont want to format my hard disk.
what should i do to fix this problem?
 
Old 11-16-2006, 07:17 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
if you can enter MS the mbr is not ''damaged"

2) it is more likely that you are using a distro that may be ancient in looking for cylinder boundaries for partitions.

3) so use a live cd....such as knoppix and run the gui program qtparted to resize BUT do not do so until you have defragged ms and left everything up one end.

then you can boot up FC if you wish
 
Old 11-16-2006, 07:50 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
if you can enter MS the mbr is not ''damaged"

2) it is more likely that you are using a distro that may be ancient in looking for cylinder boundaries for partitions.
I thought that LBA came out long before Fedora 3...Bad assumption?

You can have a partition table problem even if Windows still boots.

Is Windows using the whole disk? The Windows hard-drive utility can tell you that much.

Finally, if you want to use Fedora, why not something more current? 6 is the most recent.
 
Old 11-16-2006, 10:04 AM   #4
param85047
Member
 
Registered: Oct 2006
Location: Himalayas`
Distribution: Trying with New Distros
Posts: 63

Rep: Reputation: 15
Smile Fixmbr

Try to fix your mbr by booting in windows XP cd and going into repair console and issueing a fixmbr and fixboot command.

Hope it works
 
Old 11-16-2006, 11:20 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by param85047
Try to fix your mbr by booting in windows XP cd and going into repair console and issueing a fixmbr and fixboot command.

Hope it works
Note that OP can get into Windows already---so this is not going to help
 
Old 11-16-2006, 03:03 PM   #6
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
um... you can't resize windows partitions, so i guess you're installing linux OVER windows, not with windows...

if this is the case, simply tell the installer to delete ALL partitions on the drive and use default layout -- this will write a new MBR.
 
Old 11-16-2006, 03:14 PM   #7
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
@poweredbydodge, Sure you can resize windows partitions, I have personally resized 3 NTFS disks and 3 FAT32 disks.
 
Old 11-16-2006, 05:53 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by poweredbydodge
um... you can't resize windows partitions, so i guess you're installing linux OVER windows, not with windows...
AU CONTRAIRE--MON AMI!! There are several utilities which will re-size Windows partitions.

What do you mean by: "installing linux OVER windows, not with windows..."
 
Old 11-17-2006, 02:06 AM   #9
spy_daemon
LQ Newbie
 
Registered: Jun 2006
Location: near the Earth
Distribution: fedora core3.win xp.suse 10
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by param85047
Try to fix your mbr by booting in windows XP cd and going into repair console and issueing a fixmbr and fixboot command.

Hope it works
well i have done that before and i think that is the cause of my unreadble partition table . i have defraged my windows partitions but there is no change.i have Partition Magic 8 installed on the windows but it cant be started up and says it can find any device. .so now what should i do.and i bootup the system with a live CD and i ran the PARTED.but there was an error (i forgot where).please help
 
Old 11-17-2006, 02:37 AM   #10
param85047
Member
 
Registered: Oct 2006
Location: Himalayas`
Distribution: Trying with New Distros
Posts: 63

Rep: Reputation: 15
Quote:
Originally Posted by spy_daemon
well i have done that before and i think that is the cause of my unreadble partition table . i have defraged my windows partitions but there is no change.i have Partition Magic 8 installed on the windows but it cant be started up and says it can find any device. .so now what should i do.and i bootup the system with a live CD and i ran the PARTED.but there was an error (i forgot where).please help
I'd suggest u only one thing format everthing (except ur DATA) and install winXP again then Linux and enjoy instead of worrying becaz the fact I've seen is although experts do advice but they r not present at ur system to solve the problem (ultimately u have to do that). I have formatted and Re-installed WinXP and Linux 5 times only becaz my MBR was corrupted trying Linux but I never was dis-appointed with Linux. (I was not knowing how to fix MBR then)

It takes only 5 hrs to format and re-install WinXP with all the necessary softwares (Sorry but In my Case, u may have more or less softwares after winxp installation).

Enjoy
 
Old 11-17-2006, 05:38 AM   #11
spy_daemon
LQ Newbie
 
Registered: Jun 2006
Location: near the Earth
Distribution: fedora core3.win xp.suse 10
Posts: 14

Original Poster
Rep: Reputation: 0
how can i format everything except my data?
the fc installer asks me to erase all data on my hard.
there is no problem i can reinstall windows but i have data on my other partitions and i need theme(partition D,E,F).
 
Old 11-17-2006, 07:31 AM   #12
Stefan J
Member
 
Registered: Oct 2006
Location: Leicestershire, England
Distribution: Ubuntu 7.04
Posts: 45

Rep: Reputation: 16
Don't reformat everything yet! only as a total last resort.

I've had such problems before, the best solution i found was to use Partion Magic to create a boot disk, use this to resize and create partitions etc. But don't use it to format for the Linux filesystem let the Linux installer do that.

Try another distro and see if you have the same problem with that. Ubuntu would be a good choice.

If you can still boot into XP then your MBR is fine.
 
Old 11-17-2006, 09:59 AM   #13
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
I didn't think that you could resize a Windows partition that had the operating system (Windows) installed on it? I've seen Fat 32 partitions of just data resized, same for NTFS, but I didn't know you could do it with the OS partition. (I mean, sure, you could physically do it, but I thought it killed the operating system.)

Installing over = install linux by wiping all partitions and "going from scratch" on the disk.

Installing with = installing linux in a dual boot with windows, using something like Grub to dual boot.
 
Old 11-17-2006, 10:29 AM   #14
pinakighosh.rhce
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
hello spy_deamon...

There is a simple way to repair your mbr just follow the steps below:
1) Boot your pc with a windows XP/ or any distro u are using.
2) When asked for option choose "Boot PC with CD rom support"
3) Then it will leave you to a prompt something like a:\>
4) type in a command "fdisk /mbr", check for "backslash \" or "forward slash /" i am a bit confused but this works....

let me know if this works,
Regards,
Pinaki Ghosh

Last edited by pinakighosh.rhce; 11-17-2006 at 10:30 AM.
 
Old 11-17-2006, 01:25 PM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by poweredbydodge
I didn't think that you could resize a Windows partition that had the operating system (Windows) installed on it? I've seen Fat 32 partitions of just data resized, same for NTFS, but I didn't know you could do it with the OS partition. (I mean, sure, you could physically do it, but I thought it killed the operating system.)
I just did this on my HP/Compaq laptop. It is now dual-boot with Kubuntu and running flawlessly.
I'm sure that there are risks with re-sizing ANY partition but--yes--you can in fact re-size an NTFS partition with Windows on it.

Note that you CANNOT re-size any partion while running the OS on THAT PARTITION.
 
  


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
Restoring MBR :partitions are detected only after the reboot after MBR restoration? sharathksin Linux - Newbie 2 04-14-2006 07:48 AM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
Redhat with damaged MBR/Partition Table pawlub Linux - General 13 12-11-2003 07:51 AM
"LI" from boot floppy? Can't load XP or Linux. Damaged MBR or boot sector or ...? SparceMatrix Linux - General 10 09-27-2002 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 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