pritamzope / OS

Writing & Making Operating System and Kernel parts so simple like Hello World Programs, Starting from writing Bootloaders, Hello World Kernel, GDT, IDT, Terminal, Keyboard/Mouse, Memory Manager, HDD ATA R/W, VGA/VESA Graphics
http://createyourownos.blogspot.com
663 stars 103 forks source link

grub-mkrescue: error: cannot open `/usr/lib/grub/i386-pc/modinfo.sh': Permission denied. #12

Closed yeppiidev closed 4 years ago

yeppiidev commented 4 years ago

I was building the x86 calculator and when I tried to run sh run.sh, I got this: grub-mkrescue: error: cannot open '/usr/lib/grub/i386-pc/modinfo.sh': Permission denied. I am using Ubuntu 18.04 on Windows Subsystem for Linux. Please solve this issue. [See image below] image

yeppiidev commented 4 years ago

I ran this command with root:- sudo sh run.sh and it worked!

----------ISSUE CLOSED-----------