LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-17-2012, 08:21 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,067

Rep: Reputation: 47
switch to minimal mode


(using Debian_testing_amd64, lxde) I need to free as much RAM as possible. I've tried:
'sudo init 1'
but mountpoints are then lost.
I also tried adding 'text' to 'ro quiet' in grub2, but that does nothing.

is there some simple way to boot to text only?
thanks
 
Old 06-17-2012, 08:34 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb

http://packages.debian.org/search?keywords=sysv-rc-conf


Use the tool in the link above ( command line tool) then edit /etc/initab file to set your default run level (or just edit the default to how you like).
 
1 members found this post helpful.
Old 06-17-2012, 08:58 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
If you want to free some memory space then what's the point of going into runlevel 1?
You should stop some of the unnecessary services which are of no use running at runlevel 5. That would help in free up some space.
And using "free -m" command you can check the free memory size.
 
Old 06-17-2012, 09:19 AM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,067

Original Poster
Rep: Reputation: 47
thanks, but 'init 1' seems to be perfect as it shuts down all but essential stuff. I've managed to restart mount points in it. the only other problem is that tty2 and others do not work.

Last edited by qrange; 06-17-2012 at 09:50 AM.
 
Old 06-17-2012, 11:56 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Ok, at first to all posters here suggesting to change the runlevel. Debian uses only the runlevels 1 and 2, runlevels 3-5 are the same as 2. But basically jv2112's idea is the right one. Use sysv-rc-conf to create a custom runlevel 3 with all the services you need and disbling all services you don't want to run. Then you can just change to runlevel 3 if you need, no need to go to single user and then re-mount everything.
 
1 members found this post helpful.
  


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
unable to switch from console mode to desktop mode kapil Linux - Newbie 4 10-17-2011 02:16 AM
Increase The Font Size when We switch from GUI mode to Console mode. subramani Linux - Desktop 4 09-20-2011 01:57 PM
unable to switch frm console mode to desktop mode kapil Linux - Newbie 18 09-15-2011 01:55 AM
How to switch from text mode to graphical mode in solaris 10 linuxjamil Solaris / OpenSolaris 3 07-19-2009 04:55 PM
How to Switch to graphical mode after minimal install rafid Linux - Newbie 9 10-25-2006 12:42 PM

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

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