LinuxQuestions.org
Review your favorite Linux distribution.
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 06-06-2007, 03:23 PM   #1
videocheez
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
Ubuntu Error 21 on WinXP with Windows on RAID0 Drive and Ubuntu on eSATA drive


Last night I tried to install Ubuntu 7.04 onto my WinXP Pro PC and received Grub Error 21 and when I reversed the boot order in the BIOS I read a message saying Error Loading Operating System.

My hardrives are configured as Such:

Drive 0 and Drive 1 are SATA RAID 0 74GB WD Raptors
Drive 2 is a SATA Non-RAID 74 GB Raptor (The drive I installed Ubunto onto)
Drive 3 is a SATA 250 GB Samsung Drive

When, I installed Ubuntu from the Live CD, I disconnected Drive 3 to avoid any confusion.
I was trying to set up a dual boot system with Windows as default and I could press a button during boot-up to run Ubunto. I followed the following instructions from the Ubuntu website guide for dual boot:

"Case 1: You haven't installed Ubuntu yet
Do a fresh install of Ubuntu with the windows hard drive still plugged in. Ubuntu will automatically detect the other hard drive, and Grub will automatically list it as a choice at startup. You can then also see the other hard drive and access it while in Ubuntu by mounting it."


From what I have read all around the Web today is that my MBR got screwed up and can only be recovered by acessing the Windows Recovery Console. I don't have a Windows disk. I have one of those install disks that you get when you buy a new PC and some other progs besides Windows are on it. Do ya think i could install the recovery console using that disk? Is there some command line utility that i could do to fix my problem with out screwing up the RAID 0 configuration? Another wierd thing is that I can no longer mount the Windows RAID 0 volume in from Ubuntu Live CD even though it still recognizes the size as 2x74GB.

Any help will be appreciated.

Thanks in advance,

VC
 
Old 06-06-2007, 04:45 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Is this a hardware RAID, and does Windows need any special software to use it (drivers)? It may be that your RAID got out of sync. I don't have much knowledge of setting up RAID's in Windows, so I haven't seen this actual problem. You can fix your MBR by booting a windows 95/98 floppy and running fdisk /mbr. But that will only reset it so you can boot to Windows.
 
Old 06-06-2007, 06:33 PM   #3
videocheez
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by forrestt
Is this a hardware RAID, and does Windows need any special software to use it (drivers)? It may be that your RAID got out of sync. I don't have much knowledge of setting up RAID's in Windows, so I haven't seen this actual problem. You can fix your MBR by booting a windows 95/98 floppy and running fdisk /mbr. But that will only reset it so you can boot to Windows.
There is software that needs to be installed in order to achieve RAID0. I fear that my RAID got out of sync. Is out of sync. RAID the kiss of death and I need to reinstall Windows? I would be satisfied booting to Windows again and trying to get Ubunto installed again. I do not have a floppy drive. you know these modern PC's don't use them anymore. Do ya think I could find one and burn to CD?

My ultimate goal is for Dual boot just because I still have my games that are made for Windows.

Thx for the advice,

VC
 
Old 06-06-2007, 06:46 PM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
The tools might be on a Windows 95/98 install CD, I can't remember (that was a long time ago, and I'm an old man). I would HIGHLY suggest not using RAID0, but that is something you now know. It works OK with SCSI disks, but with ATA/SATA disks, it isn't a good option (unless you don't care about your data, and want pure speed). You may be able to fix things by physically reversing your Windows disks temporarily and reinstalling Ubuntu, but that is just a guess. I'm guessing that fixing the MBR on your first disk should put the RAID back in sync, but I could be wrong, and you have lost everything. You CAN make a boot CD that contains the proper files, but I wouldn't even attempt to pretend that I'm an expert at that. A Google search should find the information to do that. IF you are able to get back to Windows, I'd say copy your install to the disk you are currently using for Ubuntu, and only use one disk for Windows. If you want RAID, then at least get a decent backup plan going.

I'm more than willing to help in any way I can, so keep me posted.

And yes, I still dual boot for gaming purposes (and to write Word documents for work).

Last edited by forrestt; 06-06-2007 at 06:47 PM.
 
Old 06-06-2007, 06:49 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
You will need dmraid to see an MS FakeRaid array.
 
Old 06-07-2007, 01:57 AM   #6
videocheez
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02
You will need dmraid to see an MS FakeRaid array.
So this dmraid app allows Ubuntu to see MS FakeRaid array? Cool. So I finally got Ubuntu to install on my eSATA drive after disconnected my RAID drives. It's pretty cool.

