Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: move /home from SSD to HDD

  1. #1
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Unhappy move /home - no fstab

    Good day and Happy Holiday to everyone.

    As the title says, I would like to move /home and any thing else not wanted, from the SSD to a new HDD using Ubuntu 11.10.

    terminal says can not copy fstab ? Please help.
    Last edited by toyoracer; December 28th, 2011 at 11:34 PM. Reason: need more help

  2. #2
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot
    Sorry for not checking the forums first.
    Last edited by toyoracer; December 28th, 2011 at 09:21 PM.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: move /home from SSD to HDD

    I used this to move my /home. I read all three and did some mismash of them. I do not think they are really different than the link you have, but the devil is in the details and I did not throughly follow all the steps as posted.

    # MoveHome.txt
    To move /home uses rsync
    https://help.ubuntu.com/community/Pa...ng/Home/Moving
    Others that really are the same with different copy commands:
    Uses cp -ax
    http://www.ivankuznetsov.com/2008/04...partition.html
    Note: cp without -a means root takes ownership which would be a big issue
    Uses cpio
    http://www.psychocats.net/ubuntu/separatehome


    But not more than 5 minutes later I realized I did not want a separate /home but just my data in a data partition. My /home still in / (root) is a little over 1GB and most of that is .wine. My hidden settings is about 250MB, but I have also moved some of the hidden folders with data like the Filrefox profiles & Thunderbird profiles, so I can use them in multiple installs.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: move /home from SSD to HDD

    Thank you for the links following the first It says no fstab ?

    craig@craig-GA-990FXA-UD5:~$ sudo cp /etc/fstsb /etc/fstab.$(date +%Y-%m-%d)
    [sudo] password for craig:
    cp: cannot stat `/etc/fstsb': No such file or directory
    craig@craig-GA-990FXA-UD5:~$


    also how to I get the box around the terminal response?

  5. #5
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: move /home from SSD to HDD

    do not know what these errors are ?

    craig@craig-GA-990FXA-UD5:~$ sudo cp /etc/fstsb /etc/fstab.$(date +%Y-%m-%d)
    [sudo] password for craig:
    cp: cannot stat `/etc/fstsb': No such file or directory
    craig@craig-GA-990FXA-UD5:~$ gksu gedit /etc/fstab

    (gksu:4498): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:4498): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:4498): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:4498): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",


    it did open gedit and there is an error there too.


    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=2fcac174-44dd-4297-a616-b494fd6d9dc5 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=70b1d739-356a-4aff-a011-ea554f571a54 none swap sw 0 0

  6. #6
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: move /home from SSD to HDD

    I am following this guide but nothing but problems.


    https://help.ubuntu.com/community/Pa...ng/Home/Moving

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: move /home from SSD to HDD

    Typo
    sudo cp /etc/fstsb /etc/fstab.$(date +%Y-%m-%d)
    This works for me which I copied from your post:

    gksu gedit /etc/fstab
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: move /home from SSD to HDD

    Thanks. this is what I am getting.


    craig@craig-GA-990FXA-UD5:~$ sudo cp /etc/fstab.$(date +%Y-%m-%d)
    cp: missing destination file operand after `/etc/fstab.2011-12-28'
    Try `cp --help' for more information.


    craig@craig-GA-990FXA-UD5:~$ gksu gedit /etc/fstab

    (gksu:18300): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:18300): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:18300): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:18300): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

  9. #9
    Join Date
    Nov 2011
    Beans
    125
    Distro
    Ubuntu Development Release

    Re: move /home from SSD to HDD

    You can safely ignore the Gtk-Warning lines when using gksudo gedit. It happened to me a few days ago and I researched it but everyone said it was harmless. Now I think about it it has disappeared all by itself (I used gksudo gedit earlier today with no error warnings).

    As to the cp command error I've never used cp so take this with a grain or two of salt but it looks to me that you might be missing a destination.

    According e.g. to this https://help.ubuntu.com/8.04/basic-c...-commands.html

    one needs to specify the file to be copied and a place/filename to copy to.
    Last edited by ts3; December 29th, 2011 at 03:36 AM. Reason: typos, as usual

  10. #10
    Join Date
    Mar 2010
    Location
    BC. Canada
    Beans
    83
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: move /home from SSD to HDD

    Yes I read the help files too. I gave up on moving it. Saved my files and did a re-install with /home/tmp on the HDD. Just finished and everything seems okay.

    Thank you for your time. I will mark this solved.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •