LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-02-2019, 11:29 PM   #1
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 36

Rep: Reputation: Disabled
boot linux across 2 drives.


I've this 128GB ssd in this new computer I just had built (he did it cheaper than I could, neater, too) along with a 2TB hdd. What I am looking to do is to put all the files needed for boot on the ssd, and everything else on the 2 TB drive. I've seen schemes that put / on the ssd and /home on the hdd. I want something like /boot on the ssd and / on the hdd. Probably won't work. but how to get /root on the second drive?

I appreciate any and all help. I've been searching google, kali forums. Nothing like I really want it and thats the bootable portion of the os on the ssd for speedy boot
 
Old 02-03-2019, 12:18 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,622

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
Put the root wherever you want. However you'll be seriously disappointed if you don't have it on the ssd. For a start, you need (a lot) more than just /boot to get an operating system up and running, and every program load will be much slower from spinning disk.
There are separate directories you can put on the disk if you want, but I always put root on the fastest device available.
 
2 members found this post helpful.
Old 02-03-2019, 01:43 AM   #3
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Add to what syg00 wrote: booting is a tiny fraction of the time normal people spend on a computer. Operations using the most time you want to be fast, so on the SSD. Reading and writing your own files to or from storage is a relatively small portion of total time, so makes less difference if not read or written from/to the fastest. Thus, all OS files on SSD, your own data on the HD, particularly video files, which though large, can only be utilized at the rate required to play or record them at appropriate speed.
 
Old 02-03-2019, 08:54 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,040
Blog Entries: 7

Rep: Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778
I also have a "128GB" (really it's 111.8 GiB) SSD.
I have my complete system on it, / and /home.
I have set some folders (mostly media) aside to 2 more spinning hds i have in there.
that's enough to have the bulk of big data out of the way so that / doesn't fill up. that's how it works for me.
the decrease of bootup time and overall responsiveness is amazing.
 
Old 02-03-2019, 10:55 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,146

Rep: Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364Reputation: 5364
Quote:
Originally Posted by LilDeadGirl View Post
I've this 128GB ssd in this new computer I just had built (he did it cheaper than I could, neater, too) along with a 2TB hdd. What I am looking to do is to put all the files needed for boot on the ssd, and everything else on the 2 TB drive. I've seen schemes that put / on the ssd and /home on the hdd. I want something like /boot on the ssd and / on the hdd. Probably won't work. but how to get /root on the second drive?

I appreciate any and all help. I've been searching google, kali forums. Nothing like I really want it and thats the bootable portion of the os on the ssd for speedy boot
(part bolded for emphasis only) Kali? You have read the sticky posts about Kali, and their own website about who and what it's targeted for, right?? It's designed for experienced Linux users, and even then for pentesting/security testing. They even recommend not using it as a 'daily driver'. Why do you NEED Kali?? It does nothing special that any other distro of Linux can't do...it just has the tools/setting already in place.

That said, you can go one of two ways:
  • Simple: Let the installer suggest a disk partitioning scheme, and just change /home to be the 2TB drive.
  • Slightly-harder: Disconnect 2TB hard drive, and do your installation. Power down, connect 2TB hard drive, and change the mount point in fstab for /home to be the new drive. You now have your OS booting from SSD, with your files and data on the slower spinning disk.
Either should be easy for an experienced Linux user.
 
1 members found this post helpful.
Old 02-03-2019, 12:27 PM   #6
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
This is easy - don't futz around with parts of the OS here and parts of the OS there. Put the OS on the SSD, period. Put /home on the spinning drive. Done. Been running this config with 2 SSDs for years with zero issues. The only time I have had an issue (with Linux, OpenBSD) was a bad installer that doesn't understand multiple block devices.
 
Old 02-03-2019, 02:52 PM   #7
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Add to what syg00 wrote: booting is a tiny fraction of the time normal people spend on a computer. Operations using the most time you want to be fast, so on the SSD. Reading and writing your own files to or from storage is a relatively small portion of total time, so makes less difference if not read or written from/to the fastest. Thus, all OS files on SSD, your own data on the HD, particularly video files, which though large, can only be utilized at the rate required to play or record them at appropriate speed.

Thank you! I knew there was a reason my scheme wouldn't fly, I just couldn't articulate it.
 
Old 02-03-2019, 09:04 PM   #8
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
(part bolded for emphasis only) Kali? You have read the sticky posts about Kali, and their own website about who and what it's targeted for, right?? It's designed for experienced Linux users, and even then for pentesting/security testing. They even recommend not using it as a 'daily driver'. Why do you NEED Kali?? It does nothing special that any other distro of Linux can't do...it just has the tools/setting already in place.

That said, you can go one of two ways:
  • Simple: Let the installer suggest a disk partitioning scheme, and just change /home to be the 2TB drive.
  • Slightly-harder: Disconnect 2TB hard drive, and do your installation. Power down, connect 2TB hard drive, and change the mount point in fstab for /home to be the new drive. You now have your OS booting from SSD, with your files and data on the slower spinning disk.
Either should be easy for an experienced Linux user.
Thank you
 
Old 02-03-2019, 10:09 PM   #9
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 301

Rep: Reputation: 91
Quote:
I've this 128GB ssd in this new computer I just had built (he did it cheaper than I could, neater, too) along with a 2TB hdd. What I am looking to do is to put all the files needed for boot on the ssd, and everything else on the 2 TB drive.
This would be a total waste of the 128 GB SSD. It only takes 500MB-1GB for a /boot partition. What are you going to do with the other 127GB ? This is the fastest drive you have. Use it. You could have multiple distributions on a 128 GB SSD.
 
Old 02-04-2019, 01:31 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,040
Blog Entries: 7

Rep: Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778
Quote:
Originally Posted by sevendogsbsd View Post
Put the OS on the SSD, period. Put /home on the spinning drive.
that surely is a sane scheme, but much of the speedup in boot time is then lost when a user logs in (and usually a graphical desktop is launched). my experience with a brand new SSD and some rather old spinning drives.
 
Old 02-04-2019, 01:59 AM   #11
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by ondoho View Post
much of the speedup in boot time is then lost when a user logs in (and usually a graphical desktop is launched).
A hybrid "home" as some suggest for multibooting can help some with that: /home for user settings (.cache/ especially, .conf/, .local/, etc.) on the SSD, but the main user data (documents, spreadsheets, videos, pictures, etc.) on the rotating rust as subdirectory and/or subdirectories and/or symlinks in /home/ and/or /home/user.
 
Old 02-04-2019, 04:18 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,848

Rep: Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823Reputation: 2823
Linux doesn't really care where resources are. There are some mechanisms in place that let you configure it at installation or on change. Most default installers just do common tasks. In many distro's you have an option to highly configure the install. You can select where the boot loader goes and where the common directories go and what size. /root location on most modern systems have no limit. Some older systems may have a problem on /boot at end of drive.
 
Old 02-05-2019, 07:21 AM   #13
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: None, just FreeBSD
Posts: 735

Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
that surely is a sane scheme, but much of the speedup in boot time is then lost when a user logs in (and usually a graphical desktop is launched). my experience with a brand new SSD and some rather old spinning drives.
Agree but OP stated that was the hardware they had so...I am 100% SSD with NAS backup in case of failure so if an SSD fails, no worries
 
  


Reply

Tags
boot, hdd, ssd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribute lots of files output by program across multiple locations (dirs, drives) muahahaha9001 Programming 2 10-02-2013 04:40 PM
Move Ubuntu across drives. syklone Linux - Newbie 2 03-31-2009 01:21 PM
LVM / Software RAID across a mix of IDE / SATA drives jhermans Linux - Software 1 04-08-2007 04:26 AM
cp -p won't work across drives wayback Linux - Software 3 01-01-2004 10:20 AM
Mounting Windows Drives Across a Network Nyc0n Linux - Networking 4 08-20-2001 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration