LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-21-2006, 03:21 AM   #1
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
removing fedora Core 4


hi guys,
need ya help.....

i'm dual booting window xp sp2 and fedora core 4...
but i deleted the linux partition and after i restart, was not able to start window xp...
i know something is wrong the the grub but not sure how to fix it....

so i used the window xp disc to enter the recovery console..used the commands, fixboot C: and fixmbr...
after finishing both, still unable to start XP...

can anybody tell me the correct way to do it??

thx
 
Old 04-21-2006, 03:32 AM   #2
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
still unable to start XP...
what is exactly happening then? Any errors?
 
Old 04-21-2006, 07:44 AM   #3
binary1011100
Member
 
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Rep: Reputation: 15
Smile I may be able to help you

I can props help u ,i've had this problem b4 but I need to know the layout of your partition table and if u know where the bootloader was located (if u can) i.e. on the MBR or the first section of the boot partition
 
Old 04-22-2006, 10:14 AM   #4
Ha1f
Member
 
Registered: Jun 2005
Location: University of Maryland
Distribution: FreeBSD
Posts: 268

Rep: Reputation: 30
if you ran fixmbr and windows doesnt start you may have accidentally killed windows. post any error messages you have, or better yet, get a live cd and check all your partitions.
 
Old 04-22-2006, 07:00 PM   #5
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
i would recommend using BackTrack since it works well with NTFS partitions. It will also automount them for you and you can easily check to see if stuff is still there. Would also be a good place to rewrite parts of your MBR if you have to.
 
Old 04-23-2006, 09:40 PM   #6
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by muha
still unable to start XP...
what is exactly happening then? Any errors?

that time i was still unable to start window...cant really remember the error msg...but when i type fixmbr, i noticed this msg

"Writing a new master boot record to your system partition could damage your partition tables and cause your partitions to become inaccessible",

mostly probably the partitions become inaccessible, thats y unable to load window xp...
 
Old 04-23-2006, 09:40 PM   #7
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by binary1011100
I can props help u ,i've had this problem b4 but I need to know the layout of your partition table and if u know where the bootloader was located (if u can) i.e. on the MBR or the first section of the boot partition

its on the MBR
 
Old 04-23-2006, 09:42 PM   #8
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Ha1f
if you ran fixmbr and windows doesnt start you may have accidentally killed windows. post any error messages you have, or better yet, get a live cd and check all your partitions.
kill window?? what do you mean ???

only ran the command fixboot and fixmbr..and nothing else...

Last edited by zinc00; 04-23-2006 at 09:45 PM.
 
Old 04-24-2006, 03:05 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Ha1f means that you might have removed something that's essential for windows (e.g. you deleted the windows partition as well or Windows is on a non-bootable partition).

Use a live CD (e.g. knoppix) and run fdisk.
It will show which partitions you still have and which one is bootable. If the windows one is not bootable, make it bootable using fdisk.
Try the fixmbr story again after that.

If it still fails. you can mount the partitions and check (and fix) what's wrong.

If everything else fails, mount the partitions and backup important data. Next re-install windows.
 
Old 04-24-2006, 03:27 AM   #10
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Wim Sturkenboom
Ha1f means that you might have removed something that's essential for windows (e.g. you deleted the windows partition as well or Windows is on a non-bootable partition).

Use a live CD (e.g. knoppix) and run fdisk.
It will show which partitions you still have and which one is bootable. If the windows one is not bootable, make it bootable using fdisk.
Try the fixmbr story again after that.

If it still fails. you can mount the partitions and check (and fix) what's wrong.

If everything else fails, mount the partitions and backup important data. Next re-install windows.

before typing the command "fixmbr", did see some msg saying running such command may make the partition non bootable....so to say the culprit is the fixmbr??
Why is it that others are able to fix the problem while some unable to do so??
random error???

Last edited by zinc00; 04-24-2006 at 03:28 AM.
 
Old 04-24-2006, 07:02 AM   #11
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by zinc00
before typing the command "fixmbr", did see some msg saying running such command may make the partition non bootable....so to say the culprit is the fixmbr??
Not necessary; you already could not access windows before running fixmbr.
Quote:
Originally Posted by zinc00
Why is it that others are able to fix the problem while some unable to do so??
random error???
Depends on what is wrong. If you accidently removed the windows partition instead of the linux partition, fixmbr will not help.
 
Old 04-24-2006, 07:52 PM   #12
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
hi Wim
thx for the prompt reply,
with regards to what u said, i was still using windows before rebooting the pc...i cant possibly deleted windows beforehand..
 
Old 04-24-2006, 11:28 PM   #13
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Now you've lost me. OK, how did you delete the Linux partition? From within Windows? Probably and I should have realised.
In that case it's indeed not very likely that you've deleted the Windows partition as windows does not allow you to delete the partition which contains it.

Still think that a live-CD will be able to help you out.
 
Old 05-02-2006, 07:48 PM   #14
zinc00
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
so what do i do when i boot up using a live CD???
 
Old 05-03-2006, 12:28 AM   #15
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
You can start by posting the output of the following commands in a terminal:
fdisk -l (fdisk -EL, not fdisk -one)
cat /etc/mtab

The first one will show you the partitioning of all harddisks, the second one will show what is mounted
Code:
root@btd-techweb01:~# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1024     8225248+  83  Linux
/dev/hda2            1025        1090      530145   82  Linux swap
/dev/hda3            1091        4278    25607610   83  Linux
/dev/hda4            4279        4865     4715077+   5  Extended
/dev/hda5            4279        4865     4715046   83  Linux
Yours will definitely look different. The last column shows the file system. For windows partitions, you will see HPFS/NTFS and/or something like W95 FAT32.
If there are no windows partitions, I think you have to re-install windows, else continue.
Code:
root@btd-techweb01:~# cat /etc/mtab
/dev/hda1 / reiserfs rw 0 0
proc /proc proc rw 0 0
/dev/hda3 /server reiserfs rw 0 0
/dev/hda5 /home reiserfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
If your windows partitions are shown here, they are already mounted and you can check their content. Suppose that /server was a windows partition, use the command cd /server and check the contents.
If it's not here, you have to manually mount the windows partitions. In that case, please post the output of cat /etc/fstab and we will take it from there.
 
  


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
Upgrade Fedora Core 4 (FC4) to Fedora Core 5 (FC5) hangs vogelap Fedora - Installation 10 05-22-2006 09:00 AM
Removing Fedora Core from dualboot cheetahman Fedora - Installation 2 01-07-2006 01:00 PM
Removing Fedora Core 4 Linux to Install Windows elliotfuller Linux - Newbie 1 05-08-2005 11:53 PM
Removing/Uninstalling Fedora Core 2 strimp099 Linux - General 1 12-25-2004 06:56 PM
Help needed with Fedora Core 2 + WinXP after removing Mandrake 10 kainhart Fedora - Installation 4 07-05-2004 04:55 PM

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

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