<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 18, 2016, 3:50 AM Ralf Mardorf <<a href="mailto:silver.bullet@zoho.com">silver.bullet@zoho.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="gmail_msg">
<br class="gmail_msg">
before you follow my following advices, wait until another subscriber<br class="gmail_msg">
confirms that I didn't made a mistake by accident.<br class="gmail_msg">
<br class="gmail_msg">
Run<br class="gmail_msg">
<br class="gmail_msg">
$ sudo -i<br class="gmail_msg">
# apt update -qq && apt install gparted util-linux<br class="gmail_msg">
# umount /dev/sdb1<br class="gmail_msg">
# umount /dev/sdb2<br class="gmail_msg">
# umount /dev/sdb3<br class="gmail_msg">
# umount /dev/sdb4<br class="gmail_msg">
# gparted<br class="gmail_msg">
<br class="gmail_msg">
on the upper right corner there's a selection box.<br class="gmail_msg">
Ensure that /dev/sda is the drive with around 40G, including a ext4<br class="gmail_msg">
file system and the / mount point. If so, select /dev/sdb and ensure<br class="gmail_msg">
that this is drive providing around 80G and that it does _not_ include<br class="gmail_msg">
an ext file system and that _nothing_ is mounted. If it shouldn't be<br class="gmail_msg">
like that _stop_. If everything should be ok, then continue with<br class="gmail_msg">
<br class="gmail_msg">
Device -> Create partition table...<br class="gmail_msg">
<br class="gmail_msg">
to erase the disk and to create a msdos partition table again.<br class="gmail_msg">
After that<br class="gmail_msg">
<br class="gmail_msg">
Partition -> New<br class="gmail_msg">
<br class="gmail_msg">
Create a primary ext4 partition and when finished close gparted.<br class="gmail_msg">
<br class="gmail_msg">
# mkdir /mnt/new_home<br class="gmail_msg">
# mount /dev/sdb1 /mnt/new_home/<br class="gmail_msg">
<br class="gmail_msg">
Now close all applications, excepted of the terminal and don't<br class="gmail_msg">
do anything else with your computer, just run<br class="gmail_msg">
<br class="gmail_msg">
# ls -hAl /home/ /mnt/new_home/<br class="gmail_msg">
<br class="gmail_msg">
home/ at least contains your home and it should not contain any<br class="gmail_msg">
directory or file that name starts with a dot. If so, continue with<br class="gmail_msg">
<br class="gmail_msg">
# cp --archive /home/* /mnt/new_home/<br class="gmail_msg">
# echo $?<br class="gmail_msg">
<br class="gmail_msg">
The output of echo $? must be 0. If so continue with<br class="gmail_msg">
<br class="gmail_msg">
# diff /home/FOO/ /mnt/new_home/FOO | grep Only\ in<br class="gmail_msg">
<br class="gmail_msg">
where FOO needs to be replaced by one directory after the other. Most<br class="gmail_msg">
likely there only is one directory, your user's home available.<br class="gmail_msg">
<br class="gmail_msg">
There must be _no_ output from diff. If so, then most likely everything<br class="gmail_msg">
went well.<br class="gmail_msg">
<br class="gmail_msg">
# exit<br class="gmail_msg">
<br class="gmail_msg">
Post the output of<br class="gmail_msg">
<br class="gmail_msg">
$ blkid /dev/sdb1<br class="gmail_msg">
<br class="gmail_msg">
and attach /etc/fstab to your email.<br class="gmail_msg">
<br class="gmail_msg">
Regards,<br class="gmail_msg">
Ralf<br class="gmail_msg">
<br class="gmail_msg"><br></blockquote></div><div><br></div><div><br></div><div>Hi Ralf</div><div><br></div><div>Everything seemed to go fine. Heres the output you asked for</div><div><br></div><div><br></div><div class="gmail_quote"></div><div>tim@tim-W8TAH:~$ blkid /dev/sdb1<br>/dev/sdb1: LABEL="Data" UUID="17d6f0e8-3ce4-4190-8f92-c4182acc9ce0" TYPE="ext4" PARTUUID="6a1c233a-01"<br>tim@tim-W8TAH:~$ cat /etc/fstab<br># /etc/fstab: static file system information.<br>#<br># Use 'blkid' to print the universally unique identifier for a<br># device; this may be used with UUID= as a more robust way to name devices<br># that works even if disks are added and removed. See fstab(5).<br>#<br># <file system> <mount point> <type> <options> <dump> <pass><br># / was on /dev/sda1 during installation<br>UUID=118b4852-0609-4250-9a0b-d27b406958e3 / ext4 errors=remount-ro 0 1<br># swap was on /dev/sda5 during installation<br>UUID=205cd43f-a704-44b4-a047-1f8396ddcd2a none swap sw 0 0<br>/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0<br>/dev/sdb /mnt/data auto nosuid,nodev,nofail,x-gvfs-show 0 0<br>tim@tim-W8TAH:~$ <br><br></div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tim
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Tim Holmes - W8TAH<br>
Sent from my LG Stylo</p>
</div></div>