How do I install linux on a raid0?
Micha
michf at post.tau.ac.il
Thu Aug 18 20:48:11 IDT 2011
From what I've read up on, it seems like most non-server bioses do some
sort of fake raid, where the raid is controlled from the bios but is
actually a software raid (at least partially). Windows which came
installed on the machine sees it (or reports it) as one disk (although
it does call it oemraid). Linux seems a bit more confused. When I
started it with dmraid=true, it sees it both as a strip drive (raid 0)
and it seems that somewhat also as multiple disks. I have both /dev/sda
and /dev/sdb and /dev/mapper/{really long name}.
I can partition the drives and install the system to it, but then grub
(grub2 actually) chokes. I can't mount the system properly under
/target, calling grub-probe directly recognizes the partition as ext2
(although it is ext4) but calling grub-install says that grub-probe chokes.
The system has 2 500gb disks in raid0 (strip) setup. The partition setup:
#1 (primary) is windows 7 boot partition (1.17GB)
#2 (primary) Windows 7 (600GB)
free space for linux (will probably need to be logical)
#3 (primary) lenovo recovery (15.6 GB)
On 18-Aug-11 17:39, Oleg Goldshmidt wrote:
>
>
> On Thu, Aug 18, 2011 at 3:23 PM, Micha Feigin <michf at post.tau.ac.il
> <mailto:michf at post.tau.ac.il>> wrote:
>
> I just got a new w520 with two 500GB hard drives configured in
> raid0 (seems to be a bios based software raid0).
>
>
> I am a bit confused. If the RAID is "BIOS-based" then it sounds to me
> like it is HW RAID. In this case it should be transparent to Linux,
> grub, even DOS, shouldn't it?
>
> Is it some sort of "fake RAID" that is not a true HW RAID? In that
> case you may be out of luck or it may still work after some
> incantations and contortions.
>
> Windows is already installed and running on it (and I need it to
> stay there unfortunately) and I'm trying to install linux along
> side it (debian unstable).
>
>
> Are you trying to install Linux on the RAID itself or on another disk
> and use the RAID under it? Or on the RAID itself? It sounds like the
> latter, but I am not sure. Some details on your partition layout would
> help.
>
>
> I got the installed running and it installed fine
>
>
> I am not familiar with debian installation, but what did it show as
> the partition table during install? Did you modify it in any way?
>
> What does the partition table look like now?
>
> as it seems (although it looks like it messed up the partition
> table a bit as now I also have sda1 and sda2 that weren't there to
> begin with I think), but I can't get grub to install
>
>
> What exactly did you do and what didn't work?
>
> and rescue mode also won't boot into linux no matter what drive I
> choose as root. I did manage to mount the partition from
> /dev/matter/...05 and everything is installed on it, but again, no
> grub.
>
> Any ideas on how to get linux up and running (I need to boot into
> it somehow).
>
>
> My first guess is that you need to edit grub's device map as
> appropriate for your setup.
>
> However, this is a wild guess. It would help if you posted fdisk -l,
> mount table, details of your grub configuration, things that you have
> tried and the corresponding outputs...
>
> --
> Oleg Goldshmidt | pub at goldshmidt.org <mailto:oleg at goldshmidt.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110818/7bb57d7c/attachment-0001.html>
More information about the Linux-il
mailing list