Operating System - Linux
1820254 Members
2920 Online
109622 Solutions
New Discussion юеВ

Another kickstart issue with --ondisk

 
steven Burgess_2
Honored Contributor

Another kickstart issue with --ondisk

Hello again

I also have a problem with the option when attempting to specify which disk a certain partition is to reside

Has anyone come across this issue

I have a message request to dump a core output to bugzilla. I have not been able to submit this file yet though

Entry is

#Disk partitioning information
#part /boot --fstype ext3 --size 1000 --ondisk /dev/hda1
#part / --fstype ext3 --size 10000 --ondisk /dev/hda3
#part swap --size 512 --ondisk /dev/hda2

Have had to change to

part /boot --fstype ext3 --size 1000
part / --fstype ext3 --size 8000
part swap --size 512

Thanks in advance

Steve
take your time and think things through
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: Another kickstart issue with --ondisk

I've not had such issues, but I've only been using KS with 7.2/7.3. What RH dist are you using this on?

As a simple work around, create the partitions in the order you want them numbered.

part /boot --fstype ext3 --size 1000
part swap --size 512
part / --fstype ext3 --size 8000

Should work in the manner required.
One long-haired git at your service...
I_M
Honored Contributor

Re: Another kickstart issue with --ondisk

Hi

My understanding is you may use --ondisk with /dev/hda instead of /dev/hda1.

or use --onpart /dev/hda1

Good luck

steven Burgess_2
Honored Contributor

Re: Another kickstart issue with --ondisk

Thanks for the replies

Stuart

I'm using Advanced server edition. I need the partitions to be created on a particular disk as there are only 2 disks on this server. I wish to use the 2nd in a raid1 environment

Masanari

I posted the example from a kickstart we were creating with 7.3

On the server edition i did specify

--ondisk /dev/sda
--ondisk /dev/sda

I'm waiting to get our support contract sorted so will get back to redhat with this problem. I was going to post on the bug report but these servers are required for production and we don't have time to wait

Any further ideas would be great

Thanks again

Steve

take your time and think things through