MIrrored drives won't boot after installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 2005-04-17 at 10:27 -0400, Chris Mason (Lists) wrote:
> I have a p4 motherboard with 2 ide interfaces, I connect 2 40 GB
> drives as hda and hdc, I install Centos 4 from a CDROM, and partition
> the drives as 2 x raid partition each plus a swap partition on hda,
> the make md0 and md1 to install /boot and / respectively. Install goes
> well, everything looks great, go to reboot from drives, and all I get
> is ?grub? but no boot. I have tried this ten times, doesn?t seem I can
> get around it.
> 
> I have to configure this server so that the drives are mirrored. I
> have installed redhat 9 in this configuration without problems.
With the help of Aleksandar Milivojevic I used the attached ks.cfg file
(not sure if it will come through on this list).
I used lilo not grub. Also working on a ks.cfg that uses LVM

Gerald

-------------- next part --------------
# Kickstart file .

install
cdrom
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
mouse none
text
skipx
#xconfig --card "ATI Mach64" --videoram 8128 --hsync 31-60 --vsync 60-75 --resolution 800x600 --depth 16
network --device eth0 --bootproto static --ip 192.168.1.121 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 192.168.1.1 --hostname adam.raqware.com
network --device eth1 --bootproto static --ip 192.168.0.121 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 192.168.1.1 --hostname adam.raqware.com
rootpw --iscrypted $1$RR50eVyL$2J5hPzOVsC44x7hlR/7xI.
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/New_York
zerombr yes
#bootloader --location=mbr
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part raid.01 --size=100 --ondisk hda --asprimary
part raid.11 --size=100 --ondisk hdc --asprimary
part raid.02 --size=4000 --ondisk hda
part raid.12 --size=4000 --ondisk hdc
part raid.03 --size=1024 --ondisk hda
part raid.13 --size=1024 --ondisk hdc
part raid.04 --size=1024 --grow --ondisk hda
part raid.14 --size=1024 --grow --ondisk hdc

raid /boot --level=1 --device=md0 raid.01 raid.11
raid / --level=1 --device=md1 raid.02 raid.12
raid swap --level=1 --device=md2 raid.03 raid.13
raid /home --level=1 --device=md3 raid.04 raid.14

bootloader --location=mbr --useLilo

%packages
@ web-server
@ server-cfg
@ dialup
@ admin-tools
@ smb-server
@ printing
@ text-internet
mdadm
grub
kernel
e2fsprogs

%post

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux