Re: Lilo-Guru for SoftwareRaidSetup wanted ...
hi ya martin
On Tue, 17 Feb 2004, Martin Petersen wrote:
> Dear Debian Users,
>
> I am a intermediate user of Debian an SuSE Linux. But I have a Problem,
> which I don`t seem to get solved.
>
> (Plz excuse my English, I am currently in german law exams, so
> everything I say and write should be regarded as nonsense ;).
>
> I want to set up a Software Raid Box with the Raidtools2 in two
> identical IDE Disks. I followed this tutorial
> http://wwwhomes.uni-bielefeld.de/schoppa/raid/woody-raid-howto.html and
> tried to help myself with the Software-Raid-Howto.
>
> The idea is to install Linux on hda, compile a kernel with raid support,
> set up the raid on hdb (with hda as the failed-disk 1 in /etc/raidtab),
> copy the system to raid and then zap the installation on hda.
minor nit-picking, you should use hda and hdc ....
having 2 disks on the same ide cable doesnt always
allow for proper raid setup .... if hda whackily dies, hdb is also
dead under some bios
> Everything runs fine until the moment to boot from raid.
as justin suggested, make sure root= and boot= for lilo.conf is
setup properly
> The author of my tutorial suggests to create a boot disk first:
as you're "author" states, you need to first boot the system
> dd if=/vmlinuz of=/dev/fd0 bs=2k
you're assuming that the kernel ( /vmlinuz ) supports raid
and that it fits on one floppy
> rdev /dev/fd0 /dev/md0
> rdev -r /dev/fd0 0
> rdev -R /dev/fd0 1
other ways to boot the system ...
- get a cdrom that supports raid
- build a custom kernel w/ raid support
- lots of fun stuff
http://www.linux-consulting.com/Boot
the assumption, is that once the system boots, you can re-run lilo
to have it self booting w/ raid setup w/o external floppy or cdroms
and that its still boots when hda is removed
the other assumption, that it will properly mirror itself
which i doubt if the partition type is NOT "raid partition type" (FD)
as opposed to linux (82)
---
what is the contents of your /etc/raidtab ??
have fun
alvin
> This disk doesn't work for me. I know that he writes the kernel to fd0.
> But the system boots from hda, so I guess I didn`t configure Lilo correctly.
>
> Could someone out there plese drop me a few lines 'bout how to setup the
> lilo-configuration?
>
> Thank you in advance,
>
> Martin from Cologne
>
>
>
Reply to: