Ask Your Question

Reinstall only the partition/"/root"

asked 2014-07-29 22:49:00 -0500

lobocode gravatar image

updated 2014-07-30 01:15:14 -0500

abadrinath gravatar image

I need to reinstall the partition/"/root". I'm using LVM. How to reinstall only this partition!?

edit retag flag offensive close merge delete


Please don't have # in tags. :) Thanks. BTW, for your problem, two questions. What do you mean by "reinstall"? and Why do you want to "reinstall" (we can fix the problem itself instead of reinstall)?

abadrinath gravatar imageabadrinath ( 2014-07-30 01:16:24 -0500 )edit

That is not clear enough. What do you want to install? /? /root? '/' means everything! and /root doesn't contain anything special to install, you can just copy the (hidden) contents of /etc/skel/ to /root

hedayat gravatar imagehedayat ( 2014-07-30 01:23:02 -0500 )edit

Well, I accidentally remove the filesystem-3.2.0. That is, to him, the systemd and entire file system. The partition is LVM (/, /swap /root,/home). The part with problem, is / where's all the logical system.

lobocode gravatar imagelobocode ( 2014-07-30 08:00:22 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-07-31 15:48:22 -0500

hedayat gravatar image

If I have understood correctly, you have removed filesystem package, and you have separate partitions for / and /root (and also /home), and now you want to reinstall everything except /home, right?

OK, let's start: First, having a separate partition for /root is almost never useful! /root is the home directory of the root user and is (should be!) almost empty (except some minor settings for root user). Therefore, there is no need to have a separate partition at all. Having /, /home/ and swap is enough, and if any other partitions are going to be added, probably the first candidate is /boot.

Now, my suggestion is this: reinstall Fedora. However, go to the partitioning screen and select customized partition management to edit your existing partitions manually. Now, remove your /root partition. Select your / partition, add the space freed by removing / to it, select / as its mount point and select it to be formatted. Select your existing /home/ partition, enter /home as its mount point and DO NOT select it to be formatted, so that your existing data in /home partition will remain intact. Now proceed with the installation normally.

edit flag offensive delete link more


Solved. Reinstalled everything by anaconda and I changed in /etc/fstab to redirect the home.

lobocode gravatar imagelobocode ( 2014-07-31 19:31:57 -0500 )edit

answered 2014-07-31 15:56:24 -0500

amehar gravatar image

Run the installer and choose custom partitions, create your /home and what ever else you had a select do not format, this will then install the OS into the selected drive and use the other drive as /home and mount it

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-07-29 22:49:00 -0500

Seen: 1,013 times

Last updated: Jul 31 '14