I just diconnected the eSATA drive reconnected the RAID drives and am now im in the process of recovering my Windows after screwing up my MBR.

If successful I'll try to get a backup plan and get the dual boot going again.

Will dmraid allow Ubuntu to see the MSFake Raid array and thereby allow me properly set-up dual boot? I would like default boot to windows cause I have some remote admin sw that i use to remite my PC when I travel and when I do a remote reboot, I don't want to have to have somebody stand by my pc and switch from Ubuntu to windows while I explain it to them on the phone.

Thanks in advance,

VC
 
Old 06-07-2007, 10:30 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Quote:
Will dmraid allow Ubuntu to see the MSFake Raid array and thereby allow me properly set-up dual boot?
It should. I have a FakeRaid that I dual boot both Win2K and Debian from. It's difficult to get debian loaded to a FakeRaid, but clearly it can be done.
 
Old 06-09-2007, 03:08 PM   #8
videocheez
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02
It should. I have a FakeRaid that I dual boot both Win2K and Debian from. It's difficult to get debian loaded to a FakeRaid, but clearly it can be done.
I don't want to install debian on FakeRAID. I just want to be able to see Windows RAID drives from ubuntu.
 
Old 06-09-2007, 05:18 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by videocheez
I don't want to install debian on FakeRAID. I just want to be able to see Windows RAID drives from ubuntu.
I understand that. My point was that you can see FakeRaids as well as install Linux to them.

Install dmraid and run "dmraid -tay". If it displays some funny response then run "dmraid -ay" and you will find your array partition(s) in /dev/mapper. The one without the ending digit will be the whole array and not a partition on it. If it says "no RAID device found" or something like that, then you may not be able to see it without some extra effort.
 
Old 06-09-2007, 11:06 PM   #10
videocheez
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02
I understand that. My point was that you can see FakeRaids as well as install Linux to them.

Install dmraid and run "dmraid -tay". If it displays some funny response then run "dmraid -ay" and you will find your array partition(s) in /dev/mapper. The one without the ending digit will be the whole array and not a partition on it. If it says "no RAID device found" or something like that, then you may not be able to see it without some extra effort.
Thanks for the clarification. We are on the same page. I'm a total noob so i need to know how exactly do I run the dmraid program. Is this gonna be a command line type of program?

VC
 
Old 06-10-2007, 01:19 PM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by videocheez
Thanks for the clarification. We are on the same page. I'm a total noob so i need to know how exactly do I run the dmraid program. Is this gonna be a command line type of program?

VC
Don't try to make it more complicated than it is. Just use synaptic and install dmraid. Then follow the instructions in my previous post. The commands can be run from a command line with sudo, as in:
Code:
sudo /sbin/dmraid -tay
Or they can be run from root without the "sudo /sbin" stuff. If the response is too confusing to deal with, just post it here and I'll translate it for you. But, essentially, "-tay" is a test probe. If it finds a raid device then use "-ay" to activate it. The array device is put in /dev/mapper.
 
Old 06-12-2007, 09:44 PM   #12
videocheez
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Okay man. It appears that dmaraid was installed properly:

don@don-ubuntu:~$ sudo /sbin/dmraid -tay
Password:
isw_ddghehegbd_Volume0: 0 290441728 striped 2 256 /dev/sda 0 /dev/sdb 0
isw_ddghehegbd_Volume01: 0 290439072 linear /dev/.static/dev/mapper/isw_ddghehegbd_Volume0 63
don@don-ubuntu:~$ sudo /sbin/dmraid -ay
RAID set "isw_ddghehegbd_Volume0" already active
RAID set "isw_ddghehegbd_Volume01" already active
don@don-ubuntu:~$

Why is this the only drive that I cannot mount? When I click on places and then computer and then the drive, I get a box that pops up and says "cannot mount the volume"

Last edited by videocheez; 06-12-2007 at 09:47 PM.
 
Old 06-13-2007, 11:23 AM   #13
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
I believe that this one (/dev/mapper/isw_ddghehegbd_Volume01) is the mountable partition. The other one is the whole array. At least that's the way I've always seen it.
 
  


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
Why my Ubuntu 6.06 Live CD cannot read my Windows Drive? ussr_1991 Ubuntu 3 04-05-2007 02:58 PM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Mount Windows Drive in Ubuntu torger Linux - Software 14 02-20-2006 06:26 PM
Dual boot winxp/ubuntu on raid array and ide drive buildintechie Linux - General 1 10-24-2005 11:35 PM
How to get Ubuntu to read Windows/USB drive? Micro420 Ubuntu 5 08-21-2005 01:17 AM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration