LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-22-2005, 12:19 PM   #1
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Rep: Reputation: 15
2nd HDD not formatted apparently!


I installed SUSE on a spare HDD i had laying about. I stuck it in with a second HDD I use in Windows 2000. This disc holds all important data on it. I can see the drive contents in SUSE but when I change the HDD back over and boot up into windows I can see the drive but cant see its contents. It just says the drive is not formatted. I really cant aford to loose this data! What has SUSE done to my drive?
 
Old 02-22-2005, 12:33 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What filesystem does the partition use?
 
Old 02-22-2005, 12:35 PM   #3
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
Even more problems.

Ive stuck the SUSE HDD back on and now it just comes up with a GRUB command prompt.

Code:
GNU GRUB version 0.95 (640K lower / 523200K upper memory)

[ Minimal BASH-like line editing supported.  For the first word, TAB lists possible command completions.  Anywhere else TAB lists the possible completions of a device/filename. ]

grub >
 
Old 02-22-2005, 12:35 PM   #4
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
What filesystem does the partition use?
NTFS
 
Old 02-22-2005, 12:42 PM   #5
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
Ive done a google and it seems now that its fucked both discs.

Code:
grub > geometry (hd0)
drive 0x80: C/H/S = 1024/255/63, The number of sectors = 39851760, LBA
Partition num: 0, Filesystem type unknown, partition type 0x42

grub > geometry (hd1)
drive 0x81: C/H/S = 1024/255/63, The number of sectors = 312581808, LBA
Partition num: 0, Filesystem type unknown, partition type 0x4
Am I ever going to get my data back!?
 
Old 02-22-2005, 12:42 PM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Let me repeat if I understood you correctly: you have a system with 2 HDD, one with Win2k, the other a probably NTFS formated data disk. Now you took out the Win2k OS carrying HDD and replaced it by an empty on, where you installed SUSE. SUSE was able to see and mount the NTFS data disk, but when you took out the SUSE disk and replaced it by the 'old' Win2k disk, the data disk was gone. Right?

If SUSE can still see the data it is not lost. You may save the data from the Linux OS. What SuSE might have done to your second drive, I really don't know. Probably nothing. Are you sure you exchanged the Linux drive and not your 2nd HDD? The SuSE-drive would appear in Windows as HDD with unknown format.

EDIT: Okay, it took me obviously too long to write this post. Please forget it

Last edited by abisko00; 02-22-2005 at 12:44 PM.
 
Old 02-22-2005, 12:43 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you mount the ntfs partition in read/write mode?

Has anything changed with the suse drive since you last used it? Has it been put back in the same place on the same ide channel?
 
Old 02-22-2005, 12:45 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by ]SK[
Ive done a google and it seems now that its fucked both discs.
How are the drives configured in the BIOS? Are they set to autodetect?
 
Old 02-22-2005, 12:49 PM   #9
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
abisko00

Yes that is correct. It seems I cant boot into SUSE either now. Everything is going against me right now
I am using the correct HDD since the SUSE one is 20Gb and the Data drive was 120Gb. Windows just sees it as a 120Gb unformatted disc.

Davd_ross

I didnt mount anything. I installed SUSE this morning. Came home from work to find that I dont have a second HDD. SUSE found the drive itself and I could access the files on it via My Computer. I ran an MP3 to test my speakers but nothing else.
 
Old 02-22-2005, 12:49 PM   #10
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
How are the drives configured in the BIOS? Are they set to autodetect?
Yes
 
Old 02-22-2005, 12:53 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It may be worth setting the drives geometry explicitly in the BIOS just to test.

If SuSE mounted the drive in read/write mode then it is possible that the filesystem has become corrupt as ntfs write support is not yet stable in linux.

You could try booting into the win2k recovery console and running "chkdisk" on the partition.
 
Old 02-22-2005, 12:58 PM   #12
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
Code:
chkdsk D:

The volume appear to contain one or more unrecoverable problems.
 
Old 02-22-2005, 01:02 PM   #13
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I think the SuSE standard kernel comes with NTFS write support disabled, so that should be no problem.

I just looked up the partition types your HDD's show: 0x4 is FAT16 and 0x42 is SFS (whatever that is). Strange!
'filesystem type unknown' is OK for the NTFS partition, however not for a Linux filesystem.

Are you sure that the drives contacts are clean? Could an electrostatical discharge have occured?

I think David's suggestions are the best you can do right now.

EDIT: again too late. David, do you think it could be worth trying to set the partition types correctly with e.g. cfdisk from a bootable Linux CD? Or does that destroy the partition table even more?

Last edited by abisko00; 02-22-2005 at 01:04 PM.
 
Old 02-22-2005, 01:04 PM   #14
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Original Poster
Rep: Reputation: 15
Ive tried manual BIOS setup. Even with only the SUSE drive installed. Its slowly getting worse.

It now just says

Code:
GRUB Hard Disk Error
I cant do anything but reboot.

*EDIT*

Forget the above. I can get back to the GRUB command prompt if I put both drives on. If I use just the SUSE drive I get the single GRUB Hard Disk Error. Odd no? Looks like SUSE has done something to the second HDD?

Last edited by ]SK[; 02-22-2005 at 01:07 PM.
 
Old 02-22-2005, 01:22 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You could try what abisko00 suggested and rewrite the partition table but I'm finding it hard to believe that both drives are having the same problem.

Do you have another computer you could put the disks in? I'm wondering if the ide controller is damaged.

If you don't have another machine to hand then you could try moving the drives to the other channel, assuming they are on the same one just now.
 
  


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
recover data from formatted hdd sebastiano Linux - General 5 03-27-2006 08:40 AM
I wanted linux so bad I formatted HDD! penguinhead31 Linux - Laptop and Netbook 8 02-06-2005 01:05 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
2nd hdd for linux 54az Linux - Newbie 7 02-06-2004 05:12 PM
2nd HDD TBBA Linux - Newbie 5 05-03-2002 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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