LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2014, 06:28 AM   #1
kpnuts
LQ Newbie
 
Registered: May 2014
Posts: 12

Rep: Reputation: Disabled
Install RHEL serever 6.4 on standalone server IBM x5 using kickstart


Hi,

I am trying to install redhat linux server 6.4 on IBM x3690 X5 server. When i insert the rhel 6.4 iso I get the gnu grub menu, I don't get the option to hit the tab key to get to the boot prompt where I can insert my kickstart command.
The grub menu comes up with 3 options

red hat enterprise linux 6.4
install system with basic video driver
rescue
"use the up arrow and down arrow keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for command-line"

At this point when I press the 'tab' key I don't get the boot option where I can put my kickstart http details.
When I press the 'e' key I get further 2 options:

kernel /images/pxeboot/vmlinuz
initrd /images/pxeboot/initrd.img

I change the initrd to initrd /images/pxeboot/initrdtest and then boot, the server then boots from the DVD. Which then allows me to do a fresh install of Linux. I don't get the option to put my http kickstart details.

I did use the option 'c' to get to the command line I then used the following parameters:

kernel /images/pxeboot/vmlinuz initrd=initrdtest

Next prompt I used:

boot linux text ks=http://server/.ks.cfg ksdevice=eth0 ip= netmask= gateway=

I got further but now get errors like:

VFS: Cannot open root device "(null)" or unknown-block(8.5)
Please append a correct "root=" boot option; here are the available partitions:
kernel panic - not syncing:VFS: Unable to mount rootfs on unknown-block(8,5)

I am new to installing RHEL on a standalone server, I have installed RHEL on a VM with no problems, but am having trouble doing this on a new standalone server.

Please advice.

Many thanks.
 
Old 05-06-2014, 07:54 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
I'm not sure why you're changing the kernel and initrd, the only requirement for kickstart is to add the boot argument/s.
 
Old 05-07-2014, 03:54 AM   #3
kpnuts
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi,

Can you tell me where I can put the boot arguments and what the parameters are.

Thanks.

Ketan
 
Old 05-07-2014, 09:24 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
I can't tell you what the parameters are as that is specific to your situation, guessing by your previous post that this is the only bit you need to worry about:

Code:
boot linux text ks=http://server/.ks.cfg ksdevice=eth0
The network will use dhcp as you haven't configured it statically .. is dhcp available?
 
Old 05-07-2014, 10:42 AM   #5
kpnuts
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi,

No dhcp isn't available.

Ketan
 
Old 05-08-2014, 02:25 AM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Then you'll need to provide extra arguments to configure networking as well:

Code:
ksdevice=ethX ip=<xxx.xxx.xxx.xxx> netmask=<xxx.xxx.xxx.xxx> gateway=<xxx.xxx.xxx.xxx> dns=<xxx.xxx.xxx.xxx>
 
Old 05-08-2014, 06:38 AM   #7
kpnuts
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks, I have tried this and now I have got further but I get the following message.

Error downloading kickstart file
unable to download the kickstart file. Please modify the kickstart parameter below or press Cancel to proceed as an interacticeinstallation.
 
Old 05-08-2014, 10:47 AM   #8
kpnuts
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi,

I have managed to get alot further, my kickstart file is getting read, but am getting an error message:

"Automatic Partitioning Errors"
The following errors occurred with your partitioning:
you have not created a /boot/efi partition
This can happen if there is not enough space on your hard drive(s) for the installation.

Press OK to exit the installer.

Please can you advice.

Ketan
 
Old 05-08-2014, 07:50 PM   #9
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Could you please post any disk related directives from your kickstart i.e. zerombr, bootloader, clearpart, part, volgroup, logvol
 
Old 05-13-2014, 05:52 AM   #10
kpnuts
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
bootloader --location=mbr --driveorder=sda,sdb --append="crashkernel=auto rhgb quiet"
clearpart --all --initlabel --drives=sda
part /boot --fstype ext4 --size=500 --ondisk=sda
part /boot/efi --fstype="EFI System Partition" --size=500 --ondisk=sda
part pv.13 --size=1 --grow --ondisk=sda
volgroup rootvg --pesize=32768 pv.13
logvol swap --fstype swap --name=swaplv --vgname=rootvg --size=4096
logvol / --fstype ext4 --name=rootlv --vgname=rootvg --size=1024
logvol /home --fstype ext4 --name=homelv --vgname=rootvg --size=1024
logvol /tmp --fstype ext4 --name=tmplv --vgname=rootvg --size=2976
logvol /usr --fstype ext4 --name=usrlv --vgname=rootvg --size=2976
logvol /var --fstype ext4 --name=varlv --vgname=rootvg --size=992
logvol /usr/local --fstype ext4 --name=usrlocallv --vgname=rootvg --size=992
logvol /opt --fstype ext4 --name=optlv --vgname=rootvg --size=1984
logvol /xymon --fstype ext4 --name=xymonlv --vgname=rootvg --size=512
logvol /tran --fstype ext4 --name=tranlv --vgname=rootvg --size=1024
logvol /logs --fstype ext4 --name=logslv --vgname=rootvg --size=256
logvol /nmon --fstype ext4 --name=nmonlv --vgname=rootvg --size=256
logvol /perf --fstype ext4 --name=perflv --vgname=rootvg --size=512
 
Old 05-14-2014, 02:20 AM   #11
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Please add a 'zerombr' directive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] We can I find nedit binary for IBM POWER server under RHEL 5 or RHEL 6 vvertsberger Linux - Software 7 03-03-2013 02:48 AM
How to Install windos OS By Kickstart from RHEL 6.0 manoj jasawat Linux - Server 2 06-25-2012 12:53 PM
Make a recovery image from a RHEL 5.2 system to install via anaconda Kickstart sandricky Linux - Server 3 12-10-2010 07:53 AM
RHEL WS 4 won't install on IBM Netvista... Decepticon22 Linux - Hardware 2 01-23-2006 09:08 AM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration