LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-12-2005, 07:45 AM   #31
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124

Are you sure about this? Because fdisk disagrees.
 
Old 09-12-2005, 02:23 PM   #32
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Rep: Reputation: 15
Whichever partition says NTFS, fat fat32, that is where a windows partition resides. ext3 can't be a windows partition, it has to be a linux partition. Trust that fdisk is correct. Don't give up on linux man, I'm a lil more experienced newb to linux, and it is worth it to stick with it. You might just want to try out a different distro such as Xandros or some other easilly installed distro. Also, you could just reinstsall the linux distro you have selecting to overwrite your existing linux partitions and when you get to the section in the insatll that asks you if you want to install grub, choose yes and chose to put it into the MBR (Master Boot Record).

Scott <-
 
Old 09-13-2005, 12:20 AM   #33
realnightfox
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: RED HAT!!!!!!
Posts: 21

Original Poster
Rep: Reputation: 15
I want xp back so i have all my files and i need it for school.... badly...
 
Old 09-13-2005, 09:20 AM   #34
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
We've told you how to get it back to a dual boot situation.
 
Old 09-13-2005, 10:24 AM   #35
zeroz52
Member
 
Registered: Feb 2005
Distribution: Slackware 10.2
Posts: 121

Rep: Reputation: 15
My intention isn't to be rude, but have you actually tried to follow any of the suggestions put forth to you here? We can't fix it for you, we can only offer you some options on how to resolve your problem. Did you read thru and follow sundialsvcs' post? You could check out this link and try it this way.

http://plug.twuug.org./part_disaster.shtml

It may not have been written specifically for the distrobution that you installed but it should work regardless. You could always run fdisk from a terminal within linux and delete all the partitions including xp and reload xp. This option will erase any info you have saved in xp, but will require the least amount of work on you part. If this option doesn't sound great then your only option is to do some reading and or post here what you tried to do and we can help you more.

"I want xp back so i have all my files and i need it for school.... badly..." These types of comments dont help us to solve your problem. Check out the above link and see if that helps.
 
Old 09-13-2005, 12:52 PM   #36
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
No need to re-install

If the XP was bootable after Partition Magic has gone through then it can be rescued by

(1) Boot to a DOS floppy with fdisk.exe inside and type

fdisk /mbr

(2) Boot to XP installation CD, drop into recovery console and type

fixmbr

The above should get your XP back

The XP is hidden at the moment and should be bootable by these 4 lines in /boot/grub/menu.lst of Fedora

title who hide my XP?
unhide (hd0,0)
root (hd0,0)
chainloader +1

rootnoverify is not needed in modern distros

Last edited by saikee; 09-13-2005 at 12:57 PM.
 
Old 09-13-2005, 04:10 PM   #37
realnightfox
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: RED HAT!!!!!!
Posts: 21

Original Poster
Rep: Reputation: 15
Im going to re install red hat with the grub thing... What should i put as the chainloader thing?
 
Old 09-13-2005, 05:28 PM   #38
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You don't need to re-install Red Hat either.

You can use the Linux installation CD to replicate its boot loader, in the MBR, or a floppy, or in its root partition or all three.

Have you got your XP back yet?

If any of the original partition were bootable then there is no need to reinstall it. You better off to make some tools to get them back, like couple of floppies.

I have a Grub floppy that can boot +50 systems (including the two you got) and you can make one yourself with Fedora or Red Hat. The trick is don't destroy a bootable partition, unless you want to re-size it, and always leave its boot loader inside the partition.

Last edited by saikee; 09-13-2005 at 05:30 PM.
 
Old 09-14-2005, 03:29 AM   #39
realnightfox
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: RED HAT!!!!!!
Posts: 21

Original Poster
Rep: Reputation: 15
No, i cant boot xp... otherwise i wouldn't be complaining...

I don't know where to goto boot it either.
 
Old 09-14-2005, 03:45 AM   #40
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Did you try the method I described? You should describe your problem if you want help. Otherwise how could we diagnose it?

By restoring the MBR your Linux can become inaccesible, but can be rescued. (We can go into that later)

While Linux is bootable you can access your XP files and possibly work on them if you mount it.

You can read all the files in your hda1 partition but as Linux doesn't write on a NTFS partition you can only save the changes in a FAT or Linux partition. To access your XP files, while in Red Hat and log in as root, you type

mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1

Some older versions of Linux may required partition type and you may have to use

mount -t ntfs /dev/hda1 /mnt/hda1

Thereafter go and play with your XP partition instead of jumping up and down pulling the hair out.

Last edited by saikee; 09-14-2005 at 03:54 AM.
 
Old 09-14-2005, 04:42 PM   #41
realnightfox
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: RED HAT!!!!!!
Posts: 21

Original Poster
Rep: Reputation: 15
So i go into terminal and put in

mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1

then i also add

mount -t ntfs /dev/hda1 /mnt/hda1

Is that right? :S
 
Old 09-14-2005, 05:12 PM   #42
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
mount /dev/hda1 /mnt/hda1

and

mount -t ntfs /dev/hda1 /mnt/hda1

are the same. Just do anyone and use the other if it doesn't work.

You must learn how to mount a Windows partition to work in Linux, otherwise what is the use of having two systems?
 
Old 09-15-2005, 12:31 AM   #43
realnightfox
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: RED HAT!!!!!!
Posts: 21

Original Poster
Rep: Reputation: 15
Well, do these command things go into the terminal?
 
Old 09-15-2005, 12:32 AM   #44
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yes.
 
Old 09-15-2005, 02:11 AM   #45
realnightfox
LQ Newbie
 
Registered: Sep 2005
Location: Australia
Distribution: RED HAT!!!!!!
Posts: 21

Original Poster
Rep: Reputation: 15
I su to root

then put in mkdir /mnt/hda1 and inothing happened..

Then i tried 'mount /dev/hda1 /mnt/hda1' and it said...

mount: fs type ntfs not supported by kernel

And then I tried 'mount -t ntfs /dev/hda1 /mnt/hda1'

and it came up with the same output.
 
  


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
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 08:57 PM


All times are GMT -5. The time now is 10:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration