LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-08-2013, 04:41 AM   #1
LiNuXkOlOnIe
Member
 
Registered: Dec 2005
Location: North germany
Distribution: Linux Mint
Posts: 46

Rep: Reputation: 16
Question Live DVD runs out of memory - using swap - free memory doesn't help at upgrade ....


At first. I use Linux Mint installed on my PC. So i don't want to install every distro i try.

From time to time i write a Live Iso to my stick and try it out
and now i wonder is there a possibility to use a LiveDVD with more memory or
to upgrade that Linux doesn't run out of memory ?

I know it depends on the physical memory. My Laptop has 2 gig which runs out very fast of cos - pc 8 gig.

I tried to use a swap partition and free some memory from time to time
but it isn't possible to upgrade cos the distro still runs out of memory.

This is a general question so independent from the distro.

I could use a VM and install it but i want to try it out real with a live dvd.

Thank you.
 
Old 06-09-2013, 03:50 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Am I correct in interpreting your post as you boot a liveCD, then try an upgrade (of the booted liveCD) ?.

That will (generally) download a truckload of packages, which then need to be installed. All of which will take up filesystem space - where depends on the distro. With a liveCD, all (write-able) filesystems are mounted in RAM, but are not (usually) subject to swapping. You could change the mount-points of directories that will grow to live on real disk, but that would get ugly - quickly.
 
Old 06-09-2013, 11:04 AM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
A swap file or partition ought to work by default. It may be that you would have to enable it with a command on the live cd/dvd.


8G is plenty I'd think for most temporary things. I'd be wondering if you are using 32 bit distro or your system doesn't allow the full 8G ram to be used.

Virtual machines are great ways to play with a distro but you can't tell if the real machine will be fully supported.

I'd install to the usb instead of a live usb like unetbootin or universal usb installer. That may be what syg00 suspects is going on. You can't really do much updating to a live cd/dvd/usb. Only a normal install to a usb can be updated properly.
 
Old 06-09-2013, 09:35 PM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
There may well be an other way, and that's the one I employ here all the time: get a second-hander/hand-me-down and do an INSTALL on that one. Dont shoot me if I dont get the nubb here (it's four in the morning here...) but as the guru's mentioned, you seem to pop the DVD into the drive, do an update/upgrade on that DVD and then - bamm - run out of (what seems to you) diskspace...
A Live medium (DVD/CD/USB stick/...) has the memory as playground, in that memory a filesystem gets imitated, as if on a physical disk. Try it, do a wget of something and observe that it landed in a folder, and that folder...exists in memory, nowhere else.
You could (as syg00 suggested) redirect the mountpoints, but it would get (as syg00 mentioned) get messy, as you'd end up with an "OS" that has a read only portion (the DVD) that it tries to upgrade. Besides that, this would inevitably flood your harddrive with bits-n-bobs that dont belong in your main OS...how messy (and ugly) is that...
The option jefro popped up (using a USB stick) seems then more to your needs...but, these things are not really fomula one racers...

Eh, just my thoughts...

Thor

Last edited by ButterflyMelissa; 06-09-2013 at 09:41 PM.
 
  


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
Swap used while there is still free memory JimiSc Linux - Software 2 07-10-2012 04:53 PM
free swap memory tefkros Linux - Newbie 2 11-07-2011 07:17 AM
100% Swap usage with loads of free memory AlienWolf Linux - Server 5 12-14-2010 08:33 PM
Drstic Reduction in Swap Memory Free rajaniyer123 Solaris / OpenSolaris 3 02-24-2010 08:38 AM
Why doesnt top or free show swap memory usage ? exceed1 Linux - General 15 08-03-2009 08:38 PM

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

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