You know the boot process... first your boot manager boots up (lilo) which
calls your kernel, once your kernel has done its thing it looks for a file
called init init starts all your shell and all your initialisation files.

If your getting the message that it cant find init, it measn that the init
file isnt there or the kernel is looking in the wrong place(wrong
partition). You should have your regular distribution on your raid partition
(/md0 or whatever) for the kernel to call.

The kernel can handle booting from raid0, its the bootmanagers that have a
few problems, but this doesnt seem to be your problem, as you get to the
kernel.

Let me outline what i would do (im not zen master though) i would make two
small partitions to be used as swap files (one on each drive) as the first
partition of each drive.
Then make your raid partition on each drive, try very hard to make them
exactly the same size as onlt the size of the smaller partition will be
useable for the raid, (any excess space due to different space is just
wasted)
>From the space on your larger drive install a third partition to be used as
the /boot directory for your raid partition. I havent worked out how to get
root raid0 working from lilo without having the kernel on a non-raid
partition, but i havent tried passing the md= through lilo.
The rest of your space on your large drive install a normal distribution,
then get raid support working from this normal partition, you can then copy
your installed files to your raid partition.
When i get in trouble with lilo i boot of an emergency disk and pass
root=/dev/md0 to boot my raid.

Is that any help to you?

Glenn McGrath




> Let me explain... i haven't actually ran raid yet, i want it to run raid0,
> but it's
> not working yet. And i'm trying to get it to work from my current setup.
Which
> is just 2 ide hd's of which 1 has data and the 2nd was recently added...
Both
> are formatted with diskdruid and have linux native partitions (ext2) and
> the hda
> also has an 128mb swap partition.
>
> To answer ur 2nd question. No i haven't made a separate partition since
> according
> to /usr/src/linux/Documentation/md.txt Booting from raid linear and raid0
> is currently
> supported.... (might b reading it incorrectly)
>
> I might try that if all else fails tho, i might also be trying something
> impossible... as i
> said i'm a newbie and if i'm doing something that won't work, please tell
> me :-)
>
> Surge
>
>
> At 23:46 23/09/99 +1000, Glenn McGrath wrote:
> >Um.... raid0 should strip everything evenly across both hda1 and hdc1.
> >You should have roughly the same amount of data on each partition.
> >
> >I dont see how hdc could be completely empty and hda have 2gb of data on
it,
> >or maybe i misunderstannd your setup?
> >
> >Are you using a seperate boot partition (/boot) to hold your kernel and
lilo
> >files that isnt a raid device ?
> >
> > > I changed both /dev/hda1 and /dev/hdc1 partition types to 0xfd with
fdisk.
> > > Hda is abt 3 gig with 2 gig of data on it already, hdc is almost 2 gig
and
> > > completely emtpy. Both hda1 and hdc1 are formatted as ext2.
>
>

Reply via email to