Need help expanding partition
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Need help expanding partition
Still can’t log in.
Went back and ran lsblk /dev/sda5
No home is not under mountpoint
Went back and ran lsblk /dev/sda5
No home is not under mountpoint
Re: Need help expanding partition
But are your user folders there?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
Code: Select all
ls /home
Code: Select all
sudo mount /home
Code: Select all
ls /home
Re: Need help expanding partition
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
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 pmBut are your user folders there?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 mountpointIf they aren't then you had successfully moved them... somewhere. SoCode: Select all
ls /home
again and thenCode: Select all
sudo mount /home
to see if they are there now.Code: Select all
ls /home
Re: Need help expanding partition
I need to know after which step you see them so I know what went wrong exactly.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?
For the graphical login to work you might need to restart the graphical environment first:
Code: Select all
sudo service lightdm restart
Re: Need help expanding partition
Ok I gotcha. After I did sudo then typed in I was able to see all the files.
Did
And same thing with login
Code: Select all
umount /home
Code: Select all
ls /home
Did
Code: Select all
sudo service lighten restart
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:Also don't reboot, we haven't made any permanent fixes yet, so it certainly won't work after a reboot.Code: Select all
sudo service lightdm restart
Re: Need help expanding partition
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.HotTunaCartel wrote: ⤴Sat Sep 22, 2018 1:54 pm Ok I gotcha. After I did sudothen typed inCode: Select all
umount /home
I was able to see all the files.Code: Select all
ls /home
What's your priority right now, shall we go back to the way things were or shall we try to move the files again?
Just in case you mistyped that command not just here: it'sHotTunaCartel wrote: ⤴Sat Sep 22, 2018 1:54 pm DidAnd same thing with loginCode: Select all
sudo service lighten restart
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. Re: Need help expanding partition
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.
For now I’m fine with going back at least I can use it for now then figure out what I did wrong after.
Re: Need help expanding partition
Thought so. RunHotTunaCartel 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.
Code: Select all
sudo nano /etc/fstab
#
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
Re: Need help expanding partition
Alright so I’m going through what we discussed. Seems now a lot more info is coming up than prior.
I get mount: /home: can’t find in /etc/fstab
is now coming up as lsblk :5 not a block device. /home is no longer under mountpoint. I’d i dolsblk /dev/sda 5
Code: Select all
sudo mount /home
Re: Need help expanding partition
Not even in the terminal? Next to impossible. Does
Code: Select all
ls -l /home
Also we removed /home from fstab so that's expected, and the sda 5 thing is a typo you made, you added a space.
Re: Need help expanding partition
I can get into control alt F1 but I think that’s all I can do
Total 0
Code: Select all
ls -l /home
Re: Need help expanding partition
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,..HotTunaCartel wrote: ⤴Sat Sep 22, 2018 3:07 pm I can get into control alt F1 but I think that’s all I can doTotal 0Code: Select all
ls -l /home
Ok, temporary solution to get you graphical again:
Code: Select all
sudo mkdir /home/$USER
sudo chown $USER:$USER /home/$USER
Re: Need help expanding partition
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
Ok that method got me logged in.
I hate to keep asking easy stuff for you but. How do I get my backups
Re: Need help expanding partition
I take that question to mean that you didn't actually back up anything. These things don't happen automatically.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
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
Code: Select all
nemo /mnt/newhome
Re: Need help expanding partition
I thought the system restore was the backups? My last snapshot was last night at 11PM
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.
Checked the newhome folder. Seems to be from 2017.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.
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 pmI take that question to mean that you didn't actually back up anything. These things don't happen automatically.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
Anyway, let's mount your other drive somewhere:Code: Select all
sudo mkdir -p /mnt/newhome
and then you can just go check what's there:Code: Select all
sudo mount /dev/sda5 /mnt/newhome
Code: Select all
nemo /mnt/newhome
Re: Need help expanding partition
If that is timeshift then no, that doesn't include any user data by default.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
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: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.
Code: Select all
sudo find / -type d -name $USER
Re: Need help expanding partition
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.
I do have to see if I can backup to a ssd from now on lol.
Thanks again for all the help.