LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-06-2004, 04:41 AM   #1
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Booting Linux Completely from RAM


Hi,

I have a dual xeon with 4Gigs of RAM
i was wondering if it is possible to completely
load linux into the RAM [ just say read the Hard disk once while loading and
then writes at regular intervals ] to get some more
out of the machine..
any idea on how do i go about achieving this.. ?



regards
 
Old 12-06-2004, 05:49 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
You may be able to load it into RAM after boot, but you couldn't boot from that since RAM loses it's memory while the computer is turned off
 
Old 12-06-2004, 06:31 AM   #3
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Original Poster
Rep: Reputation: 15
It doesnt really matter ..
if i loose all the contents.. its a server ... so would nt be using it other than mysql DB else it doesnt matter if i loose contents when i switch off the machine..
i
i mean all i need is that once it is loading it should say perform a read operation from the HDD
and then when i say shutdown [ which would only happen incase of emergency , presuming its a server not meant to
be switched off.. ] it should write of the MYSQL DB [ which is the only thing it will be used for !
and shut down
and then again boot up like before..
need to check performance of this kinda system..


This machine also has a redundant power supply so
i would not worry about a sundden unplanned power loss..
regards
 
Old 12-06-2004, 07:19 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I wonder if you could learn something from LiveCD's like KNOPPIX.

I guess you would create a huge ramdisk and mount this as root filesystem.
 
Old 12-06-2004, 08:14 AM   #5
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Original Poster
Rep: Reputation: 15
Thanks for the advice .. pal

But knoppix docs
Currently it seems to be offline..
for some wiki upgrade..
any other tips..?
 
Old 12-06-2004, 10:08 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Systems using initrd images are using the image to load a RAM disk i.e. the kernel to boot the system. Is this what you are referring to?
 
Old 12-21-2004, 05:20 AM   #7
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Original Poster
Rep: Reputation: 15
Yes.. I would like to have a huge RAMdisk of the root file system [ Containing only
essential packages ..No X Windows for sure .. ] and the RAM disk should not get unmounted...
I wanna try this using Redhat / Fedora ..
any help / ideas .. ?
 
Old 12-21-2004, 11:37 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
This how Knoppix works. Perhaps you should look at making your own version.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAM: Does linux require as much ram as Windows XP? hanzj Linux - Newbie 48 04-18-2007 12:14 AM
Booting without RAM disk Tinku Linux - General 3 10-03-2005 02:57 PM
Completely new to linux MVFolino68 Linux - Newbie 1 08-10-2005 05:38 PM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
Completely new to linux Newperson Linux - Newbie 16 02-03-2005 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:29 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