Hi Everyone.

My question is in regards to getting LILO to boot from my / partition which
is part of a RAID1 (the error is "Cannot find superblock" which is
expected if lilo cannot access it)

This is the partition setup:

/dev/hda
--------
/dev/hda1:    /          9775MB     reiserfs
/dev/hda2:    SWAP       256MB      swap        

/dev/hdb
--------
/dev/hdb1:    /          9775MB     reiserfs
/dev/hdb2:    SWAP       256MB      swap        


/dev/md0  (RAID1 - Mirroring)
--------
/dev/hda1  &  /dev/hdb1

Originally I set it up as having a /boot partition separately but that
didn't help lilo find what it needs to boot the system (ie. /sbin/init,
etc).

I'd like to use reiserfs on the / partitions and also make them part of a RAID1. 
It doesn't sound so difficult.. but it's a little tricky.

This is the steps I took to *try* and get it working (unsucessfully):

1/ configured my /dev/hda drive as:   /boot  16MB  ext2 ,  SWAP  256MB,
   /   200MB   ext2,    /newroot   9575MB   reiserfs

2/ installed BASE Mandrake 7.2 into / and re-compiled kernel 2.4.2 with raid
support, etc.

3/ Made my /dev/md0 raid (/dev/hda4 and /dev/hdb1) and issued a
   mkreiserfs /dev/md0

4/ copied the current "/" partition into /newroot

5/ updated lilo.conf to refect the changes

All was going good but when I rebooted, it started to boot OK and it got
to a point (just before it starts the /sbin/init process) where it says
"cannot read superblock".

I have enabled "persistant-superblock 1" in my /etc/raidtab file. I
read' a document which said this option would fix my problem but I
already had it enabled from the beginning so that's not it.

My lilo.conf is nothing special. Basically "root=/dev/md0" and
"boot=/dev/hda" and the initrd pointing to the /boot/initrd-2.4.2.img
file I created and that's about it (amongst the standard lilo.conf
options).

Does anybody have any suggestions as to how I can get my system to boot
off / (which is part of the RAID1) ? I rather not have a separate 
/boot partition considering that if the primary drive dies, /boot will 
die with it as it's not part of the RAID1 so I rather just have one big
"/" partition and a SWAP partition.

Sorry about the long email and I hope someone can make some sense out of
it :)

Thanks in advance for any help.

Regards,

Gonzalo.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to