English
Ask Your Question
0

Kickstart problem using autopart: install centos from an usb stick.

asked 2012-01-31 07:40:11 +0000

Achim gravatar image

updated 2012-02-09 08:51:57 +0000

I have created an usb stick to install centos from. The stick is bootable and is working fine so far. My kickstart file uses the parameter autopart. I also use ignoredisk -sdc since the usb stick is mounted as sdc device. Other options are:

bootloader --location=partition --driveorder=sda,sdb --append="rhgb quiet"
clearpart --drives=sda,sdb --initlabel

My computer uses 2 harddisk drives sda, sdb. I'm doing all of the above to avoid that the mbr is not deleted from the stick. (at least I'm trying) The installation starts fine and is formatting drive sda. After this I can see this output when switching with alt f3

Format command: ['usr/sbin/mke2fs', '/dev/VolGroup00/LogVol00', '-i', '4096', '-j']
formatting /boot as ext3
Format command: ['usr/sbin/mke2fs', '/tmp/sda1', '-i', '4096', '-j']
lv is VolGroup00/LogVol00, size of 299529
lv is VolGroup00/LogVol01, size of 5536
trying to mount VolGroup00/LogVol00 on /
set SELinux context for mountpoint / to system_u:object_r:root_t:s0

after this the installation stops, no response and I need to reboot.

Anybody knows what the problem could be? thanks in advance

Achim

edit retag flag offensive close delete

Comments

in addition. When I start the installation without the autopart option everything is working fine. I'm jusing these part options as replacement for autopart. part /boot --fstype ext3 --size=300 part / --fstype ext3 --size=30000 --grow part swap --size=1000 --grow --maxsize=4032

Achim ( 2012-01-31 08:32:18 +0000 )edit

If the kickstart is the issue, you might have better luck adjusting the headline to reflect that. Are you able to install interactively?

jasonbrooks ( 2012-02-02 19:31:24 +0000 )edit

yes I had another headline for this, but FrancescoD changed this. :-| I'm able to install ineractively.

Achim ( 2012-02-03 08:43:08 +0000 )edit

I switched SELinux off and the issue is still there. The last line from the log is: trying to mount VolGroup00/LogVol00 on /

Achim ( 2012-02-03 08:43:53 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-02-03 20:22:14 +0000

mether gravatar image

I think CentOS issues are better off posted in a CentOS forum. If it is purely a kickstart question, the title should be changed.

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2012-01-31 07:40:11 +0000

Seen: 757 times

Last updated: Feb 09 '12