Upgrade to 18.04 (fresh and clean) from terminal without boot/physical access (on an existing Ubuntu system)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I don't have physical access to the server at the moment and I want to upgrade to 18.04 clean fresh (if possible) from the existing install I'm running now.



As no physical access is possible I'm thinking that a couple of things need to stay:



  • sshd running

  • networking so I can connect

  • user/password


  • /home if possible

By clean install I mean that I want to go as close to a new 18.04 install as possible and I'll rebuild my system myself.



Any ideas?







share|improve this question






















  • I would recommend that you discuss this item at the Ubuntu Forum for Servers. See also Ubuntu Development version / How to participate
    – sudodus
    Apr 24 at 13:54







  • 3




    Is it really wise upgrading a server to a new release without having physical access ? (Forget the theoretical, I just would not embark on this lightly). My genuine advise is "don't". That said, there is the command "do-release-upgrade". Please,please,please make sure you backup all your config and all your data before you upgrade. Please consider arranging physical access and installing from fresh (on a second HDD if possible, in order to preserve the first in case of disaster) if you absolutely must upgrade to 18.04.
    – hatterman
    Apr 24 at 13:56










  • Have a read of this post also. askubuntu.com/questions/110477/…
    – hatterman
    Apr 24 at 14:04










  • if everything breaks I can get physical access but the local helper is hard to work with... Second I have full rsync of the box and all the important things are in dockers.
    – OHTO
    Apr 24 at 14:27










  • To reviewers: I don't see how this problem is specific to 18.04, the answer certainly isn't.
    – dessert
    Apr 25 at 21:00














up vote
1
down vote

favorite












I don't have physical access to the server at the moment and I want to upgrade to 18.04 clean fresh (if possible) from the existing install I'm running now.



As no physical access is possible I'm thinking that a couple of things need to stay:



  • sshd running

  • networking so I can connect

  • user/password


  • /home if possible

By clean install I mean that I want to go as close to a new 18.04 install as possible and I'll rebuild my system myself.



Any ideas?







share|improve this question






















  • I would recommend that you discuss this item at the Ubuntu Forum for Servers. See also Ubuntu Development version / How to participate
    – sudodus
    Apr 24 at 13:54







  • 3




    Is it really wise upgrading a server to a new release without having physical access ? (Forget the theoretical, I just would not embark on this lightly). My genuine advise is "don't". That said, there is the command "do-release-upgrade". Please,please,please make sure you backup all your config and all your data before you upgrade. Please consider arranging physical access and installing from fresh (on a second HDD if possible, in order to preserve the first in case of disaster) if you absolutely must upgrade to 18.04.
    – hatterman
    Apr 24 at 13:56










  • Have a read of this post also. askubuntu.com/questions/110477/…
    – hatterman
    Apr 24 at 14:04










  • if everything breaks I can get physical access but the local helper is hard to work with... Second I have full rsync of the box and all the important things are in dockers.
    – OHTO
    Apr 24 at 14:27










  • To reviewers: I don't see how this problem is specific to 18.04, the answer certainly isn't.
    – dessert
    Apr 25 at 21:00












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I don't have physical access to the server at the moment and I want to upgrade to 18.04 clean fresh (if possible) from the existing install I'm running now.



As no physical access is possible I'm thinking that a couple of things need to stay:



  • sshd running

  • networking so I can connect

  • user/password


  • /home if possible

By clean install I mean that I want to go as close to a new 18.04 install as possible and I'll rebuild my system myself.



Any ideas?







share|improve this question














I don't have physical access to the server at the moment and I want to upgrade to 18.04 clean fresh (if possible) from the existing install I'm running now.



As no physical access is possible I'm thinking that a couple of things need to stay:



  • sshd running

  • networking so I can connect

  • user/password


  • /home if possible

By clean install I mean that I want to go as close to a new 18.04 install as possible and I'll rebuild my system myself.



Any ideas?









share|improve this question













share|improve this question




share|improve this question








edited Apr 24 at 22:18









Zanna

48k13119227




48k13119227










asked Apr 24 at 13:01









OHTO

83




