On Fri, Dec 24, 2010 at 9:50 PM, iono sphere <
address@hidden> wrote:
> I have installed Ubuntu 10.10 on a software RAID 0. I wiped out the whole
> two hard disks and install it as a single partition. So one partition for
> the whole system. However, I need to install Windows back, so I use the
> partition program GParted (use kpartx to allow it to see RAID 0) to split
> things up. For better indication of the partition condition, please refer to
> GParted.png in the attachment of this mail. The partition
> /dev/mapper/nvidia_acajefec1 is of course Ubuntu 10.10, and
> /dev/mapper/nvidia_acajefec3 is Windows 7.
>
> Windows 7, once installed, will wipe GRUB's setting away and make itself the
> only OS bootable. So I need a way to restore GRUB.
>
> I tried to follow the instruction around the Internet, and I cannot restore
> GRUB because GRUB can't find the disk. Here are what I did in the console:
>
> address@hidden:~$ grub
> Probing devices to guess BIOS drives. This may take a long time.
>
> [ Minimal BASH-like line editing is supported. For
> the first word, TAB lists possible command
> completions. Anywhere else TAB lists the possible
> completions of a device/filename. ]
> grub> root (hd0,0)
> root (hd0,0)
>
> Error 21: Selected disk does not exist
> grub> find (hd0,0)
> find (hd0,0)
>
> Error 15: File not found
> grub> find /boot/grub/stage1
> find /boot/grub/stage1
>
> Error 15: File not found
> grub> find /dev/mapper/nvidia_acajefec1
> find /dev/mapper/nvidia_acajefec1
>
> Error 15: File not found
>
> So in this case, is there a way to make GRUB see software RAID 0? GParted
> can see it with kpartx, so what about GRUB?
>
> Thank you in advance.
>