LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2004, 07:30 PM   #1
hypr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Raid in Knoppix


Well I just got finished writing a huge post but when I clicked submit it didn't submit it because I had posted a url to the site that contained information about my problem! Now I have to type it all over again.

Anyways, I'm not entirely new to linux but I'm basically a newbie. Last week my Windows XP computer rebooted abruptly and during the boot I got a ntfs.sys error. My OS is on a raid-0 array consisting of two 120GB drives. I looked around for a solution and I found a site that suggested this (url left out because of forum rules):


1. Boot Knoppix
2. Open Shell
3. Type "su" and press enter. (this makes you root)
4. Type "cfdisk" and press enter.
5. You will see all your partitions on your hard disk. They are e.g. hda1 (probably your C, hda5 (D ... Check those where filesystem is NTFS.
6. Write these down! You should then have a list like: hda1, hda5, hda6
7. Exit cfdisk.
8. Now type: "ntfsfix /dev/hda1" and press enter.
9. Do this and replace hda1 with all occurences on your list.
10. Close Knoppix and reboot.
Windows will boot up and it might take quite a long time while the screen is black. As long as the bluescreen does not come up, everything is okay.
If Windows finally starts okay, you should be done

Now I tried this, but I don't know how to get my raid-o to be recognized in knoppix. How do I get my raid-0 array to be recognized? Also is this really a good method of fixing my problem? I really need to get this fixed because I need my computer and my data for many things. Please help, any ideas on how to fix my problem would be greatly appreciated.

PS: Even if I could get my raid to show up under knoppix I could probably burn my data off, so even that would be a good solution.
 
Old 09-16-2004, 08:00 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
NEVER, NEVER run utility programs on a RAID array like RAID 0. The instructions for ntsfsfix is for single drives not RAID, so I think you ruin your RAID array. In Linux, software RAID controllers will show three storages mediums. Two are phyiscal hard drives and the other is the RAID array device. The RAID array device maybe designated as /dev/md0 or something similar. If it is there, Knoppix should be smart enough to mount it as read-only, but you can do it manually. To do it manually in Knoppix. At the desktop (GUI), hit CTL+ALT+F2. Type "mkdir /mnt/windows ; mount -t ntfs -o ro /dev/md0 /mnt/windows".

If Linux can not mount the drive or it saids bad superblock, I'm sorry to say that you ruined your RAID array by using ntfsfix. You should have asks us about ntfsfix before using it. People here a lot more experience in Linux then other forums.
 
Old 09-16-2004, 08:23 PM   #3
hypr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the help. No luckily I haven't used ntfsfix yet, I decided to come to this board first before doing so. Do you have any idea what I can do to fix the problem besides backing up data through linux and just reformatting?
 
Old 09-17-2004, 11:45 PM   #4
hypr
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
UPDATE:

I tried to mount the array by using the command you gave but I got some kind of error. Now I haven't used ntfsfix yet so I don't think the array should be lost. Also the error didn't say anything about it being unmountable (I forgot to write down what the error was!). Is there some other way to try to mount the drive, because when I tried it a second time it said something about the directory existing or something. Sorry about being so vague but I don't really have much information.
 
  


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
Mount RAID on Knoppix/rescue Windows - help!! aepereira Linux - Newbie 9 05-23-2006 10:15 PM
i got knoppix on cd and it rocks when booted! wut can i do to install knoppix on HD? kublador Linux - Distributions 4 12-12-2005 04:08 PM
Recover software raid partitions knoppix d_t_baker Linux - Hardware 1 07-09-2005 07:19 AM
Knoppix 3.4 and recovery of data on an IDE RAID Controller system smithtodda Linux - Hardware 1 10-21-2004 06:40 PM
How does one remove the custom KNOPPIX graphics from a KNOPPIX HD Install? apache363 Linux - Distributions 2 03-29-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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