83











  • I would recommend that you discuss this item at the Ubuntu Forum for Servers. See also Ubuntu Development version / How to participate
    – sudodus
    Apr 24 at 13:54







  • 3




    Is it really wise upgrading a server to a new release without having physical access ? (Forget the theoretical, I just would not embark on this lightly). My genuine advise is "don't". That said, there is the command "do-release-upgrade". Please,please,please make sure you backup all your config and all your data before you upgrade. Please consider arranging physical access and installing from fresh (on a second HDD if possible, in order to preserve the first in case of disaster) if you absolutely must upgrade to 18.04.
    – hatterman
    Apr 24 at 13:56










  • Have a read of this post also. askubuntu.com/questions/110477/…
    – hatterman
    Apr 24 at 14:04










  • if everything breaks I can get physical access but the local helper is hard to work with... Second I have full rsync of the box and all the important things are in dockers.
    – OHTO
    Apr 24 at 14:27










  • To reviewers: I don't see how this problem is specific to 18.04, the answer certainly isn't.
    – dessert
    Apr 25 at 21:00
















  • I would recommend that you discuss this item at the Ubuntu Forum for Servers. See also Ubuntu Development version / How to participate
    – sudodus
    Apr 24 at 13:54







  • 3




    Is it really wise upgrading a server to a new release without having physical access ? (Forget the theoretical, I just would not embark on this lightly). My genuine advise is "don't". That said, there is the command "do-release-upgrade". Please,please,please make sure you backup all your config and all your data before you upgrade. Please consider arranging physical access and installing from fresh (on a second HDD if possible, in order to preserve the first in case of disaster) if you absolutely must upgrade to 18.04.
    – hatterman
    Apr 24 at 13:56










  • Have a read of this post also. askubuntu.com/questions/110477/…
    – hatterman
    Apr 24 at 14:04










  • if everything breaks I can get physical access but the local helper is hard to work with... Second I have full rsync of the box and all the important things are in dockers.
    – OHTO
    Apr 24 at 14:27










  • To reviewers: I don't see how this problem is specific to 18.04, the answer certainly isn't.
    – dessert
    Apr 25 at 21:00















I would recommend that you discuss this item at the Ubuntu Forum for Servers. See also Ubuntu Development version / How to participate
– sudodus
Apr 24 at 13:54





I would recommend that you discuss this item at the Ubuntu Forum for Servers. See also Ubuntu Development version / How to participate
– sudodus
Apr 24 at 13:54





3




3




Is it really wise upgrading a server to a new release without having physical access ? (Forget the theoretical, I just would not embark on this lightly). My genuine advise is "don't". That said, there is the command "do-release-upgrade". Please,please,please make sure you backup all your config and all your data before you upgrade. Please consider arranging physical access and installing from fresh (on a second HDD if possible, in order to preserve the first in case of disaster) if you absolutely must upgrade to 18.04.
– hatterman
Apr 24 at 13:56




Is it really wise upgrading a server to a new release without having physical access ? (Forget the theoretical, I just would not embark on this lightly). My genuine advise is "don't". That said, there is the command "do-release-upgrade". Please,please,please make sure you backup all your config and all your data before you upgrade. Please consider arranging physical access and installing from fresh (on a second HDD if possible, in order to preserve the first in case of disaster) if you absolutely must upgrade to 18.04.
– hatterman
Apr 24 at 13:56












Have a read of this post also. askubuntu.com/questions/110477/…
– hatterman
Apr 24 at 14:04




Have a read of this post also. askubuntu.com/questions/110477/…
– hatterman
Apr 24 at 14:04












if everything breaks I can get physical access but the local helper is hard to work with... Second I have full rsync of the box and all the important things are in dockers.
– OHTO
Apr 24 at 14:27




if everything breaks I can get physical access but the local helper is hard to work with... Second I have full rsync of the box and all the important things are in dockers.
– OHTO
Apr 24 at 14:27












To reviewers: I don't see how this problem is specific to 18.04, the answer certainly isn't.
– dessert
Apr 25 at 21:00




To reviewers: I don't see how this problem is specific to 18.04, the answer certainly isn't.
– dessert
Apr 25 at 21:00










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










Sometimes the answer to a question is:



Please, don't do this!



Because you might have a full rsync backup, but it's not about the backup: It's about the restore! How long is the restore going to take? How are you going to restore if you don't have access?



