LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2020, 12:45 PM   #1
garryjp
LQ Newbie
 
Registered: Jun 2020
Posts: 16

Rep: Reputation: Disabled
Swap kernel to ramdisk


I am here to ask if it is possible to swap the kernel to a ram disk,Why or why not?.
 
Old 07-01-2020, 01:04 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Another key indicator for Help Vampires is the clearly stated but “impossible” question. These questions look reasonable on the surface, but in fact they are impossible to answer for a number of reasons. These questions include, for example, “How do I build a forum?” or “How can I make a chat site?” Their purpose is threefold:
  • First, to identify a victim foolish enough to attempt to answer the impossible question
  • Second, to distract the victim long enough to separate him from his fellows; and
  • Lastly, to befuddle the victim’s brain while their soul is being removed through the abdominal cavity by way of a standard-issue Bendy Straw.
This is autonomous behavior. Again, we shouldn’t hate the Help Vampire. Or stake them. They know not what they do, only that they are driven to do it, and I believe they can be saved.
(source)
 
Old 07-01-2020, 01:04 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,254

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
You need to understand what a ramdisk is. Its a portion of regular ram, taken away form the system to store files, usually for faster access than loading a file from a much slower hard disk.

So, why would you even ask the question? The kernel is loaded in ram, so there is nothing to be gained, only lost in this case.
 
Old 07-01-2020, 02:04 PM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,167

Rep: Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393Reputation: 7393
spammer
https://www.linuxquestions.org/quest...3/#post6139672
 
Old 07-02-2020, 10:06 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,607

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
garryjp, please read https://www.linuxquestions.org/quest...#faq_lqwelcome if you'd like to continue participating at LQ. If you have any questions, let us know.

--jeremy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 can I change my Arch ISO's ramdisk to get it to use the designated swap space? Erentigionation Arch 4 08-27-2018 01:46 AM
[SOLVED] mdadm raid 1 with SSD and Ramdisk: Force reading from Ramdisk only ratio Linux - Software 5 04-04-2014 03:35 PM
RAMDISK: couldn't find valid ramdisk image starting at 0. iotc247 Slackware 10 12-10-2010 03:08 PM
kernel build create initial ramdisk htamayo Linux - Software 1 01-07-2005 01:57 PM
creating a ramdisk runtime from another ramdisk code123 Linux From Scratch 0 10-11-2004 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 PM.

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