I have done quite a lot of research on upgrading my existing 16.04 LTS Server to 18.04 LTS using the ISO file. My Server does not connect to the internet. Thus I am finding the alternative to upgrade to 18.04 LTS. But still, I can't find the latest procedure on how to upgrade using the ISO file.
I did found out the ancient method which using these steps
- sudo mkdir -p /media/cdrom
- sudo mount -o loop ~/Desktop/ubuntu-11.04-alternate-i386.iso /media/cdrom
- gksu "sh /media/cdrom/cdromupgrade" OR kdesudo "sh /media/cdrom/cdromupgrade"
I did try, but there is nothing pop out for asking me to upgrade. I can only see that I have mounted the ISO into my 16.04 LTS Server. Can someone please advise me on how am I going to solve this without reformatting and losing all my data in my Server? Thank you so much. =)
22 Answers
Ubuntu does not guarantee that your data will be preserved across a release-upgrade.
No Ubuntu expert has tested a release-upgrade on your particular mixture of hardware and software.
Maybe the release-upgrade will be successful. Maybe it won't.
Maybe your data will be preserved. Maybe it won't.
Advice: Be prepared for the worst before you hope for the best.
1There is no way to upgrade from 16.04 LTS to 18.04 LTS without losing you data, but you can do this:
- Note down the configuration and apps installed on your server
- Get an Ubuntu Desktop installation drive, select
Try Ubuntu without installing, then opendisks, then mount the Ubuntu server drive, backup your data on an USB - Do a clean installation of Ubuntu server 18.04 LTS
- Set the configuration and install the apps on your Ubuntu server 18.04 LTS
- Get the data from the USB by Ubuntu Desktop installation drive and move it to Ubuntu Server 18.04 LTS drive
Hope this helps =)
2