My Continuing Failed Restore Issue Saga

Karl Auer kauer at biplane.com.au
Sun Jan 22 21:06:02 UTC 2017


On Sun, 2017-01-22 at 14:05 -0600, Mike Hughes wrote:
> Well, installed finished comes up but try to log in says my login
> isn't right. So I guess I will get to do it again. 

Or boot off your Live CD and fix the login problem. Boot off the live
CD, then:

- add a user "fred"
- set fred's password and remember it
- mount the hard drive eg on /mnt
- edit /mnt/etc/passwd
- copy fred's line from /etc/passwd to /mnt/etc/passwd
- copy fred's line from /etc/shadow to /mnt/etc/shadow
- copy fred's line from /etc/group to /mnt/etc/group
- append "fred" to the sudo line in /mnt/etc/group

Reboot without the CD, and you should find that you can log in to your
computer as "fred" with sudo privileges. Or do the above with your own
login name instead of "fred".

> Run live Ubuntu 16.04 on CD, so I can get To Gnome have my Restore
> Hard Drive on USB. So I can get, my config files and WordPress off
> the restore on to the new server along with the Web site data. Would
> that work?

Don't know what you mean by "restore hard drive on USB", but when
booted off the live CD you will be able to access all files and data on
the hard drive, yes.

>  Any other ideas? Does anyone run a GUI on their server. I don't
> really like Command line reminds me too much of the days of Word Star
> and CpM operating system. I guess that dates me. I guess I could have
> said Cobal or Fortran. Waiting for your ideas here.

Plenty of people run GUIs on servers.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B






More information about the ubuntu-users mailing list