I recently needed to use ubuntu for my project, so instead of dual booting ubuntu along windows I wanted to boot from external SSD to have the project portable. I installed ubuntu on a pen drive and made it bootable. I installed ubuntu on San disk SSD from pen drive using my friends laptop. However when I tried to boot the SSD from my laptop going to BIOS bootloader and after selecting SSD,I keep getting Minimal BASH - like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB Lists possible device or file completions. It worked perfectly fine while i connected the SSD to my friend laptop, ubuntu loaded perfectly I was able to download arduino and ROS softwares as well and run smoothly, my friends laptop is also HP but may be 6 to 8 years old, mine is also HP but pavilion i7 4 years old.
I checked many forums online they suggested to check for grub partition but it does'nt show any grub partition when I type command "ls" I tried sudo update grub but error says " cant find command 'sudo'. I tried doing everything from the beginning by formatting both pen drive and SSD thinking something might be corrupted but everytime same problem, when i tried for manually partitioning I got var file not readable. I redid it again but after booting up Minimal BASH error keeps coming up in my laptop, Is it hardware issue or is it booting configuration issue on my laptop, now my friend the laptop few days so I was wondering if some settings need to reseted ??? I cant figure out the problem, Any help would be appreciated.
/boot/grub
which is not on a separate partition by default (as its not required) unless it was specifically created during install. How your system boots will be determined by your hardware, legacy BIOS/CSM machines use a MBR (reserved sector since 1982 on all disk) that is outside of the partitioning space that loads from the partition (pointer in the 512 byte sector).. OR it'll boot using uEFI using the ESP (EFI System Partition)... There is no GRUB partition; its just software. – guiverc Feb 26 '24 at 01:49