To update many old servers in production and never updated it is required to perform these updates using an CentOS 5.x.
The updates won't run with newer version of CentOS due to bash 4.
I know it is old and no more supported (EOL) but it is the only way to update servers.
I don't want to spam the forum but I don't know where I can ask advices and help.
I found a CentOS 5.6 LiveCD (CentOS-5.6-i386-LiveCD.iso) hosted on vault servers.
I tried to dd this iso on an USB key .... but boot hangs with 'cannot find root file system!'
I tried to boot the iso using grub2 command line:
Code: Select all
loopback loop /boot/img/CentOS-5.6-i386-LiveCD.iso
set root=(loop)
linux /isolinux/vmlinuz0 root=CDLABEL=CentOS-5.6-i386-LiveCD rootfstype=iso9660 ro quiet liveimg
initrd /isolinux/initrd0.img
boot
Code: Select all
loopback loop /boot/img/CentOS-5.6-i386-LiveCD.iso
set root=(loop)
linux /isolinux/vmlinuz0 root=/LiveOS/squashfs.img rootfstype=iso9660 ro quiet liveimg
initrd /isolinux/initrd0.img
boot
I tried to chainload the syslinux using grub2 command line
Code: Select all
loopback loop /boot/img/CentOS-5.6-i386-LiveCD.iso
set root=(loop)
syslinux_source /isolinux/isolinux.bin
syslinux_configfile /isolinux/isolinux.cfg
boot
Does anyone know which are the good parameters ?
Many thanks in advance for your help.
Kind regards.