Unless you have all of the following:



  1. Remote console access!

  2. A full bootable off-line back-up (E.g. CloneZilla even if it's on a 128GB USB Stick or a 1-2-4TB USB HDD)

  3. The off-line backup drive contains a small 64 GB bootable partition containing a customized CloneZilla environment that will let you ssh into it to be able to do the restore.

  4. 18.04.1 (never install the first version of an OS, that is true under any OS whether it's DOS, NetWare, Windows, *nix, BSD, ...)

If all of the above is true, just do a do-release-upgrade



¯_(ツ)_/¯






share|improve this answer






















  • Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
    – OHTO
    Apr 25 at 21:49










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027803%2fupgrade-to-18-04-fresh-and-clean-from-terminal-without-boot-physical-access-o%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










Sometimes the answer to a question is:



Please, don't do this!



Because you might have a full rsync backup, but it's not about the backup: It's about the restore! How long is the restore going to take? How are you going to restore if you don't have access?



Unless you have all of the following:



  1. Remote console access!

  2. A full bootable off-line back-up (E.g. CloneZilla even if it's on a 128GB USB Stick or a 1-2-4TB USB HDD)

  3. The off-line backup drive contains a small 64 GB bootable partition containing a customized CloneZilla environment that will let you ssh into it to be able to do the restore.

  4. 18.04.1 (never install the first version of an OS, that is true under any OS whether it's DOS, NetWare, Windows, *nix, BSD, ...)

If all of the above is true, just do a do-release-upgrade



¯_(ツ)_/¯






share|improve this answer






















  • Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
    – OHTO
    Apr 25 at 21:49














up vote
3
down vote



accepted










Sometimes the answer to a question is:



Please, don't do this!



Because you might have a full rsync backup, but it's not about the backup: It's about the restore! How long is the restore going to take? How are you going to restore if you don't have access?



Unless you have all of the following:



  1. Remote console access!

  2. A full bootable off-line back-up (E.g. CloneZilla even if it's on a 128GB USB Stick or a 1-2-4TB USB HDD)

  3. The off-line backup drive contains a small 64 GB bootable partition containing a customized CloneZilla environment that will let you ssh into it to be able to do the restore.

  4. 18.04.1 (never install the first version of an OS, that is true under any OS whether it's DOS, NetWare, Windows, *nix, BSD, ...)

If all of the above is true, just do a do-release-upgrade



¯_(ツ)_/¯






share|improve this answer






















  • Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
    – OHTO
    Apr 25 at 21:49












up vote
3
down vote



accepted







up vote
3
down vote



accepted






Sometimes the answer to a question is:



Please, don't do this!



Because you might have a full rsync backup, but it's not about the backup: It's about the restore! How long is the restore going to take? How are you going to restore if you don't have access?



Unless you have all of the following:



  1. Remote console access!

  2. A full bootable off-line back-up (E.g. CloneZilla even if it's on a 128GB USB Stick or a 1-2-4TB USB HDD)

  3. The off-line backup drive contains a small 64 GB bootable partition containing a customized CloneZilla environment that will let you ssh into it to be able to do the restore.

  4. 18.04.1 (never install the first version of an OS, that is true under any OS whether it's DOS, NetWare, Windows, *nix, BSD, ...)

If all of the above is true, just do a do-release-upgrade



¯_(ツ)_/¯






share|improve this answer














Sometimes the answer to a question is:



Please, don't do this!



Because you might have a full rsync backup, but it's not about the backup: It's about the restore! How long is the restore going to take? How are you going to restore if you don't have access?



Unless you have all of the following:



  1. Remote console access!

  2. A full bootable off-line back-up (E.g. CloneZilla even if it's on a 128GB USB Stick or a 1-2-4TB USB HDD)

  3. The off-line backup drive contains a small 64 GB bootable partition containing a customized CloneZilla environment that will let you ssh into it to be able to do the restore.

  4. 18.04.1 (never install the first version of an OS, that is true under any OS whether it's DOS, NetWare, Windows, *nix, BSD, ...)

If all of the above is true, just do a do-release-upgrade



¯_(ツ)_/¯







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 25 at 20:37

























answered Apr 25 at 20:22









Fabby

24.2k1352153




24.2k1352153











  • Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
    – OHTO
    Apr 25 at 21:49
















  • Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
    – OHTO
    Apr 25 at 21:49















Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
– OHTO
Apr 25 at 21:49




Partial answer (or maybe my question wasn’t explained correctly) but ill take it. I did upgrade without problems but my original goal was to also get rid off all the packages not installed on a clean 18.04. Now I got all my existing pkgs upgraded aswall. Cheers
– OHTO
Apr 25 at 21:49

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027803%2fupgrade-to-18-04-fresh-and-clean-from-terminal-without-boot-physical-access-o%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491