0

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

  • 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. – Nmath Aug 24 '21 at 01:26
  • 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 – Faris Dewantoro Aug 24 '21 at 01:31
  • In your question you say "*now every time i restart my PC it working*" - if there isn't a problem, what are you asking? – Nmath Aug 24 '21 at 01:50
  • @Nmath Dupe of https://askubuntu.com/questions/1359700/install-ubuntu-only-no-dual-boot-ssdhdd – ChanganAuto Aug 24 '21 at 02:20
  • 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)? – Enterprise Aug 24 '21 at 02:25
  • 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. – oldfred Aug 24 '21 at 03:39
  • 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/ – Faris Dewantoro Aug 24 '21 at 15:01

0 Answers0