Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

reinstall debian and preserve home partition

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
nyu-98
Posts: 5
Joined: 2019-03-26 00:35

reinstall debian and preserve home partition

#1 Post by nyu-98 »

I want to reinstall debian and preserve my home partition with only my documents(music, videos, images) dont't need the hidden folders and config files because i want a 'fresh install'.

What i do with the hidden directories and others files like .bashrc .profile .bash_logout?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: reinstall debian and preserve home partition

#2 Post by Head_on_a_Stick »

Backup the documents you want to keep, reinstall without preserving anything then restore your backups.
deadbang

arzgi
Posts: 1197
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: reinstall debian and preserve home partition

#3 Post by arzgi »

If your home is in its own partition /home, like you mentioned, just reinstall but don't format /home partition.

But as noted, always keep fresh backups available.

EDIT: Better read with thought before anwswering, HOAS gave perfect anwser, as usually.

peer
Posts: 451
Joined: 2017-03-26 10:14
Has thanked: 9 times
Been thanked: 22 times

Re: reinstall debian and preserve home partition

#4 Post by peer »

Make a backup of the data before you start.
Delete all files and directories you do not want!!!!
Then install without formatting the home-partition

nyu-98
Posts: 5
Joined: 2019-03-26 00:35

Re: reinstall debian and preserve home partition

#5 Post by nyu-98 »

its works
i reinstalled formatting only root partition and delete all config files in my home partition, in installation i use the same user name and password.

Post Reply