[SOLVED] Recover my /home after a failed recovery

Help with issues regarding installation of Debian

[SOLVED] Recover my /home after a failed recovery

Postby JeSuisFlaneur » 2020-08-31 17:26

Code: Select all
mark@lexington:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 232.9G  0 disk
├─sda1   8:1    0    28G  0 part /
├─sda2   8:2    0     1K  0 part
├─sda5   8:5    0     8G  0 part [SWAP]
└─sda6   8:6    0   197G  0 part
sr0     11:0    1  1024M  0 rom


Is it possible to make / know that /sda6 is /home? How do I do that?

Longer version:
I tried to install nvidia drivers and the OS blew up. My USB live could not execute to recover the display. I decided to reinstall Deb10 onto / and it's fine, but seems to not know that /home is there (or could be accessible).
Last edited by JeSuisFlaneur on 2020-08-31 19:58, edited 1 time in total.
JeSuisFlaneur
 
Posts: 44
Joined: 2019-08-28 16:00

Re: Recover my /home after a failed recovery

Postby LE_746F6D617A7A69 » 2020-08-31 17:55

JeSuisFlaneur wrote:Is it possible to make / know that /sda6 is /home? How do I do that?
Normally You should do this during partitioning stage of the installation, by selecting mount point for sda6 to be /home.

But in Your current situation, You can use the following instructions:
https://askubuntu.com/questions/20287/how-to-re-mount-a-different-partition-as-home

Those instructions are from Ubuntu forums, but they are valid also for Debian.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 394
Joined: 2020-05-03 14:16

Re: [SOLVED] Recover my /home after a failed recovery

Postby JeSuisFlaneur » 2020-08-31 20:00

Thank you, Linux Community.

I did the minimal "fix". Using lsblk, I obtained the UUID of the (now) /dev/sda6 ( old /home ). Using sudo nano to edit /etc/fstab, I entered the line per the suggested post, above. Upon reboot, the /home is back.

The cpu temp is going to need some work, but all is good and minor tweeks are no problem.
JeSuisFlaneur
 
Posts: 44
Joined: 2019-08-28 16:00

Re: [SOLVED] Recover my /home after a failed recovery

Postby sgosnell » 2020-09-02 01:00

If you have multiple choices of partitions, you can mount all of them and see what is in them. You can mount them anywhere you like, creating new mount points if desired, and after you find the correct partition, fix fstab as you did, then unmount the temporary mounts.
Take my advice, I'm not using it.
sgosnell
 
Posts: 864
Joined: 2011-03-14 01:49

Re: [SOLVED] Recover my /home after a failed recovery

Postby Brucedg » 2020-09-20 08:47

Not really good at this but thanks for this!
Brucedg
 
Posts: 1
Joined: 2020-09-20 08:43


Return to Installation

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable