Linux with ssd and hdd

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Installing on SSD+HDD (solved)

Post by alexnetdoc » Tue Dec 19, 2017 1:14 am

I have 128GB SSD and 1TB HDD
Is it possible to make /root and swap directories on SSD and /Home folder on HDD so I wouold have a lot of space for games, documents, etc?

if it’s possible, the system boots and runs on /root? /Home folder is only for data storage in Linux?
Please advice, I don’t want to lose performance on reading SSD+HDD and be able to use all my storage efficently (SSD for booting, HDD for storage, game installs, software installs etc)

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

prestonR Level 5
Posts: 839 Joined: Wed Jan 07, 2015 12:24 pm Location: Harare

Re: Installing on SSD+HDD

Post by prestonR » Tue Dec 19, 2017 3:44 am

Yes.
— Boot LiveUSB
— Click ‘Install Linux Mint
— pick ‘Something else’

— set/create your ‘/’ root partition by clicking on your SSD
— hit ‘New’ if there is ‘unallocated (free) space or ‘Change’ if you want to use an existing partition on your SSD
— in the pop-up pick format file system ‘ext4’, ‘mount point’ = ‘/’

— set/create your ‘/home’ partition by clicking on your HDD
— hit ‘New’ if there is ‘unallocated (free) space or ‘Change’ if you want to use an existing partition on your HDD
— in the pop-up pick format file system ‘ext4’, ‘mount point’ = ‘/home’

— set/create your swap partition by clicking on your SSD
— hit ‘New’ if there is ‘unallocated (free) space or ‘Change’ if you want to use an existing partition on your SSD
— in the pop-up pick format file system ‘use for swap’

— point grub install to the root of your SSD, like ‘sda’ or, if you have an ‘uefi’ bios, to the ‘efi’ boot partition, e.g sda1

Re: Installing on SSD+HDD

Post by alexnetdoc » Tue Dec 19, 2017 4:08 am

Thank you for an amazing reply! That means it will use fast ssd for booting and running the system and homefolder will have apps, games etc?

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing on SSD+HDD

Post by catweazel » Tue Dec 19, 2017 4:10 am

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

Re: Installing on SSD+HDD

Post by alexnetdoc » Tue Dec 19, 2017 4:11 am

I asked because I want to have the system booting and running on SSD, apps can be also on SSD. But games I want and documents to be on HDD

Читайте также:  Otus специализация administrator linux

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing on SSD+HDD

Post by catweazel » Tue Dec 19, 2017 4:14 am

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

prestonR Level 5
Posts: 839 Joined: Wed Jan 07, 2015 12:24 pm Location: Harare

Re: Installing on SSD+HDD

Post by prestonR » Tue Dec 19, 2017 5:19 am

I think you worry too much about the amount of space your Linux Mint will use. This isn’t Windows; Mint/Linux doesn’t ‘grow’, you can run a Mint system on 20-30GB for years and keep 10GB free.

The way I described above will have your system on SSD and /home on HDD. Home means all your personal files plus user-specific settings of installed software in ‘hidden’ folders that have names with a ‘.’, e.g ‘.mozilla’ has your firefox profile, ‘.config/autostart’ has links to all programs that you would like to run at boot etc.

The idea is that you only need to back-up the /home HDD drive to keep your data and all app settings safe. Since linux is free your actual system on the SSD is replaceable, if anything breaks just reinstall.

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing on SSD+HDD

Post by catweazel » Tue Dec 19, 2017 5:22 am

prestonR wrote: I think you worry too much about the amount of space your Linux Mint will use. This isn’t Windows; Mint/Linux doesn’t ‘grow’, you can run a Mint system on 20-30GB for years and keep 10GB free.

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

Источник

Dual Booting Ubuntu and Windows With a SSD and a HDD

Dual booting Ubuntu and Windows is not that complicated and I have covered it in detailed tutorial in the past. Recently, I also wrote about dual booting on a Bitlocker encrypted Windows system.

And yet here I am talking about it again. Why? Because the scenario is slightly different and several It’s FOSS readers have asked questions about this particular scenario.

Here’s the scenario: you got a new computer. It comes with a SSD with limited disk space like 120 GB and an additional HDD with 500 GB or 1 TB disk space. This is usually the scene with gaming laptops where large disk space matters for storing game files but SSD is required for faster boot and computing experience. 1 TB SSD would increase the system price a lot and hence this particular combination of SSD and HDD.

Now, if you want to dual boot on a system with two disks, you may get confused about where should you be installing Linux.

  1. Install Linux completely on the SSD. You’ll get full advantage of SSD speed, but then you will have only a limited disk space. This could work if you have 180 GB or 200 GB or more on SSD but won’t work with 120 GB SSD.
  2. Install Linux completely on the HDD. You’ll have plenty of disk space, but Linux will boot slower, and you won’t get the SSD advantage.
  3. A compromise between SSD and HDD. You keep the root (and thus swap and boot) on SSD and you put your Home directory on HDD. This way, you boot faster into Linux and you have plenty of disk space for your personal documents and downloads.
Читайте также:  Script linux bash echo

There is also a fourth option here. You keep root as well as home on SSD. And you make a partition on the HDD and then soft link it to your Music, Videos and Downloads folder. This way, application-specific files like browser caching utilize the SSD and other big files stay on HDD. But this could be complicated to set specially with fast boot enabled on Windows which would mean special efforts to auto-mount the partitions.

I recommend going with the third option for dual booting on separate hard drives and this is what I am going to show you in this tutorial.

Dual boot Ubuntu and Windows on a system with SSD and HDD

dual booting system hdd ssd

I have used an Acer Predator gaming laptop in this tutorial to install Ubuntu alongside Windows. The tutorial should work for other hardware manufacturers and Linux distributions.

I advise reading through all the steps first and then follow the tutorial on your system.

Prerequisite

Here are the things you need in this tutorial:

  • A computer that comes preinstalled with Windows 10 and has both an SSD and an HDD.
  • A USB key (pen drive or USB drive) of at least 4 GB in size and no data on it.
  • Internet connection (for downloading Ubuntu ISO image and live USB creating tool).
  • Optional: External USB disk for making back up of your data.
  • Optional: Windows recovery disk (if you encounter any major boot issues, it could be fixed).

Step 1: Make backup of your data

Since you’ll be dealing with disk partitions, it will be wise to make a copy of your important files on an external disk. This is optional but having a backup is always a good idea.

You can use an external HDD (slower but cheaper) or SSD (faster but expensive) and copy the important files and folders on it.

[lasso box=”B08GTXVG9P” link_id=”20395″ ref=”sandisk-500gb-extreme-portable-ssd-up-to-1050mb-s-usb-c-usb-3-2-gen-2-external-solid-state-drive-sdssde61-500g-g25″ >

[lasso box=”B08JKFY8FH” link_id=”20396″ ref=”toshiba-canvio-advance-1tb-portable-external-hard-drive-usb-3-0-black-hdtca10xk3aa” >

Step 2: Make disk partition for Ubuntu installation

In the Windows menu, search for disk and go to ‘Create and format hard disk partitions’.

disc management windows

You’ll see both SSD and HDD here. You have to shrink both SSD and HDD one by one and make some free space that will be utilized later for installing Ubuntu Linux.

Right click on the SSD and choose Shrink Volume option.

shrink volume for ubuntu install ssd

It will give you the largest possible disk partition you can make here. Don’t use it all. Leave some extra space for Windows. I have given it 30 GB which is a decent disk space for the root partition. Anything between 20 and 40 GB is a fair choice.

shrink volume for ubuntu install ssd 1

Repeat the process with the HDD as well. I made around 200 GB of free space for Linux. You are free to decide how much space you want to allocate to Ubuntu.

Here’s what the final disk scenario looks like for my system. 29.3 GB free space on SSD and 195.3 GB free space on HDD.

shrink volume for ubuntu install ssd 2

Step 3: Download Ubuntu

Download Ubuntu Desktop

Go to Ubuntu’s website and download the ISO file. If you need to download Ubuntu via torrents, you can find it under the ‘alternative downloads’.

Step 4: Create bootable Ubuntu USB

You can easily create bootable Ubuntu USB in Windows, Linux and macOS. Since the focus here is on Windows, you can use a Windows specific tool like Rufus. Etcher is also a good tool in this regard.

Download Rufus from its website.

Plug in your USB. Make sure it doesn’t have any important data because it will be formatted.

Читайте также:  Slackware linux current iso

Run the Rufus tool. It automatically identifies the plugged in USB but double check it anyway. Then browse to the location of the downloaded ISO image and ensure that it uses GPT partitioning scheme and UEFI target system.

Make Live Usb With Rufus

Hit the start button and wait for the process to complete. Once you have the live Ubuntu USB ready, the next step is to boot from it.

Step 5: Boot from the live USB

You may choose to access the UEFI settings when the system starts by pressing F2/F10/F12 button but a more robust way is go through Windows.

In the Windows menu, search for UEFI and then click on ‘Change advanced startup options’:

Accessing Uefi Settings Windows

Under the Advanced startup option, click on Restart now button.

Access Uefi Settings Windows

On the next screen, click on ‘Use a device’:

Access Uefi Settings Windows 1

Recognize the USB disk with its name and size. It may also be displayed as EFI USB Device.

Access Uefi Settings Windows 2

Now it will power off your system and reboot into the disk you chose which should be the live USB disk. You should see a screen like this:

Ubuntu Live Install Screen

Step 6: Installing Ubuntu Linux

Now that you have booted from the live USB, you may start the installation procedure. The first few steps are simple. You choose the language and keyboard.

Install Ubuntu 2

  • Install Ubuntu 3
  • On the next screen, choose Normal installation. No need to download updates or install third-party software just yet. You may do it after installation completes.

    Installing Ubuntu in dual boot

    After some time you’ll see the Installation type screen. Here, opt for ‘Something else‘ option:

    choose something else installing ubuntu

    You should see the free space you had created earlier on the next screen. Select the free space created on SSD (you can guess by its size if nothing else) and click on the + sign to use this free space.

    using free space while installing ubuntu

    By default, it will take the entire free space which is a good thing. Keep the partition type primary.

    What you need to change is the file system type to Ext4 and mount point to / (/ means root in Linux).

    creating root while installing ubuntu

    Now, select the other free space on the HDD and click the + sign.

    using free space while installing ubuntu 1

    This time choose Home as the mount point. Partition remains primary and file type ext4.

    creating home while installing ubuntu

    You don’t need to worry about ‘Device for boot loader installation’. You have a pre-installed Windows UEFI system. You should have an EFI partitioning (ESP) already (for me it’s 100 MB partitioning with type efi). The Ubuntu installer is intelligent and can automatically detect this partition and use it for Grub bootloader.

    This is the final partitioning scheme for my system. If everything looks good, hit the Install Now button.

    disk partition dual boot dual disk

    Things are pretty straightforward from here. Select a timezone.

    Installing Ubuntu Timezone Selection

    Enter a username, computer’s name, i.e. hostname and an easy to remember password.

    Installing Ubuntu Account Setup

    Now wait for like 7-8 minutes for the installation to finish.

    Installing Ubuntu

    Restart the system when the installation finishes.

    Restart After Installing Ubuntu

    You’ll be asked to remove the USB disk. Remove the disk and press enter.

    Ubuntu Finished Installation

    If things go right, you should see the black or purple grub screen with option to boot into Ubuntu and Windows.

    Dual Boot Grub Screen

    That’s it. You can now enjoy both Windows and Linux on the same system with SSD and HDD. Nice, isn’t it?

    I hope this tutorial was helpful to you. If you still have questions or facing any issues, let me know in the comment section, and I’ll try to help you out.

    Источник

    Оцените статью
    Adblock
    detector