Issue Kickstarting PE1950

Barry Allard ballard at stanford.edu
Mon Jun 4 19:49:48 CDT 2007


Works now.

User error #1: can't have /root and / separate.

#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part   /boot --fstype ext3 --size=200 --asprimary
part   pv.00 --size=1 --grow --asprimary
volgroup vg1 pv.00
logvol swap  --name=LVswap   --vgname=vg1               --size=2048
logvol /     --name=LVrootfs --vgname=vg1 --fstype ext3 --size=20480
logvol /home --name=LVhome   --vgname=vg1 --fstype ext3 --size=40960
logvol /tmp  --name=LVtmp    --vgname=vg1 --fstype ext3 --size=4096
logvol /var  --name=LVvar    --vgname=vg1 --fstype ext3 --size=4096
logvol /data --name=LVdata   --vgname=vg1 --fstype ext3 --size=1 --grow

Unknown error #2: local cdrom fixes it.  Datacenter folks threw in a cdrom
locally, enabled cdrom.  Anaconda possibly has a conflict with drac 5.  

Barry

-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Barry Allard
Sent: Monday, June 04, 2007 3:21 PM
To: linux-poweredge at dell.com
Subject: Issue Kickstarting PE1950

Hey Folks,

Any ideas what's going on here?

Use case:

1. Mount DRAC 5 virtual cdrom using ISO RHEL4-U5-x86_64-AS-disc1.iso
(Physical server access is unavailable.)
2. Reboot
3. Press F11 Boot Menu
4. VIRTUAL CDROM
5. boot: linux ksdevice=eth0 ks=http://ksserver.FQDN.EDU/ks/HOSTNAME.ks
6. stuff happens
7. anaconda starts, but then immediately generates an error: "Error opening
/dev/sde: No such device or address"

Alt-F3 terminal shows:
...
* Running anaconda script /usr/bin/anaconda
* Display mode = t
* Method = http://ksserver.FQDN.EDU/path
* no floppy devices found but we'll try fd0 anyway
* Running kickstart %pre script(s)
* All kickstart %pre script(s) have been run
* moving (1) to step partitionobjinit
* parted exception: Error: Error opening /dev/sde: No such device or address

System config:

  PE1950
    2 x 300 GB 10k SAS
    SAS 5/e
      port 0 connected to MD3000
    Virtual media, CD-ROM controller, usb disabled

OS: RHEL 4.5 AS x86_64

# kickstart file
install
url --url http://ksserver.FQDN.EDU/path # path available, works
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
xconfig --card "ATI ES1000" --videoram 8192 --hsync 31.5-37.9 --vsync 50-70
--resolution 800x600 --depth 16
network --device eth0 --bootproto static --ip IP --netmask NM --gateway GWIP
--nameserver NS1,NS2,NS3-in-dotted-form --hostname HOSTNAME.FQDN.EDU
rootpw rootpasswdhere
firewall --enabled --ssh --port 1311:tcp
firstboot --disable
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/Los_Angeles
bootloader --location=mbr
zerombr yes
text
reboot
skipx
#Partition clearing information
clearpart --all --initlabel --drives=sdb
#Disk partitioning information
part   /boot --fstype ext3 --size=200 --asprimary --ondisk=sdb
part   pv.00 --size=1 --grow --asprimary --ondisk=sdb
volgroup vg1 pv.00
logvol swap  --name=LVswap   --vgname=vg1               --size=2048
logvol /     --name=LVrootfs --vgname=vg1 --fstype ext3 --size=20480
logvol /home --name=LVhome   --vgname=vg1 --fstype ext3 --size=40960
logvol /root --name=LVroot   --vgname=vg1 --fstype ext3 --size=10240
logvol /tmp  --name=LVtmp    --vgname=vg1 --fstype ext3 --size=4096
logvol /var  --name=LVvar    --vgname=vg1 --fstype ext3 --size=4096
logvol /data --name=LVdata   --vgname=vg1 --fstype ext3 --size=1 --grow

%packages
lvm2
kernel-smp
e2fsprogs
gcc
ntp
pam
pam_krb5
samba-common
samba-client

%post
# end of file

Barry Allard
Systems Administrator
Stanford Medical Informatics

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq



More information about the Linux-PowerEdge mailing list