help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making GRUB see software RAID 0 under Ubuntu 10.10 LiveCD?


From: iono sphere
Subject: Re: Making GRUB see software RAID 0 under Ubuntu 10.10 LiveCD?
Date: Sun, 26 Dec 2010 03:56:28 +0000

Thank for your reply, Mr. Jordan.

But...

address@hidden:~$ sudo fdisk -l

Unable to seek on /dev/sda

However,

address@hidden:~$ sudo dmraid -r
/dev/sdb: nvidia, "nvidia_acajefec", stripe, ok, 488397166 sectors, data@ 0
/dev/sda: nvidia, "nvidia_acajefec", stripe, ok, 488397166 sectors, data@ 0

So do you have an idea for how to make fdisk see my RAID array?

Thank you very much.

On Sun, Dec 26, 2010 at 1:01 AM, Jordan Uggla <address@hidden> wrote:
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.
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-grub
>
>

Those instructions are for grub legacy, for grub2 follow this guide:
http://grub.enbug.org/Grub2LiveCdInstallGuide .

--
Jordan Uggla (Jordan_U on irc.freenode.net)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]