Eric H. Johnson on 9 Aug 2016 06:55:18 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Ubuntu 16.04 upgrade problem |
Yea, I remember you posting about that before. This machine is getting long in the tooth and I have some machines of more recent vintage that have already been retired at my office that I could use as replacements. I just don’t have time to do that before I leave. Regards, Eric Sadly, this won't help you with what you have today, but for the future, please consider setting up two alternate root partitions, let's call them A and B. When A is mounted as /, B is mounted as /spare and vice versa. Start with A booted as root, and B booted as spare. The details here are for Ubuntu, but the basic principles are the same for any Linux distro. sudo rm -rf /spare/* sudo rsync --sparse --exclude=lastlog -auvx / /spare/ cp -p --sparse=always /var/log/lastlog /spare/var/log/ Edit /spare/etc/fstab to swap the UUIDs for / and /spare sudo update-grub Edit /boot/grub/grub.cfg to make sure all the UUIDs in the os-prober section point to B (I don't know whether it's a bug or a feature, but the UUIDs generated by update-grub are a mix of those for A and B). Save the file. Save the file as /spare/boot/grub/grub.cfg (save before editing as a safety mechanism to prevent inadvertent damage to /boot/grub/grub.cfg on A). Edit to swap the UUIDs and partition entries for the main and memory section and the os-prober sections, since this will be the /boot/grub/grub.cfg that boots with B as root. Reboot. On the grub menu, choose B and after booting, verify that B is / and A is /spare. Upgrade. I always prefer the non-graphical do-release-upgrade, but that's your choice. If the upgrade is successful, the machine will boot B by default (and the old A as /spare). But importantly, if the upgrade fails, simply rebooting the machine will boot into the unmodified root partition A. Regards -- Bhaskar On Mon, Aug 8, 2016 at 10:00 PM, Eric Lucas <eric@lucii.org> wrote: Eric, given that dhclient still restores the connectivity, I'd guess that it did not not really switch to static networking? Because it's using systemd - I have to bow out. The last Debian/Ubuntu system I set manually was, um, 3 or 4 years ago. That was with help. There are experts here on the list and various Internet sites that have forgotten more than I know :-( Best of luck Eric On Mon, Aug 8, 2016 at 7:51 PM, Eric H. Johnson <ejohnson@camalytics.com> wrote: Eric, Just tried that. Did not work. Funny thing is dhclient release and renew still brings the network back. I might have been wrong about needing to start network-manager manually. Now I just need to do a release and renew with dhclient. Thanks, Eric On August 8, 2016 7:42:19 PM EDT, Eric Lucas <eric@lucii.org> wrote: For a quick workaround try setting it up with static network addressing and see if that works and is stable. Eric Lucas On Mon, Aug 8, 2016 at 7:18 PM, Eric H. Johnson <ejohnson@camalytics.com> wrote: All, Poor timing on my part. I donated a computer to a senior center, and just upgraded it to 16.04. I am running into a problem, and about to leave town. The upgrade indicated that it had a problem and needed to roll back, however after I rebooted at the end it was showing the OS as 16.04. The problem is that the networking is not coming up automatically. I can start it manually with service network-manager start dhclient –r dhclient Additionally, if I use settings | network and turn the network off and on, networking will again stop working, however network-manager is still working, because at that point, if I just release and renew dhcp (dhcient) then the network will come back. I can try setting a fixed ip address, but I do not think that is going to work because network-manager is not coming up. I need at least a quick work around. Any ideas? Thanks, Eric ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug