Score:0

How to install Ubuntu on SSD + HDD Single Boot (Only Ubuntu)

in flag

I have a 240GB SSD and a 1TB HDD. I want to use my SSD for root. and the rest use HDD.

the last time i installed and i got this :

error: no such partition grub rescue

so i need to switch booting to SSD and then after googling and i find this command :

$ sudo update-grub
$ sudo grub-install /dev/sda

and now every time i restart my PC it working

here my partition setup, i dont know how to do this correctly please give me some guide, is it correct ? enter image description here

here is the result:

enter image description here

So is there any problem if i setup like this ? i still have unallocated here on my SSD: enter image description here

Nmath avatar
ng flag
Your question doesn't really explain the problem. You should edit your question and make sure that you identify the problem you are trying to solve. You only allocated ~70GB for your root partition. Was this intentional? FYI: you don't need a swap partition because Ubuntu will create a dynamically sized swapfile if you don't make a partition.
in flag
i actually dont know what the problem is, is there a problem when i allocated 70GB (SSD) for root partition? and set 1tb (HDD) on /home
Nmath avatar
ng flag
In your question you say "*now every time i restart my PC it working*" - if there isn't a problem, what are you asking?
ChanganAuto avatar
us flag
@Nmath Dupe of https://askubuntu.com/questions/1359700/install-ubuntu-only-no-dual-boot-ssdhdd
us flag
Are you asking which disk and partition you should select in the installer so that Ubuntu gets installed to your SSD? Also, are you doing a "clean" install (in other words, you want to erase everything on your SSD while you are installing)?
oldfred avatar
cn flag
Is system old BIOS as it looks like you do not have ESP - efi system partition for UEFI boot? Windows in BIOS boot mode requires MBR, but if only Ubuntu can be gpt partitioned. And if UEFI hardware then install should be UEFI with gpt partitioning. Do you want one large /home on HDD or also use HDD for test installs or split of data into more than one partition? Only you can decide what you want.
in flag
yes my problem is when booting i got something like this : "error : no such device : xxxx-xxx-xxx Entering rescue mode.. grub rescue>" and then i restart and go to boot menu and select SSD and i run ubuntu. after that i run this command "sudo update-grub and sudo grub-install /dev/sda" is it will become a problem or not ? i got from here : https://linuxhint.com/grub_rescue_ubuntu_1804/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.