Can I upgrade from the ISOs on the HD without using CDs

From K12LTSP Wiki

Jump to: navigation, search

Question

Is there a way to upgrade directly from the ISOs on the hard drive without using CD-ROMS? How can I keep all of my user information (directories, settings, etc) as I go through the upgrade process?

Answer

The short answer is yes. Get the iso files in one directory, preferably at root level of the hd device (/dev/hda or something like it), create boot diskette from image file on the first disk (mount -o loop *disk1.iso ... ). create additional diskette with the drivers for local disk install. boot from floppy, select update. done==== the user info is kept intact. I would suggest a good backup of /home and /etc before you start the upgrade. ====

Answer Version 2

The short answer is yes. Get the iso files in one directory, and remember where you put them. For my last install, I chose "/mnt/sda1/K12LTSP".

<verbatim> mount -o loop /mnt/sda1/K12LTSP4.2.0disk1.iso /mnt/LTSPDisk cp /mnt/LTSPDisk/images/pxe/vmlinux /boot/vmlinux.LTSPInstall cp /mnt/LTSPDisk/images/pxe/initrd.img /boot/initrd.img.LTSPInstall </verbatim>

If you are using GRUB, then you can add into grub a new entry for installations. Add the following to /etc/grub.conf: <verbatim>

title K12Upgrade root (hd0,0) kernel /boot/vmlinux.LTSPInstall ro rootLABEL/ rhgb initrd /boot/initrd.img.LTSPInstall

</verbatim>

Personal tools