change /home to mount point failed

Archived topics about LMDE 1 and LMDE 2
Locked
inflatablemouse

change /home to mount point failed

Post by inflatablemouse »

Hey guys,

I found a lot of posts about changing mount points and I thought it was simple, but it failed.

Right now everything is on one partition. I want to change /home to /dev/sdd1.

So, I mounted /dev/sdd1 /mnt/extra and copied the contents of /home to it.

I tested from a terminal by sudo mount -t ext2 /dev/sdd1 /home

Seemed to work so I edited fstab and added the line

/dev/sdd1 /home ext2 defaults 0 2

However, when I tried to login it said my home didn't exist if I wanted to mount to / instead. Of course not :). I switched to another tty and logged in as root. /home was not mounted and when I mounted it manually I could login again.

What did I do wrong? I looked around in /var/log, looked at boot (empty) dmesg .. which file should log errors about this issue?

Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: change /home to mount point failed

Post by kc1di »

Hello inflatablemouse,

What your trying to do is have a separate /home partition but you have not made a new partition as i see it.
you will have to make a partition on sdd1 with a mount point of /home. it would need to be formatted as a linux partition in order to work
what I gather you may have done was just copy the /home folder to another drive. That is not the same as a partition.
and the drive is most likely already being mounted as some other partition or drive in the /media or /mnt folders of your root system.

is sdd1 a H.D. or flashdrive? that may make a difference also.
you may find the following page helpful:
http://www.howtogeek.com/116742/how-to- ... ng-ubuntu/
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
inflatablemouse

Re: change /home to mount point failed

Post by inflatablemouse »

Thanks but I do have a partition, I should have mentioned it.

The drive was in use as a separate drive mounted to /mnt/extra. It has a GPT partition table and is formatted as ext2.
Locked

Return to “LMDE Archive”