Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #164481

Re: Is it possible to fully reinstall the base system without affecting /home?

From arian <debian@semioptimal.net>
Newsgroups linux.debian.user
Subject Re: Is it possible to fully reinstall the base system without affecting /home?
Date 2016-02-22 11:30 +0100
Message-ID <r4VUC-4ex-19@gated-at.bofh.it> (permalink)
References <r4QrT-9G-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Just to make sure, your filesystem is OK, right?

> But I thought I'd ask if there's anything close to this that would not
> require backing up everything and reformatting the hard disk.
> Wouldn't it be possible, for example, to boot the system up from a
> live CD, and reinstall the base system, leaving /home untouched?  (I
> should mention that the hard disk in question is just one big
> partition, including /home and everything else.)

Just do a normal install with manual filesystem configuration, choose the existing partition with the prior filesystem format and make sure to _not_ choose format partition. The installer will warn you, something along the lines that it will overwrite the old /usr, /etc/, /var, etc - which is what you want.

optionally you can remove all directories but /home (and may be /root prior to installation from a live system (the installer will do).

I strongly advise to make the backup before nonetheless - breaking things is easy, especially in the installer. This procedure will however spare you restoring thing from the backup, if it works.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is it possible to fully reinstall the base system without affecting /home? Kynn Jones <kynnjo@gmail.com> - 2016-02-22 05:40 +0100
  Re: Is it possible to fully reinstall the base system without  affecting /home? Dalios <dalios@eumx.net> - 2016-02-22 10:50 +0100
    Re: Is it possible to fully reinstall the base system without  affecting /home? Keith Bainbridge <keithrbaugroups@gmail.com> - 2016-02-22 11:40 +0100
  Re: Is it possible to fully reinstall the base system without  affecting /home? arian <debian@semioptimal.net> - 2016-02-22 11:30 +0100
    Re: Is it possible to fully reinstall the base system without  affecting /home? <tomas@tuxteam.de> - 2016-02-22 12:10 +0100
  Re: Is it possible to fully reinstall the base system without  affecting /home? Jochen Spieker <ml@well-adjusted.de> - 2016-02-22 17:40 +0100
  Re: Is it possible to fully reinstall the base system without  affecting /home? "John L. Ries" <jries@salford-systems.com> - 2016-02-22 18:00 +0100

csiph-web