In Ubuntu, one can boot a live USB fully to ram using toram
option.
adding toram option
However this procedure is GUI based. Is there anyway to just write down the toram
option to the ISO file so that the bootable USB directly boots from RAM?
The GUI based way to boot Ubuntu from RAM is described here.
Edit: All of the mentioned and proposed idea works. Although, I accepted one solution, One can try any of those methods according to their necessity.
grub.cfg
file (in partition #3 of the USB boot drive) to move this menuentry to the top (or even remove the other menuentries). – sudodus Aug 21 '20 at 11:19toram
to the linux line of grub.cfg. right after quiet splash or at the end, one space after -- will work. I will add a proper answer as soon as I have time. – C.S.Cameron Aug 21 '20 at 11:44toram
option ? IS the machine dependent too ? for every new machine I have to go through the same procedure ? – Tokai Aug 21 '20 at 11:53grub.cfg
), and then you can clone it to other USB pendrives or internal drives for the machines that you want to boottoram
. – sudodus Aug 21 '20 at 12:09toram
. – sudodus Aug 21 '20 at 12:15