Software Raid through kickstart

Nauman Yousuf nauman.yousuf at gmail.com
Sat Apr 8 09:55:02 UTC 2006


Dear All
I want to install REDHAT AS4 through kistart start i did it . with software
raid
here is my ks.cfg file
install
cdrom
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
xconfig --card "VESA driver (generic)" --videoram 7872 --hsync 32-60 --vsync
57-85 --resolution 800x600 --depth 16 --startx
onboot  --defaultdesktop gnome
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$LSN6y60M$2Hbmw61n99GQsf .YsxXkp0
firewall --enabled --port=22:tcp --port=80:tcp --port=21:tcp --port=25:tcp
selinux --enforcing
authconfig --enableshadow --enablemd5
timezone Asia/Karachi
bootloader --location=partition --append="rhgb quiet"
# 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 /boot --fstype "ext3" --size=500 --ondisk=sda
part raid.28 --size=20000 --ondisk=sdb
part raid.25 --size=20000 --ondisk=sda
part raid.19 --size=20000 --ondisk=sdb
part raid.17 --size=20000 --ondisk=sda
part raid.37 --size=10000 --ondisk=sdb
part raid.34 --size=10000 --ondisk=sda
part raid.15 --size=10000 --ondisk=sdb
part raid.14 --size=10000 --ondisk=sda
part raid.12 --size=2000 --ondisk=sdb
part raid.11 --size=2000 --ondisk=sda
part /boot1 --fstype "ext3" --size=500 --ondisk=sdb --asprimary
part raid.46 --size=100 --grow --ondisk=sdb
part raid.43 --size=100 --grow --ondisk=sda
raid swap --fstype swap --level=RAID1 raid.11 raid.12
raid /oracle --fstype ext3 --level=RAID1 raid.14 raid.15
raid /oradata --fstype ext3 --level=RAID1 raid.17 raid.19
raid /u --fstype ext3 --level=RAID1 raid.25 raid.28
raid /v --fstype ext3 --level=RAID1 raid.34 raid.37
raid / --fstype ext3 --level=RAID1 raid.43 raid.46

%packages
@ admin-tools
@ text-internet
@ gnome-desktop
@ dialup
@ smb-server
@ base-x
@ web-server
@ printing
@ server-cfg
mdadm
grub
kernel-smp
e2fsprogs

%post
dd if=/dev/sda1 of=/dev/sdb1



first thing raid is built successfully but as soon redhat install it gets
boot and afer boot it gives me error
i make /boot on first drive /dev/sda1 and /boot1 on /dev/sdb1 for disk
recovery if one disk fails it boots from 2 disk.
but when i install it give me error that fstab has entry
#LABEL=/boot1            /boot1                  ext3    defaults        1 2
when i uncomnt it it gets boot seemlesly .
  secong my post command wont work id dd if=/dec/sda1 of=/dev/sdb1 to boot
from 2 disk in case of 1 disk fails but it wont do dd after installation .
i need one more thing i have oracle cds i want to do such thing taht after
kickstart install my system with requird partitions it runs the dd command
and ask for oracle cds.
i have oracle in oracle.gzip format . it ask for cds and to install it what
should i do for this.

Any help would greatly appriciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20060408/5f00515c/attachment.htm>


More information about the Kickstart-list mailing list