LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-01-2007, 10:09 AM   #1
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Software raid0 & grub


I'd like some help about a software raid I have
Here is the situation

I have 4 drives

(1) 2x74 gb raptors set up for raid 0
On these I have 2 patitions : one for winxp and another partition for games(both ntfs)

(2) A 320 gb sata containing media files(ntfs)

(3)A 320 gb sata containg the linux partitions (swap,boot and root) and a ntfs partition.On this drive I have installed grub and everything works fine

So to boot gentoo I go into bios set the (3)hard disk as firts boot device and everything works great
If i wanna boot to winxp I go again into bios set the (1) hard disk as first boot device and it works great

The reason I did all these is that I was afraid of ruining my raid0

But now I have emerged dmraid and I can see and mount my raid0 partitions with no problem at all

So what I want to know is if I can set up grub(which is in drive (3) ) to have a selection of booting to windows xp partition in raid0
 
Old 02-01-2007, 10:59 AM   #2
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Maybe i found the problem

Look at this

Code:
localhost anakin # fdisk -l

Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x67c9 of partition table 5 will be corrected by w(rite)

Disk /dev/sdb: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2669    21438711    7  HPFS/NTFS
/dev/sdb2            2670       18079   123780825    5  Extended
/dev/sdb5   ?      193420      183612  2068704212   c4  DRDOS/sec (FAT-16 < 32M)

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
16 heads, 63 sectors/track, 620181 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      620181   312571192+   7  HPFS/NTFS
/dev/sdc4   *           1           1           0    0  Empty
Partition 4 does not end on cylinder boundary.

Disk /dev/sdd: 320.0 GB, 320072933376 bytes
16 heads, 63 sectors/track, 620181 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1          63       31720+  83  Linux
/dev/sdd2              64        1056      500472   82  Linux swap / Solaris
/dev/sdd3   *       63898      620181   280367136    5  Extended
/dev/sdd4            1057       63897    31671864   83  Linux
/dev/sdd5           63898      620181   280367104+   7  HPFS/NTFS

Partition table entries are not in disk order
/dev/sda and /dev/sdb are the two 74gb raptors wroking at a raid0,but i c many errors about /dev/sda
Is this ok?

[update]

Code:
fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 9039.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): q
Any ideas what I should do???
 
Old 09-09-2007, 09:46 PM   #3
china_blue
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Braveheart1980 View Post
Maybe i found the problem

Look at this

Code:
localhost anakin # fdisk -l

Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sda doesn't contain a valid partition table
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0x67c9 of partition table 5 will be corrected by w(rite)

Disk /dev/sdb: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2669    21438711    7  HPFS/NTFS
/dev/sdb2            2670       18079   123780825    5  Extended
/dev/sdb5   ?      193420      183612  2068704212   c4  DRDOS/sec (FAT-16 < 32M)

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
16 heads, 63 sectors/track, 620181 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      620181   312571192+   7  HPFS/NTFS
/dev/sdc4   *           1           1           0    0  Empty
Partition 4 does not end on cylinder boundary.

Disk /dev/sdd: 320.0 GB, 320072933376 bytes
16 heads, 63 sectors/track, 620181 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1          63       31720+  83  Linux
/dev/sdd2              64        1056      500472   82  Linux swap / Solaris
/dev/sdd3   *       63898      620181   280367136    5  Extended
/dev/sdd4            1057       63897    31671864   83  Linux
/dev/sdd5           63898      620181   280367104+   7  HPFS/NTFS

Partition table entries are not in disk order
/dev/sda and /dev/sdb are the two 74gb raptors wroking at a raid0,but i c many errors about /dev/sda
Is this ok?

[update]

Code:
fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 9039.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): q
Any ideas what I should do???
please try


[root@bl]# cd /dev/mapper
[root@bl]# ls
control nvidia_eahdcdbbp11 nvidia_eahdcdbbp6 VolGroup00-LogVol00
nvidia_eahdcdbb nvidia_eahdcdbbp12 nvidia_eahdcdbbp7 VolGroup00-LogVol01
nvidia_eahdcdbbp1 nvidia_eahdcdbbp2 nvidia_eahdcdbbp8
nvidia_eahdcdbbp10 nvidia_eahdcdbbp5 nvidia_eahdcdbbp9
[root@bl]# gedit /etc/fstab
/dev/mapper/nvidia_eahdcdbbp1 /mnt/03server ntfs iocharset=utf8,umask=0 0 0
[root@bl]# mount -a

-------------------------
from:http://bbs.3qit.com/thread-53060-1-1.html

Last edited by china_blue; 09-09-2007 at 09:53 PM.
 
  


Reply

Tags
grub, raid, software


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Via Raid0 to Grub??? Jordees Suse/Novell 4 10-25-2006 11:41 AM
boot from software raid0 with debian ulmo Debian 2 07-30-2004 03:06 AM
Software RAID0 + Slack9.1 Aphex Slackware 0 11-02-2003 02:14 AM
Trouble with HD and software raid0 RC_ Linux - Hardware 0 08-07-2003 12:28 AM
Software RAID0 mess up, help! Devoras Linux - General 1 01-01-2003 11:20 PM


All times are GMT -5. The time now is 11:01 AM.

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