[Raid] dual boot problems with xp home/ ubuntu maverick desktop

Asked by Mathrys83 on 2010-10-23

i have 3 hd's in my box 2 80gb's and a 40gb. at first i just had windows. then i dual installed maverick from the downloaded iso burned to a cd, now i cant boot into windows.

the drive is still there and listed as sda, and i can access it and see and interact with my files on the win drive.
where my linux drive is sdb1

how can i get my dual boot to work, boot managers i have tried dont show sda as a bootable drive, or even as a drive in the managers i have tried

under /media its listed as 763882AC38826AC7

im a bit of a noob but not totally, will provide information as needed

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
2010-10-24
Last reply:
2010-10-24
Mathrys83 (jholt12) said : #1

made sure i had the most recent version of grub and this is what i saw.
--------------------------------------------------------------------------------------------
j@j:~$ sudo apt-get install grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  desktop-base
The following packages will be REMOVED:
  grub
The following NEW packages will be installed:
  grub-pc
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 759kB of archives.
After this operation, 1,425kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/main grub-pc i386 1.98+20100804-5ubuntu3 [759kB]
Fetched 759kB in 3s (215kB/s)
Preconfiguring packages ...
dpkg: grub: dependency problems, but removing anyway as you requested:
 startupmanager depends on grub | grub-pc; however:
  Package grub is to be removed.
  Package grub-pc is not installed.
(Reading database ... 176050 files and directories currently installed.)
Removing grub ...
Processing triggers for man-db ...
Selecting previously deselected package grub-pc.
(Reading database ... 176004 files and directories currently installed.)
Unpacking grub-pc (from .../grub-pc_1.98+20100804-5ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Setting up grub-pc (1.98+20100804-5ubuntu3) ...
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
done

please install the grub2 package

sudo apt-get install grub2

peter b (b1pete) said : #3

.....'ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda'.....

it appears/for sure your win lives on sda but on a broken raid (fake raid) - instead of the min 2 HD that was initially configured (apparently the 2 80gb HD's) and win installed on now there is just one HD on the raid (believe it or not, win still works, for how long time will tell).

you'll have/must sort out the broken raid problem first through the utilities that configured it in the first place; they offer options to rebuild the raid, delete it, sync it etc, etc. as far as win is concerned I'd save/backup as quick as possible all data that you care about; raid repairs are usually unpredictable.

so,

 - either keep the raid and try to fix it and have win on it perform with no flaws then install ubuntu or
 - delete it and have 3 independent drives with the win on sda (mandatory) then install ubuntu where your heart desires.

peter b (b1pete) said : #4

there is under ubuntu a package called

dmraid

install it from synaptics. then run

man dmraid

pls consult it v carefully. you may try to fix/delete the raid metadata under linux. I never tried it and see if and how it affects win install and data so use it with caution and only after you backed up data from sda. for your info - the command to delete raid metadata is

sudo dmraid -rE

Mathrys83 (jholt12) said : #5

work[74]: inotify_add_watch(6, /dev/sda, 10) failed no such file or directory when i boot just before ubuntu hits GUI

and i have the info back up, so im not worried there...

would you just do sudo dmraid -rE if you knew you had it all backed up?

Mathrys83 (jholt12) said : #6

john@john-desktop:~$ sudo dmraid -r
/dev/sda: pdc, "pdc_deiaabdc", mirror, ok, 160836352 sectors, data@ 0
john@john-desktop:~$ sudo dmraid -R pdc_deiaabdc /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
Segmentation fault
john@john-desktop:~$ sudo dmraid -R pdc_deiaabdc
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_deiaabdc" [1/2] on /dev/sda
Rebuild: a hot-spare drive not found for a volume: "pdc_deiaabdc". Need a drive to rebuild a volume.

peter b (b1pete) said : #7

well, I think based on above, the only way out of it is to use the original utility that built the raid and try to repair it. win no doubt was installed on the raid when was functioning well/as configured and is still installed on it BUT NOW works on a broken raid (a raid that has just one HD in spite of the fact that it is configured with at least 2 HD's) and ubuntu without any doubt ,under these conditions, refuses pure and simple to acknowledge the win install.

so, I guess you're back to

 - either keep the raid and try to fix it and have win on it perform with no flaws then install ubuntu or
 - delete it and have 3 independent drives with the win on sda (mandatory) then install ubuntu where your heart desires.

peter b (b1pete) said : #8

....'would you just do sudo dmraid -rE if you knew you had it all backed up?'.....

if you want to do that then boot with ubuntu live CD then install dmraid package and enter

sudo dmraid -rE

this will no doubt cause the total loss of win installation; you'll end up with 3 totally independent drives.

Mathrys83 (jholt12) said : #9

im already on 3 seperate drive, win on the broken drive and linux on a seperate drive. so the hard drive is faulty so wiping it would be a good thing right

peter b (b1pete) said : #10

I do not think 'faulty' is a proper term - the HD's may be ok but the raid configuration, which by the way was a mirror conf, was lost and only one of the 2 raid configured HD was active in the raid.

I would use first the HD manufacturer's utilities to check for integrity and condition of all HD's then use a live gparted CD to partition.

then, on a 'clean slate' so to speak re install win - mandatory to sda. then ubuntu, as said, on any drive you desire.

....'so wiping it would be a good thing right'...

if you have a HD wiping util it will help to zero all sectors. mind you, again using/booting ubuntu live CD you can use

dd

command in a terminal and practically do anything you desire as far as HD's maint is concerned. just google for linux dd command howto's; it is a v v powerful tool that does extremely useful things.

Can you help with this problem?

Provide an answer of your own, or ask Mathrys83 for more information if necessary.

To post a message you must log in.