[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Redhat 7.3, raid1 and grub almost there...
From: |
Tony Lindstrom |
Subject: |
Redhat 7.3, raid1 and grub almost there... |
Date: |
02 Nov 2002 12:12:42 +0200 |
After googling around a lot I decided to join this list and ask for some
advice to make this thing perfect.
My configuration is now:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md1 1032056 124088 855536 13% /
/dev/md0 127231 13607 107055 12% /boot
/dev/md2 507685 8288 473170 2% /tmp
/dev/md3 507685 8244 473214 2% /home
/dev/md4 5160416 849204 4049064 18% /usr
/dev/md5 5160416 32916 5022640 1% /usr/local
/dev/md6 5160416 89452 4966104 2% /var
none 256956 0 256956 0% /dev/shm
Where I have two 40 GB disks partitioned as hda(1-15) and hdc(1-15).
md0 (/boot) is raid1 on /dev/hda1 and /dev/hdc1 md1 (/) is raid1 on
/dev/hda2 and /dev/hdc2.
I first installed the 7.3 from scratch on a normal ext3fs (now unused)
partition /dev/hda14, installed grub and made it boot from there. This
worked of course well. I fdisk:ed hdc to have the right types (fd) for
raid on the needed partitions and copied everything to /dev/hdc14.
Reinstalled grub to use grub.conf from the /dev/hdc14 and booted from
there. Worked well. fdisked hda to have the fd:s.. Then I created the
above raid1 partitions and configured grub.conf on the /dev/hdc14 to
boot from them. This also worked well as you see above.
So the last thing I wanted to do was to install grub to use the
grub.conf from /dev/md0. But....
grub-install will not work, because it doesn't know about md-devices,
but I thought it should have been possible to make this work by
installing it manually from the grub-command line. However I can't seem
to make it working.
What I did try was this:
grub> device (hd0) /dev/hda
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0xfd
So far so good, then:
grub> install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000
(hd0,0)/boot/grub/menu.lst
Error 15: File not found
Why can't it find it? Tried to find the available /boot/grub/stage1 by:
grub> find /boot/grub/stage1
(hd0,13)
(hd1,13)
Yes, no stage1 on (hd0,0)...:-(
Something I overlooked?
--
http://www.iki.fi/tonyk
NO PROBLEMS. THANK YOU FOR FLYING AMERICAN
PRIDE.
- Redhat 7.3, raid1 and grub almost there...,
Tony Lindstrom <=