LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-20-2023, 11:45 AM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Rep: Reputation: Disabled
can I make the liveUSB load into the RAM?


It's Cinnamon 21.1 64-bit. I would like to load it into my relatively capacious RAM, but I don't see that option in the bootloader.
 
Old 06-20-2023, 11:52 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
You probably want to make a RAM drive.

Example:
Code:
mkdir /mnt/ram
mount tmpfs /mnt/ram -t tmpfs -o size=2G
cp something /mnt/ram/
You can install and run an operating system from RAM. Gamers used to do that back in win 98 days. Because it was so much faster. Drawback, when you turn it off. It's gone.
 
Old 06-20-2023, 12:05 PM   #3
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Seems rather easy to do that with a single boot option. Nice write-up on this link https://askubuntu.com/questions/8299...emove-the-disk
 
1 members found this post helpful.
Old 06-20-2023, 03:39 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by teckk View Post
You can install and run an operating system from RAM. Gamers used to do that back in win 98 days. Because it was so much faster. Drawback, when you turn it off. It's gone.
You might be able to retain the OS across power downs by using hibernate.

https://www.linuxadictos.com/en/hibe...0swap%20memory.
 
Old 06-20-2023, 05:11 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
toram option. You'd think that would be an easy command option.
 
Old 06-20-2023, 08:08 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
I'd check the BIOS/EFI and make sure that USB is set before HDD in the boot order.

Last edited by frankbell; 06-20-2023 at 08:08 PM. Reason: spellink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit initrd to fit your liveUSB - liveUSB preparation (openSUSE and others) deckoff Linux - General 7 01-08-2012 02:58 AM
Why size of swap space is 2x of RAM??? Why not 1.5x of RAM or 2.5x of RAM??? Saurav Ghosh Linux - Newbie 7 11-01-2011 03:49 AM
[VPS] 4 load page = 100 MB RAM loaded? do i need 100x 400 mb ram for next 400 page? vaporizel Linux - Server 1 03-14-2011 08:40 PM
Best debian to remaster into my own liveusb? linus72 Debian 30 08-13-2009 06:56 AM
how do i make a prgram load into RAM before the OS boots? nikhil86 Programming 25 03-26-2008 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration