Re: The /crypt method to support habitual clean installs of Fedora without losing data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allegedly, on or about 2 May 2018, Temlakos sent:
> One of you (I don't know who it was) shared with me an excellent
> method of making possible a clean reinstallation of Fedora--going
> above and beyond the "manual upgrade" described in the Installation
> Guide, that amounts to erasing the /root directory but leaving alone
> all other directories, not only /home but /usr, /etc, /bin, /tmp,
> /var, and any others I might have left out. This method preserves
> user data on a physically separate filesystem (an HDD or SSD). But it
> does not mount this separate filesystem as /home. The /home directory
> remains a part of the main filesystem and gets erased and
> reinaugurated, just like /usr, /etc, /var, and all the rest of them.

If you have two drives, simply keep the user homes on one, and install
the system on the other (erasing it before a new install).  That would
be the most obvious simple way to handle it.

A slightly more complex way to handle it is to let the system install
everything, including home on one drive (so that software
configuration, including user configuration), is fresh and installed in
the usual manner.  And in each /home/username put a symlink to the
other drive, and have the users store all their own files (the ones
that they save, download, and create) on the second drive.

Shortened synopsis of the main drive:
/
/bin/
/home/
/home/fred/
/home/jane/

Synopsis of the data drive:
/data/
/data/fredsdata/
/data/janesdata/

Inside /home/fred make a link to /data/fredsdata
Inside /home/jane make a link to /data/janesdata

ln -s -t /home/fred /data/fredsdata
etc...

(Naturally, check the man file that I've stated the command line syntax
correctly).

-- 
[tim@localhost ~]$ uname -rsvp
Linux 4.15.17-200.fc26.x86_64 #1 SMP Thu Apr 12 18:28:26 UTC 2018 x86_64

Boilerplate:  All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux