I had a working ubuntu 20 (disk A) to which I overwrote root from a previous ubuntu 20 (disk B) install. GRUB went mad, and I eventually gave up fixing, because of relevant details I will list below.
Question. I still have / from B, and I can reinstall ubuntu in A. I want to restore this data to A, WITHOUT touching its GRUB. How do I go about it?
Details:
- A is SSD in a new Dell laptop
- B is HDD in an OLD laptop
- C is m2 SSD in the same, new laptop with Intel RST enabled and has Windows 10. [MAJOR PROBLEM]
Important notes:
- A and C worked together well before I destroyed A with overwrite. I just had to choose in bootloader in bios setting.
- C prevents installation of ubuntu without its temporary removal because of RST.
- Disabling RST is not an option for me; I don't want to try it.
My thoughts: Excluding boot folder while tarring up / is sufficient? Should I make a backup of new GRUB files (how?)
Question exists where I requested help for fixing GRUB, has details on how I tried fixing, and how it didn't succeed. If relevant, is here.
Edit:
C is UEFI, which led Ubuntu to automatically create EFI partition in A .. I don't know about B, but if it is absolutely necessary, I can find out in a day or two. Laptop is not with me right now. My Dell model is 5590 Inspiron.
sudo update-grub
and it will add Windows to grub menu. And you can mount the Windows NTFS partition, but generally better to use a separate shared NTFS data partition. Windows will turn fast start up back on with updates. http://askubuntu.com/questions/843153/ubuntu-16-showing-windows-10-partitions & https://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs-filesystem-due-to-hibernation – oldfred Jul 05 '20 at 20:56