Kickstart upgrade question

I’m trying to upgrade SLES11 SP1 to SP2 using Kickstart.
But, each time it does not pass the following section of formatting the client’s 2nd disk /dev/sdb1, which I don’t care about.

Installation Settings

Keyboard Layout

  • English (US)

Partitioning
* Format partition /dev/sdb1 (279.37 GB) for / with ext3 ← This shows up as red in the screen.

Software

I’m using the following ks.cfg file. I tried using both “zerombr” and “clearpart --all” but it’s still stuck in the same step.

cat ks.cfg

upgrade
nfs --server 10.10.1.2 --dir /kickstart/images/sles11SP2
keyboard “us”
lang en_US
langsupport --default en_US en_US
bootloader --upgrade
firewall --disabled
mouse genericps/2 --emulthree
clearpart --all
part / --size 2000 --grow
part swap --size 2000
part /tmp --size 3000 --grow

text
skipx
reboot
%packages --ignoremissing
@ Everything

Thanks.

  • Young

yssong Wrote in message:
[color=blue]

I’m trying to upgrade SLES11 SP1 to SP2 using Kickstart.[/color]

Is there a reason that you’re using Kickstart? Kickstart is a Red
Hat thing whereas SUSE uses YaST wagon and zypper[1].

HTH.

[1] https://www.suse.com/documentation/sles11/bo
ok_sle_deployment/data/sec_update_sle11sp1.html (URL may
wrap)

Simon
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup

Hi Simon,

Thanks for your reply.

I’m new to SuSE and was trying to use Kickstart.

If possible, I want to set up a local Zypper repository with the SP2 images on one of my servers and use Zypper to do the online hands-off upgrade on the clients.

Will it be possible?

Thanks.

  • Young

yssong Wrote in message:
[color=blue]

I’m new to SuSE and was trying to use Kickstart.[/color]

Understandable (note AutoYaST is the SUSE equivalent for
automating installations).
[color=blue]

If possible, I want to set up a local Zypper repository with the SP2
images on one of my servers and use Zypper to do the online hands-off
upgrade on the clients.

Will it be possible?[/color]

Yes that’s possible - I’ve done this myself with DVD ISOs mounted
on another Linux box served up via Apache. See section 14.2 of
the documentation I linked to in my previous reply.

Depending on how many SLES servers you have to upgrade/update you
may also want to look at the free Subscription Management Tool
(SMT)[1] or charged for SUSE Manager[2] products - I believe both
can also handle Red Hat too.

HTH.

[1] https://www.suse.com/solutions/tools/smt.html
[2] https://www.suse.com/products/suse-manager/

Simon
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup