On Thu, Mar 17, 2005 at 06:15:10PM -0500, Frank P. Hart wrote:
> Elton, glad to know it worked for you. Seems like it works for some and not
> for others. (Have you checked your "stock" kernel's config file to see what
> it says?) My attempt to install root+boot on RAID-1 got me a halted boot and
> a blank screen except for two characters: "LI" (I am using LILO 22.6).
I'm using grub, but I am quite sure that lilo should work as well.
> I searched on that symptom and found only references to someone trying to set
> up a dual boot with Windows -- not useful to me since there's no Billware on
> this box.
>
> Because some folks can make this work and others can't, I think there's
> probably some software switch setting that is critical, but not consciously
> appreciated -- although it does seem odd to me that a stock kernel could
> boot from RAID when it is configured as a loadable module.
> Is your RAID a pure software one, or do you have a FAKERAID (e.g. Promise)
> that gets detected and handled smoothly?
My system is a pure software raid.
Did you create a boot partition? I forgot to mention that. It's probably
critical for the boot process. The kernel and initrd are on the boot
partition, so lilo or grub can find them without complications.
I have two IDE disks, hda and hdc. On both disks there are 3 partitions;
one for boot (only on the first disk), one swap -- you don't want to
swap on raid --, and the actual raid partition.
--------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/md0 / reiserfs noatime 0 1
/dev/hda1 /boot ext2 noauto,defaults 0 2
/dev/hda2 none swap sw 0 0
/dev/hdc2 none swap sw 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
[05:57 PM] pop4:/home/elton# fdisk -l /dev/hda
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 3 24066 83 Linux
/dev/hda2 4 23 160650 82 Linux swap
/dev/hda3 * 24 9964 79851082+ fd Linux raid
autodetect
[05:57 PM] pop4:/home/elton# fdisk -l /dev/hdc
Disk /dev/hdc: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 41 20632+ 83 Linux
/dev/hdc2 42 346 153720 82 Linux swap
/dev/hdc3 347 158816 79868880 fd Linux raid
autodetect
---------------------------------------------
Hope this helps,
Elton
Attachment:
signature.asc
Description: Digital signature