On Fri, Jul 18, 2008 at 6:57 AM, Tim Evans wrote:
>> Can an RHEL i686 system be upgraded to x86_64 in place, or is a new
>> install required?  Thanks.

I've mentioned this before, but you can boot into an install directly from
grub. It looks like you might even be able to do an upgradeany on the
hard drive:
http://www.owlriver.com/tips/centos-upgradeany/

I believe upgradeany just tries to migrate config files (/etc/) so I don't think
the arch should usually matter, but there may be some corner cases you
would have to deal with if you try this.

Here's a script I use regularly for reinstalls:

#!/bin/sh
# https://www.redhat.com/archives/fedora-devel-list/2007-October/msg00888.html
mkdir -p /boot/pxeboot
wget -P /boot/pxeboot/ http://192.168.1.162/ks/el5_64/images/pxeboot/vmlinuz
wget -P /boot/pxeboot/ http://192.168.1.162/ks/el5_64/images/pxeboot/initrd.img

# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103124
# linux console=ttyS0 ks=http://some_satellite/kickstart/ks/label/some_label
# ksdevice=link ip=some_ip netmask=some_netmask dns=some_dns
grubby --add-kernel=/boot/pxeboot/vmlinuz \
       --args="ks=http://192.168.1.162/ks/upgrade.cfg ksdevice=link
ramdisk=32768" \
       --make-default --title="reinstall" --initrd=/boot/pxeboot/initrd.img

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to