Visit Our UNIX and Linux User Community


How to perform kickstart installation with virtual floppy image from ILO console?


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers How to perform kickstart installation with virtual floppy image from ILO console?
# 1  
Old 04-02-2019
How to perform kickstart installation with virtual floppy image from ILO console?

HI All,

I have created a kickstart file and converted into .img with below procedure to mount this as a floppy image file to supply the kickstart file during the installation time.
But installation failing with unknown ks file location and other error messages.


1. Build an empty floppy image file using dd command:
Code:
[root]# dd if=/dev/zero of=./ombs-ks.img bs=512 count=2880
2880+0 records in
2880+0 records out
1474560 bytes (1.5 MB) copied, 0.00821857 s, 179 MB/s

2. Set up a loop device with the image file:
Code:
[root]# losetup /dev/loop0 ./ombs-ks.img

3. Create the file system with the loop device:
Code:
[root]# mkfs.msdos /dev/loop0
mkfs.msdos 3.0.16 (01 Mar 2013)

4. Check the filesystem:
Code:
[root]# fsck.msdos /dev/loop0
dosfsck 3.0.16, 01 Mar 2013, FAT32, LFN
Logical sector size is zero.

5. Clean up and delete the loop device:
Code:
[root]# losetup -d /dev/loop0

6. Mount the loop device:
Code:
[root]# mount -o loop -t auto ombs-ks.img /var/tmp/floppy/

7. Copy the ombs-ks.cfg kickstart file to the floppy directory.
Code:
[root]# cp /JUMP/ombs-ks.cfg /var/tmp/floppy

8. Copy the the image file ombs-ks.img into the server where we are accessing the ilo. Mount this image file in ilo as an imagefile and provide the grub parameters to install OS from this ks file.

I have provided the following values in grub mode so far, but installation is failing with no kickstart file found errors.

Code:
ks=floppy
ks=hd:fdo:/ombs-ks.cfg
ks=floppy dd
ks=cdrom:/ombs-ks.cfg
KS=hd:sda:/ombs-ks.cfg

We are looking for exact grub parameter needs to be used in grub mode for floppy image based ks file.

Can any one please reply if there is any idea on this issue.

Moderator's Comments:
Mod Comment edit by bakunin: would you please use CODE-tags for code, data and terminal output, as required by the forum rules? Thank you.

Last edited by bakunin; 04-02-2019 at 07:50 AM.. Reason: CODE-tags
# 2  
Old 04-02-2019
Do you have access to ksvalidator ?


Perhaps you can use something like:


Code:
# ksvalidator kickstart.conf


... to check things out?







# 3  
Old 04-03-2019
Hi Neo,

Thanks for the response.
Kickstart file is working fine with out any issues when we are trying to install with other methods like NFS and HTTP.
We are only facing issue when trying to install with floppy image.
# 4  
Old 04-03-2019
I'm not a kickstart expert, but what "jumps out at me" is the fact you are formatting your floppy disk as msdos .

On the surface, this seems odd to me; as I would expect you to format a kickstart floppy disk with a different filesystem.

Of course, If you want a blank Linux formatted floppy, then you can use the command mke2fs. This will create an ext2 formatted disk.

Previous Thread | Next Thread
Test Your Knowledge in Computers #210
Difficulty: Easy
Routing protocols like OSPF calculate the shortest route to a destination through the network based on a computer algorithm.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Trouble creating RHEL 6.5 bootable image with custom kickstart file

Hi everyone, I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder. I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies

2. Red Hat

Prevent kickstart to install image on external LUN

on the HP box , when we try to kickstart , the Linux gets installed on external LUN (Storage) .. so we end up unmapping the LUN and rekick , is there a way to disable the kickstart to ignore the external LUN incase we net boot it again (1 Reply)
Discussion started by: skamal4u
1 Replies

3. Red Hat

OpenSUSE installation using RHEL / CentOS Kickstart

Hi guys I have CentOS installed on my server. I have also installed TFTP server, DHCP server. I am able to install CentOS on remote machines using PXE boot and kickstart cfg file. I would like to install OpenSUSE using CentOS kickstart file. How do I do it ? I am also fine with any other... (2 Replies)
Discussion started by: msohail
2 Replies

4. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

5. Solaris

Solaris JumpStart Image on Floppy?

I was wondering if there was a Solaris JumpStart image small enough to fit on a floppy. The computer I want to JumpStart doesn't have a CD drive. If so, where could I download it? (6 Replies)
Discussion started by: Bradj47
6 Replies

6. Red Hat

Custom package installation using kickstart

Hi there, I've started playing around with Linux a few days back, as part of my intenship. I was wondering if there is anyway I can install custom packages (non RPM packages...say like Oracle) as a part of Kickstart. My machines are running RHEL 4. Thanks a lot :) (1 Reply)
Discussion started by: iman453
1 Replies

7. UNIX for Advanced & Expert Users

console /dev/console get image

We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies

8. Solaris

HP iLO virtual serial port

Greetings All, If someone/anyone reading this post has had success setting up and configuring HP iLO2 CLI virtual serial port for Solaris...please tell how. I'm trying to get a remote console to an HP DL385 server via iLO2 and ssh. The server is running Solaris 10 (11/06), patched to... (1 Reply)
Discussion started by: alias.256
1 Replies

9. SCO

where is root floppy image for openserver 5.0.5?

Hi. I dont have the root password to a really old openserver 5.0.5 machine, where i need to recover some root-owned file. I searched google for methods to recover the root password, and these methods involve having the 'boot' and 'root' floppy images available. I checked ftp.caldera.com for... (1 Reply)
Discussion started by: marcpascual
1 Replies

10. UNIX for Dummies Questions & Answers

how can perform zip or unzip at unix console

how can perfrom zip or unzip for bulk of files at unix console can anybody tell that command (2 Replies)
Discussion started by: lmraochodisetti
2 Replies

Featured Tech Videos