Results 1 to 10 of 10

Thread: Ubuntu Installation in two SSD + HDD.-

  1. #1
    Join Date
    Jul 2019
    Beans
    5

    Ubuntu Installation in two SSD + HDD.-

    Hello! I would like to do a question about ubuntu installation in two SSD + HDD.-

    Is worthy an a installation in two SSD on these way? :


    SSD 1
    /EFI Boot
    /Root

    SSD 2
    /Home (for Steam games installations) (not Media Files)

    HDD
    Storage Media files but no in /HOME and Transmision downloads.-
    /Swap

    wich was the best way for that?

    my idea is to put the media files in HDD for not use SSD, and the swap partition also in HDD.


    i want to use Only SSD disks to system (SSD 1 - ubuntu) and steam games (SSD 2) and the swap partition and the media files in HDD and the Transmision's download on HDD for not "harm" the SSD.-


    have sense?


    Thanks!!!
    Last edited by germanloco; 1 Week Ago at 01:32 PM.

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,858
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Ubuntu Installation in two SSD + HDD.-

    If those are the drives that you have already then, yes, that is a sensible way to use them.

  3. #3
    Join Date
    Jul 2019
    Beans
    5

    Re: Ubuntu Installation in two SSD + HDD.-

    Thanks for answer!

    How do I create a MEDIA disk so that in file managers (like nautilius) what is shown in Pictures, Music, Documents is what is in the HDD and not in /home(SSD)?

    I hope it is understood!


  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu Installation in two SSD + HDD.-

    I keep /home inside / (root) on my SSD.
    But have all data in a data partition in HDD linked back into /home, so normal locations look like standard install. Just links instead of actual folders.
    You can have links from second SSD & HDD, also.
    I have /home in / on SSD only so the mostly hidden user configuration files also load faster. Since two SSD, it probably does not matter.
    Is one SSD faster than other?

    New installs now use swap file, not swap partition. If over 4GB of RAM, you may not use swap, anyway. And you really do not want to use swap as it is orders of magnitude slower than RAM. My old laptop with 1.5GB of RAM would use swap if I loaded more than a couple of apps at once. Very slow then.

    All similar threads with some discussion:
    http://ubuntuforums.org/showthread.php?t=2315714
    Splitting home directory discussion and details:
    http://ubuntuforums.org/showthread.php?t=1811198
    http://ubuntuforums.org/showthread.php?t=1901437
    http://ubuntuforums.org/showthread.p...hlight=%2Fdata

    https://askubuntu.com/questions/1013...d-hdd-mounting &
    https://askubuntu.com/questions/1058...es-on-hdd-disk
    Last edited by oldfred; 1 Week Ago at 03:21 PM.
    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.

  5. #5
    Join Date
    Jul 2019
    Beans
    5

    Re: Ubuntu Installation in two SSD + HDD.-

    Thanks Olfred!!! This is what i want to do!!

    I will read that posts!

  6. #6
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,858
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Ubuntu Installation in two SSD + HDD.-

    Quote Originally Posted by germanloco View Post
    Thanks for answer!

    How do I create a MEDIA disk so that in file managers (like nautilius) what is shown in Pictures, Music, Documents is what is in the HDD and not in /home(SSD)?

    I hope it is understood!

    Oldfred has already provided a lot of the details in those links, and the way I would approach that is to mount the HDD somewhere out of the way, under /mnt and then use symbolic links.

    It doesn't matter what you call it: /mnt/data or /mnt/hdd if you're feeling conventional, /mnt/bitfatpileofspinningrust if you're feeling more whimsical. Just something that you'll remember what it is. Create a directory in /mnt of your chosen name, and that will become the mount point for your HDD. You could have separate partitions for different types of data, but I don't see any point in doing that for flat data. A big chunk of storage organised in directories will be fine.

    You mount filesystems with the mount command, and unmount them with the umount command (note that it isn't unmount). Automatic mounting at boot time is defined by the /etc/fstab (filesystem table) file. You just put an entry in there for your data partition, and specify that you want it mounted at your new mount point, and stick in whatever other options you need. Refer to the partition by its UUID - the /dev/sdwhatever designations can vary between boots.

    Once you've got your hdd mounting properly, whack in some symlinks from your user folders to where the storage is. They'll just redirect writes to those files/folders to wherever the symlink points to. If it's just a one-user, or essentially one user because you're sharing data, you can link ~/Pictures to /mnt/bitfatpileofspinningrust/Pictures, ~/Videos to /mnt/bitfatpileofspinningrust/Videos, and so on. If it's a multi-user system you can link /home/user1/Pictures to /mnt/bitfatpileofspinningrust/Pictures/user1, and /home/user2/Pictures to /mnt/bitfatpileofspinningrust/Pictures/user2, and so on.

    Once it's all set up you won't really need to think about it again.

    Don't forget to take regular backups.
    None but ourselves can free our minds

  7. #7
    Join Date
    Jul 2019
    Beans
    5

    Re: Ubuntu Installation in two SSD + HDD.-

    If I start the system installation from scratch and in the partition options I do the Media partition in ext4 format, is it necessary to do all the procedure for the disk to mount every time I start the system?

    Thanks!

  8. #8
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,858
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Ubuntu Installation in two SSD + HDD.-

    I can't remember if the installer lets you set arbitrary mount points or not. If it does, then it should handle the fstab entry for you, yes. You'd still need to make your own symlinks, though.

    Don't be tempted to set the mount point as /media, though, even though that's likely to be an option if there's a dropdown list; that is where removable storage is traditionally mounted and may well show on your desktop, which isn't what you want.

    fstab is pretty straightforward, though. It's just a text file with an entry per line. It just looks scary because UUIDs are long strings of random characters.

  9. #9
    Join Date
    Jul 2019
    Beans
    5

    Re: Ubuntu Installation in two SSD + HDD.-

    Ok! I Will try with fstab..

    Thanks!

  10. #10
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,858
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Ubuntu Installation in two SSD + HDD.-

    There's a lot of information available about how fstab works, some of which oldfred has already linked to, as well as the fstab manpage. The worst thing that's likely to happen if you get it wrong is that the partition just doesn't mount.

    If you get stuck just post back with where you've got to and people will be happy to help.

Tags for this Thread

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
  •