SSD/HDD partitioning?

Help with issues regarding installation of Debian
Post Reply
Message
Author
DebUzanto
Posts: 4
Joined: 2015-05-13 11:16

SSD/HDD partitioning?

#1 Post by DebUzanto »

Hello,

I want to install Debian to a computer I have built with the main system on the 240GB SSD drive, and all the user files and downloads from apt-get on the 1TB HDD. What partitions do you suggest I use for this?

Thank you :D
"Geeks like to think that they can ignore politics, you can leave politics alone, but politics won't leave you alone."

PeterB
Posts: 115
Joined: 2010-10-03 16:53

Re: SSD/HDD partitioning?

#2 Post by PeterB »

Many ways to do this. I would put root (ie / /etc /boot /bin etc.) on the SSD for fast startup. I would put /swap /home /var /tmp on the HDD because of write cycles. If there is going to be just one OS, I would put /usr on the SSD. However, if you plan many different OS, I would put /usr on the HDD because of its size.

Having /home and /var on the HDD will meet your need to have user files and apt-get stuff there.


PB.

DebUzanto
Posts: 4
Joined: 2015-05-13 11:16

Re: SSD/HDD partitioning?

#3 Post by DebUzanto »

PeterB wrote:Many ways to do this. I would put root (ie / /etc /boot /bin etc.) on the SSD for fast startup. I would put /swap /home /var /tmp on the HDD because of write cycles. If there is going to be just one OS, I would put /usr on the SSD. However, if you plan many different OS, I would put /usr on the HDD because of its size.

Having /home and /var on the HDD will meet your need to have user files and apt-get stuff there.


PB.
Thank you for your help.

Which drive should I install GRUB on? I tried using the above partition setup and installed GRUB on the SSD, but when I booted from the SSD I was faced with a "minimal GRUB terminal" instead of the GRUB menu (booting from the HDD produces a blank screen). Is this because GRUB should not have been installed on the SSD?

Thank you
"Geeks like to think that they can ignore politics, you can leave politics alone, but politics won't leave you alone."

User avatar
JLloyd13
Posts: 394
Joined: 2012-06-29 04:08
Location: Halifax NS Canada

Re: SSD/HDD partitioning?

#4 Post by JLloyd13 »

DebUzanto wrote:
PeterB wrote:Many ways to do this. I would put root (ie / /etc /boot /bin etc.) on the SSD for fast startup. I would put /swap /home /var /tmp on the HDD because of write cycles. If there is going to be just one OS, I would put /usr on the SSD. However, if you plan many different OS, I would put /usr on the HDD because of its size.

Having /home and /var on the HDD will meet your need to have user files and apt-get stuff there.


PB.
Thank you for your help.

Which drive should I install GRUB on? I tried using the above partition setup and installed GRUB on the SSD, but when I booted from the SSD I was faced with a "minimal GRUB terminal" instead of the GRUB menu (booting from the HDD produces a blank screen). Is this because GRUB should not have been installed on the SSD?

Thank you
Install grub on SSD. Also, I prefer to keep the HDD as a data drive and then symlink downloads and other folders, that's another option.
Laptop: Debian GNU/Linux 9 'Stretch' 64bit
Read: https://wiki.debian.org/DontBreakDebian/
We are the Universal OS. Be patient, give help, teach the Debian way.

DebUzanto
Posts: 4
Joined: 2015-05-13 11:16

Re: SSD/HDD partitioning?

#5 Post by DebUzanto »

JLloyd13 wrote:
DebUzanto wrote:
PeterB wrote:Many ways to do this. I would put root (ie / /etc /boot /bin etc.) on the SSD for fast startup. I would put /swap /home /var /tmp on the HDD because of write cycles. If there is going to be just one OS, I would put /usr on the SSD. However, if you plan many different OS, I would put /usr on the HDD because of its size.

Having /home and /var on the HDD will meet your need to have user files and apt-get stuff there.


PB.
Thank you for your help.

Which drive should I install GRUB on? I tried using the above partition setup and installed GRUB on the SSD, but when I booted from the SSD I was faced with a "minimal GRUB terminal" instead of the GRUB menu (booting from the HDD produces a blank screen). Is this because GRUB should not have been installed on the SSD?

Thank you
Install grub on SSD. Also, I prefer to keep the HDD as a data drive and then symlink downloads and other folders, that's another option.
What do you think was causing the booting issues then?
"Geeks like to think that they can ignore politics, you can leave politics alone, but politics won't leave you alone."

User avatar
kiyop
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: SSD/HDD partitioning?

#6 Post by kiyop »

If your PC uses UEFI, you must prepare EFI system partition.
http://en.wikipedia.org/wiki/EFI_System_partition
FAT32 (vfat) filesystem is good.

If your PC does not use UEFI but use BIOS-MBR and if you partitioned the SSD with GPT, you need BIOS_BOOT partition.
http://en.wikipedia.org/wiki/BIOS_boot_partition

I think that you can prepare the partitions during manual partitioning step on the debian installation steps.

I remember Head_on_a_Stick posted useful information on the above in these debian user forums. Search his/her post.

If you cannot, execute the following at "grub rescue>" prompt and post the results

Code: Select all

ls
Super Grub2 disk may be useful for you:
http://www.supergrubdisk.org/super-grub2-disk/

You disabled secure boot and fast boot (if your PC uses UEFI), didn't you?
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

DebUzanto
Posts: 4
Joined: 2015-05-13 11:16

Re: SSD/HDD partitioning?

#7 Post by DebUzanto »

kiyop wrote: You disabled secure boot and fast boot (if your PC uses UEFI), didn't you?
My PC uses BIOS.

Do you know what causes GRUB to go into the "minimal terminal"?

Thanks :)
"Geeks like to think that they can ignore politics, you can leave politics alone, but politics won't leave you alone."

User avatar
Head_on_a_Stick
Posts: 13446
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: SSD/HDD partitioning?

#8 Post by Head_on_a_Stick »

DebUzanto wrote:My PC uses BIOS.
Please post the output of:

Code: Select all

# parted -l
EDIT: You could use a GNU/Linux "live" system (ie, boot up a GNU/Linux ISO image -- any distribution will do -- and select "live environment") to generate the output.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
kiyop
Posts: 3984
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan

Re: SSD/HDD partitioning?

#9 Post by kiyop »

DebUzanto wrote:My PC uses BIOS.

Do you know what causes GRUB to go into the "minimal terminal"?
There are many possible causes.
One is lack of BIOS BOOT partition for GPT as I wrote in my former post.
Did you generate GPT (GUID Partition Table) on SSD?
You can tell by executing "ls" on "grub rescue>" prompt as I wrote in my former post or executing "parted -l" on a working linux environment, which was suggested by Head_on_a_Stick.

As I wrote in my former post, Super Grub2 Disk may be useful for you:
http://www.supergrubdisk.org/super-grub2-disk/

Another candidate may be lack of necessary modules for recognizing SSD and/or root partition, although I am not sure if some modules are necessary for recognizing SSD. In such case, incorporation of necessary modules to grub2 code to be installed on MBR of your SSD may solve your problem.
If SSD is culprit, you can install grub2 code onto the MBR (or suitable place) on the HDD, because your PC can boot from the HDD.

Another candidate may be bad configuration of your partitions.

If you cannot boot any linux on your PC, how about using live debian
http://live.debian.net/
or rescatux
http://www.supergrubdisk.org/
or boot-repair
https://help.ubuntu.com/community/Boot-Repair
or system rescue cd
http://www.sysresccd.org/SystemRescueCd_Homepage
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

Post Reply