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 09-28-2002, 05:44 AM   #1
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
I'm in trouble


Ok this is what i did....

I formatted my linux partition so i had no o/s except windows, the format went ok, but i went to merge an empty partition with my Linux when, and while doing this an error occured (typical windows) i was using partion magic pro.....and now when i boot my computer it says this:

Code:
NTLDR Is Missing
Well along the lines of that, my guess it means NT Loader....

well since having no o/s i whipped out my Madnrake 8.2 cd's and installed it, thats what i'm on now, still not able to get onto my windows partition, Mandrake not even recongnizing it, and when i booted my windows recovery disk it also said something along these lines 'Windows Recovery disk does not recognise a valid Fat Or Fat32 disk bla bla bla'

If anyone can help, it would be much apprectiated, i know its a windows mainly problem...

BUT MY PARENTS WILL KILL ME!!!!
 
Old 09-28-2002, 06:06 AM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
ok i got an update here people, i finally mounted windows, BUT all the directories and files are GIBBERISH (weird lagnuage) its all like ??p23ked and ?38kdfj.qpx etc etc. And also when i open a directory no files show up, i am sure my files have not been deleted, i just can't access them....all i need to do is back up a couple of files...then i can re-format, i don't want to result in formatting now......
 
Old 09-28-2002, 06:16 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
huh huh, murder sucks. Sorry, I am sure you are very stressed.

Ok, so, I am sort of lost. What's your hard drive setup? How did you get to mount your winbloze drive? How was it setup? How are you opening "directories" command line or gui?

I guess first things first, the drive setup and partition scheme. Post the output of:
fdisk -l (FDISK -L lowercase)

And what version of winbloze do you run? Filesystem?

Cool
 
Old 09-28-2002, 06:48 AM   #4
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
ummm i have one hardrive, 20gb, 1 linux partition, 1 fat32 partition, 1 boot partition (for linux) and one unallocated space partiiton.

i'm opening from gui and command line, well i tried command, im usin gui now, running XP fat32

i shall try fdisk option and post the output.....
 
Old 09-28-2002, 06:53 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Cool, remember you must be root.
 
Old 09-28-2002, 07:37 PM   #6
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
That is the output of fdisk -l

Code:
[root@localhost windows]# fdisk -l

Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 2434 cylinders
Units = cylinders of 16065 * 512 bytes

                                Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *       372      2434  16571016   3c  PartitionMagic recovery
/dev/ide/host0/bus0/target0/lun0/part2             1       331   2658726   83  Linux
/dev/ide/host0/bus0/target0/lun0/part4           332       371    321300    5  Extended
/dev/ide/host0/bus0/target0/lun0/part5           332       363    257008+  82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part6           364       371     64228+  83  Linux

Partition table entries are not in disk order
 
Old 09-28-2002, 07:45 PM   #7
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
note the partition magic recovery as the 'system' for my main windows partition, hmmm i am not sure what this is, i did use partition magic but all i know is an error occured and thats it, restarted, then it said 'NTLDR is missing....

Garry
 
Old 09-29-2002, 05:09 AM   #8
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
Ok i have edited ONE thing using fdisk (linux) i changed the windows partiion i.d from the Partition Magic one to a fat32 one, but it has not changed anything.....still cannot access my files....
 
Old 09-29-2002, 05:12 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hey Garry, I thought you got beaten already

Well, whatever the part magic is, it's the bootable partition. You might wanna see if you can try reinstalling lilo into the first sector of your linux partition. Then change that to be the bootable partition. So...

Open up lilo.conf
Locate the line that says 'boot = /dev/hdx' ...

Wait, do you have a raid setup? Sorry buddy, I don't know jack about RAID's. If not, what is '/dev/ide/host0/bus0/target0/lun0/part1'? My fdisk -l would return something like:

/dev/hda1 blah blah blah

Not:
/dev/ide/host0/bus0/target0/lun0/part1

Anyway, I will continue, and you can just try to replace the values with yours.

So you have located the "boot" line, it should be near the top. Change that to show your linux hard disk/partition.

Now close lilo, and run /sbin/lilo -v

Ok, now you need to change the bootable partition. man fdisk should guide you through that relatively well. If not, try fdisk --help or fdisk -h or a variant.

Sorry if this is completely no help because I don't understand RAID at all.

I'll see what I can find for ya though
 
Old 09-29-2002, 05:24 AM   #10
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
hmmmm i don't have a raid setup but, cause i have no idea about raid either, well i thought i didn't have a raid, no, i'm positive i don't, i thought '/dev/ide/host0/bus0/target0/lun0/part1' looked weird too....hmmmm all i need to do is get into my windows partion and back up my work, or even better BOOT into windows, i don't mind formatting, i just need to back up some valuable stuff...

I shouldn't trust a windows program like Partition again, especially that it can be threatening to my data, i backed SOME stuff up not everything......

I had a search on 'NTLDR Missing' on google-linux and i came across some forums, most not helping me, but i found this program that i am suppose put on my windows boot disk and run it and it tells me to change some number for windows to boot, they say NTLDR errors occur when the drives or partions get mixed up...sorry for the long post ...i'll try fix this darn thing.....
 
Old 09-29-2002, 05:41 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I really don't think it'll be very easy restoring winbloze right now. I'd try more towards mounting the drive and accessing the files via linux for backup. But the strange character problem baffles me. How did you mount the drive?

Cool
 
Old 09-29-2002, 05:57 AM   #12
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
Here's a method of last resort:
First,make a Linux bootdisk if you dont have one.
Go to www.bootdisk.com and download a Win98 2nd.Ed bootdisk(unless you have one already) and run the fdisk/MBR utility.As you say XP is formatted as fat32 you should be able to get XP back this way.You are going to bork Lilo-hence the need for the Linux bootdisk.But getting lilo back afterwards should'nt be a huge prob.
I know this doesnt sound like it would work,but I've been told by more than one person that it will, IF XP is fat32.
Like I said,a method of last resort.
lynch
 
Old 09-29-2002, 06:12 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Another thought...

Didn't part magic pro come with a rescue utility? Or when you installed it, didn't it have you make rescue disks? Those might come in handy about now. If you didn't make the disks, or don't have the ones that come with it, you could get them from someone you know either by:
putting your copy of part magic on there, and then creating the recovery disks; or
if they already have it, going that route.

It's an idea anyway...

Cool
 
Old 09-29-2002, 06:24 AM   #14
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Original Poster
Rep: Reputation: 30
hmm i didn't make those disks, and i don't have the partion magic cd either, and thanks lynch, but that was the first thing i tried, thanks anyway, yeh your right MasterC i'm not concerned about getting winbloze to boot, i juss need to make my backups, but yeh the werid charcters, and the files not showing up in the directories, i mounted it with
Code:
mount -t vfat /dev/hda1 /mnt/windows
if i remmber.....
 
Old 09-29-2002, 06:43 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Australian right? Australians just use regular english characters right? Just checking to make sure you don't have some font package or character package installed that might lead to "wierd" characters.

After you mount it, and go in there in the command line:
cd /mnt/windows

And type:
ls
Does it still produce "wierd" characters? Or what?
 
  


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
qt trouble... /hme/usr SUSE / openSUSE 2 11-14-2005 03:17 PM
x trouble mithereal Debian 1 08-25-2005 12:56 PM
trouble% rawinn Linux - Software 3 02-27-2004 01:24 AM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM
Kernel Trouble (Not actually trouble though) chem1 Linux - General 4 10-01-2002 01:10 AM

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

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