F5F Stay Refreshed Software Operating Systems Problem with Grub involves issues during system startup or performance.

Problem with Grub involves issues during system startup or performance.

Problem with Grub involves issues during system startup or performance.

K
kaire2015
Member
232
04-15-2021, 10:38 PM
#1
I'm working on a mechanical engineering project and needed to set up ROS 2 on Ubuntu for my work. I started with Windows 11 but found the virtual machine too slow because of limited RAM—only 6GB available after sharing with the GPU. I switched to Ubuntu 24.04, which didn’t support the version I wanted. Then I upgraded to Ubuntu 22.04 so I could use ROS2 Humble.

During installation, I accidentally deleted parts of my Ubuntu partition, including EFI-related sections, which affected performance. After installing on the main SSD, everything worked fine, but it ran slowly and some features didn’t function properly.

I tried booting from a USB stick to test, but GRUB kept showing up every time, blocking a direct Windows start. I followed the BIOS guide to fix this, adjusted the boot order, but the issue persisted.

I’m worried about data loss or hardware damage. Should I back up my files before making changes? Also, can I safely install Ubuntu 22.04 on my SSD along with Windows? What’s the best way to remove the shared RAM and keep everything stable?

Let me know your thoughts—I’m trying to get this working for my deadline!
K
kaire2015
04-15-2021, 10:38 PM #1

I'm working on a mechanical engineering project and needed to set up ROS 2 on Ubuntu for my work. I started with Windows 11 but found the virtual machine too slow because of limited RAM—only 6GB available after sharing with the GPU. I switched to Ubuntu 24.04, which didn’t support the version I wanted. Then I upgraded to Ubuntu 22.04 so I could use ROS2 Humble.

During installation, I accidentally deleted parts of my Ubuntu partition, including EFI-related sections, which affected performance. After installing on the main SSD, everything worked fine, but it ran slowly and some features didn’t function properly.

I tried booting from a USB stick to test, but GRUB kept showing up every time, blocking a direct Windows start. I followed the BIOS guide to fix this, adjusted the boot order, but the issue persisted.

I’m worried about data loss or hardware damage. Should I back up my files before making changes? Also, can I safely install Ubuntu 22.04 on my SSD along with Windows? What’s the best way to remove the shared RAM and keep everything stable?

Let me know your thoughts—I’m trying to get this working for my deadline!

S
Shiznit36
Member
54
04-20-2021, 01:29 PM
#2
Are you requiring a separate Ubuntu installation? ROS2 supports WSL (Windows Subsystem for Linux) for this purpose. https://docs.ros.org/en/jazzy/Tutorials/...ndows.html Your issue involves Ubuntu having a GRUB EFI shim installed on the Windows EFI boot partition. You need to remove this shim to stop the GRUB menu from appearing. If you can boot into Windows, follow these steps in the mentioned thread to delete the Ubuntu folder from the EFI boot directory: https://askubuntu.com/questions/429610/u...bootloader To install Ubuntu alongside Windows, prepare your drive by deleting or resizing partitions to free up space for installation. You can use gparted for this task before running the installer. When the installer appears, choose the option to install alongside Windows.
S
Shiznit36
04-20-2021, 01:29 PM #2

Are you requiring a separate Ubuntu installation? ROS2 supports WSL (Windows Subsystem for Linux) for this purpose. https://docs.ros.org/en/jazzy/Tutorials/...ndows.html Your issue involves Ubuntu having a GRUB EFI shim installed on the Windows EFI boot partition. You need to remove this shim to stop the GRUB menu from appearing. If you can boot into Windows, follow these steps in the mentioned thread to delete the Ubuntu folder from the EFI boot directory: https://askubuntu.com/questions/429610/u...bootloader To install Ubuntu alongside Windows, prepare your drive by deleting or resizing partitions to free up space for installation. You can use gparted for this task before running the installer. When the installer appears, choose the option to install alongside Windows.

B
bingobongodave
Junior Member
1
04-24-2021, 04:07 AM
#3
Kan verifies that such software functions well with WSL, even though I haven't personally tested ROS2. I typically rely on Arduino SW through WSL rather than native Windows because the native version isn't ideal. Still, upgrading RAM would be beneficial regardless—usually a relatively cheap fix.
B
bingobongodave
04-24-2021, 04:07 AM #3

Kan verifies that such software functions well with WSL, even though I haven't personally tested ROS2. I typically rely on Arduino SW through WSL rather than native Windows because the native version isn't ideal. Still, upgrading RAM would be beneficial regardless—usually a relatively cheap fix.