Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Accessing Windows Raid0 Drive from Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
skyhydro
n00b
n00b


Joined: 16 May 2006
Posts: 17

PostPosted: Sat Jun 10, 2006 7:19 pm    Post subject: Accessing Windows Raid0 Drive from Gentoo Reply with quote

I have been trying to make Gentoo recognize a Windows raid0 for some time to no avail. The annoying thing is during Gentoo's startup I get many error messages for the raid drives. In this setup hde is set as the boot drive in the bios.

This raido has windows OS but I don't want to boot to it from Gentoo at this point, just trying to access its data from Gentoo. In the bios I can choose the raid0 drive as the first boot and it works perfectly. So the raid0 is fully functional under Windows.

Code:
# fdisk -l

Disk /dev/hdc: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1       14946   120053713+   7  HPFS/NTFS

Disk /dev/hdd: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1         125       62968+  83  Linux
/dev/hdd2             126        4094     2000376   82  Linux swap / Solaris
/dev/hdd3            4095       43778    20000736   83  Linux
/dev/hdd4           43779      155061    56086632   83  Linux

Disk /dev/hde: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1       14951   120093876    7  HPFS/NTFS

Disk /dev/hdg: 61.4 GB, 61492838400 bytes
16 heads, 63 sectors/track, 119150 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/hdg doesn't contain a valid partition table


I would appreciate some help if someone can show me what I need to do to access this raid setup.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54805
Location: 56N 3W

PostPosted: Sat Jun 10, 2006 7:26 pm    Post subject: Reply with quote

skyhydro,

Your raid is provided by BIOS raid. Somwhat cruelly called fakeraid.

You need some third party software that provides dmraid.
Code:
emerge sys-fs/dmraid
is a good start.
You also need ntfs support for your kernel.

dmraid provides a kermel module. Modprobe it and if you are lucky, your raid devices will appear in /dev, when they can be mounted in the normal way.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skyhydro
n00b
n00b


Joined: 16 May 2006
Posts: 17

PostPosted: Sat Jun 10, 2006 9:33 pm    Post subject: Reply with quote

I ended up unmasking dmraid then was able to emerge as instructed. I also rebuilt the kernel with dmraid and restarted the machine with the new kernel. I then tried modprobe md but I get module md not found error. I read somewhere if you get "control" in response to ls /dev/mapper then dmraid was not installed right. "control" is what I get now. Also I have NTFS support because I can read a NTFS Windows drive from Gentoo, but not this raid0 drive.

Any ideas how to fix this? I can provide more information but not sure what to do so you can help me further. Please assume very limited knowledge on the subject. Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54805
Location: 56N 3W

PostPosted: Sat Jun 10, 2006 9:40 pm    Post subject: Reply with quote

skyhydro,

dmraid in the kernel is not related to the emerge dmraid.
They are two different things. Kernel dmraid is for Logical Volume Manager support.
emerge dmraid is the driver for your BIOS raid.

You need to modprobe the module from the emerge.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
skyhydro
n00b
n00b


Joined: 16 May 2006
Posts: 17

PostPosted: Sun Jun 11, 2006 2:23 pm    Post subject: Reply with quote

Quote:
You need to modprobe the module from the emerge.

Could you show me how to do that. Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54805
Location: 56N 3W

PostPosted: Sun Jun 11, 2006 3:01 pm    Post subject: Reply with quote

skyhydro,

Hmm - I have neither Windows or any dmraid sets. I've just done
Code:
emerge sys-fs/dmraid
so I can read the man page man dmraid and the README
Code:
less /usr/share/doc/dmraid-1.0.0_rc8-r1/README.gz


It lloks like I was wrong about dmraid providing a kernel module.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum