Need help expanding partition

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 1:31 pm

Sorry mean umount
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 1:33 pm

Still can’t log in.
Went back and ran lsblk /dev/sda5
No home is not under mountpoint
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 1:38 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 1:33 pm
Still can’t log in.
Went back and ran lsblk /dev/sda5
No home is not under mountpoint
But are your user folders there?

Code: Select all

ls /home
If they aren't then you had successfully moved them... somewhere. So

Code: Select all

sudo mount /home
again and then

Code: Select all

ls /home
to see if they are there now.

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 1:45 pm

Sorry trying to find the best solution to reply to you.

When I put in ls /home it just goes to a new blank line.
OK now I see all the folders, so I should try to log back in now?
Edit:
Tried logging back in and no go still
Just reloads the login page
gm10 wrote:
Sat Sep 22, 2018 1:38 pm
HotTunaCartel wrote:
Sat Sep 22, 2018 1:33 pm
Still can’t log in.
Went back and ran lsblk /dev/sda5
No home is not under mountpoint
But are your user folders there?

Code: Select all

ls /home
If they aren't then you had successfully moved them... somewhere. So

Code: Select all

sudo mount /home
again and then

Code: Select all

ls /home
to see if they are there now.
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 1:49 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 1:45 pm
OK now I see all the folders, so I should try to log back in now?
I need to know after which step you see them so I know what went wrong exactly.

For the graphical login to work you might need to restart the graphical environment first:

Code: Select all

sudo service lightdm restart
Also don't reboot, we haven't made any permanent fixes yet, so it certainly won't work after a reboot.

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 1:54 pm

Ok I gotcha. After I did sudo

Code: Select all

umount /home
then typed in

Code: Select all

ls /home
I was able to see all the files.
Did

Code: Select all

sudo service lighten restart
And same thing with login

I need to know after which step you see them so I know what went wrong exactly.

For the graphical login to work you might need to restart the graphical environment first:

Code: Select all

sudo service lightdm restart
Also don't reboot, we haven't made any permanent fixes yet, so it certainly won't work after a reboot.
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 2:05 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 1:54 pm
Ok I gotcha. After I did sudo

Code: Select all

umount /home
then typed in

Code: Select all

ls /home
I was able to see all the files.
Ok. So that means you never actually moved the files to the other disk. You either forgot or it produced some error that you ignored, not sure.

What's your priority right now, shall we go back to the way things were or shall we try to move the files again?
HotTunaCartel wrote:
Sat Sep 22, 2018 1:54 pm
Did

Code: Select all

sudo service lighten restart
And same thing with login
Just in case you mistyped that command not just here: it's lightdm. You may have to log out of the terminal session and its temporary home folder first btw., not sure, I never broke my system like that. :D

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 2:11 pm

Oh I just mistyped it. Pain in the ass with big thumbs and small phone lol.
For now I’m fine with going back at least I can use it for now then figure out what I did wrong after.
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 2:19 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 2:11 pm
For now I’m fine with going back at least I can use it for now then figure out what I did wrong after.
Thought so. Run

Code: Select all

sudo nano /etc/fstab
and add a # in front of the last line so it looks like this:

Code: Select all

#UUID=845b3a87-013f-402b-9460-d3198ed62604	/home	ext4	defaults	0	2
Then Ctrl+S to save and Ctrl+X to exit. After a reboot you can hopefully log in normally.

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 2:29 pm

Damn, still can’t log in.
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 2:52 pm

Alright so I’m going through what we discussed. Seems now a lot more info is coming up than prior.
lsblk /dev/sda 5
is now coming up as lsblk :5 not a block device. /home is no longer under mountpoint. I’d i do

Code: Select all

sudo mount /home
I get mount: /home: can’t find in /etc/fstab
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 2:54 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 2:29 pm
Damn, still can’t log in.
Not even in the terminal? Next to impossible. Does

Code: Select all

ls -l /home 
still show the user folders with the correct owners and is the one for the profile you're trying to log in to included?

Also we removed /home from fstab so that's expected, and the sda 5 thing is a typo you made, you added a space.

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 3:07 pm

I can get into control alt F1 but I think that’s all I can do

Code: Select all

ls -l /home
Total 0
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 3:28 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 3:07 pm
I can get into control alt F1 but I think that’s all I can do

Code: Select all

ls -l /home
Total 0
So it's empty again? You must have given me bad information previously, seems the files are on the other disk, after all. You have no idea how much I'd like to just get a remote login to your system and quickly fix this,.. :P

Ok, temporary solution to get you graphical again:

Code: Select all

sudo mkdir /home/$USER
sudo chown $USER:$USER /home/$USER
There's no way that won't be able to log in after that, but it will be with a fresh profile. Your other profile should be on /dev/sda5 (which is not currently mounted). Frankly it might be faster to just restore your backup than us going back and forth with all this miscommunication/mistyping in between.

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 3:39 pm

Lol I’m sorry. Just having a lot of trouble doing this on my phone.
Ok that method got me logged in.
I hate to keep asking easy stuff for you but. How do I get my backups
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 3:49 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 3:39 pm
I hate to keep asking easy stuff for you but. How do I get my backups
I take that question to mean that you didn't actually back up anything. These things don't happen automatically.

Anyway, let's mount your other drive somewhere:

Code: Select all

sudo mkdir -p /mnt/newhome

Code: Select all

sudo mount /dev/sda5 /mnt/newhome
and then you can just go check what's there:

Code: Select all

nemo /mnt/newhome

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 4:00 pm

I thought the system restore was the backups? My last snapshot was last night at 11PM
Nemo-Share-Message: 15:53:19.842: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied
net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
Checked the newhome folder. Seems to be from 2017.
As long as I have internet and can get some stuff done for now. Take a break, didn't think I would rainbows up this bad lol.
gm10 wrote:
Sat Sep 22, 2018 3:49 pm
HotTunaCartel wrote:
Sat Sep 22, 2018 3:39 pm
I hate to keep asking easy stuff for you but. How do I get my backups
I take that question to mean that you didn't actually back up anything. These things don't happen automatically.

Anyway, let's mount your other drive somewhere:

Code: Select all

sudo mkdir -p /mnt/newhome

Code: Select all

sudo mount /dev/sda5 /mnt/newhome
and then you can just go check what's there:

Code: Select all

nemo /mnt/newhome
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

gm10
Level 12
Level 12
Posts: 4135
Joined: Thu Jun 21, 2018 5:11 pm

Re: Need help expanding partition

Post by gm10 » Sat Sep 22, 2018 4:11 pm

HotTunaCartel wrote:
Sat Sep 22, 2018 4:00 pm
I thought the system restore was the backups? My last snapshot was last night at 11PM
If that is timeshift then no, that doesn't include any user data by default.
HotTunaCartel wrote:
Sat Sep 22, 2018 4:00 pm
Checked the newhome folder. Seems to be from 2017.
As long as I have internet and can get some stuff done for now. Take a break, didn't think I would rainbows up this bad lol.
Oh, me neither, this should have been trivial. The instructions I gave you were sound, I don't know where it went wrong. I think you'll just have to search your file systems for where your profile folder went. It should be somewhere after all:

Code: Select all

sudo find / -type d -name $USER
Good luck. ;)

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Sat Sep 22, 2018 4:21 pm

Thank you for your help.
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

User avatar
HotTunaCartel
Level 1
Level 1
Posts: 31
Joined: Wed Jul 04, 2018 2:33 pm

Re: Need help expanding partition

Post by HotTunaCartel » Mon Sep 24, 2018 1:58 am

I ended up not being able to find the /home but its ok, I didn't loose much and most was saved to my dropbox and google photos so no harm done. I did end up formatting both of those partitions and made them into one 160 gig where i just finished installing mint 19 mate which I am enjoying more than cinnamon, less flavour which is nice.
I do have to see if I can backup to a ssd from now on lol.
Thanks again for all the help.
HotTunaCartel - where cheese is king.
4.15.0-24-generic x86_64
Cinnamon 3.8.6
Linux Mint 19 Tara

Post Reply

Return to “Installation & Boot”