![]() |
|
|
#1 |
|
"Carlos Pinho"
Oct 2011
Milton Keynes, UK
494710 Posts |
Hi all,
I need help. I installed virtualbox and ubuntu. I want to run Primo but when I try to run it I get a message to change kernel.shmmax value. The problem is that when I run the following command replacing SIZE with the value indicated in the Primo status line I get the message that the file is read-only. sudo sh -c 'echo SIZE > /proc/sys/kernel/shmmax' As stated on Primo readme.txt file this modification will last until I reboot Linux but it is possible to set a permanent modification. I made a google search and I got the answer but I am afraid on messing linux. Also I don't understand why I don't have administrator rights when I installed ubuntu it was only asked for one login setting. I'm a windows guy so my doubt can be stupid. So what's the easiest way to edit the file and add the right kernel.shmmax value on the /etc/sysctl.conf file? Thank you. Carlos Last fiddled with by pinhodecarlos on 2012-06-09 at 11:24 |
|
|
|
|
|
#2 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
The sudo password should be your own account's password if it's the only one. (You sure you're typing it right?)
Would you care to show a link for the solution? To edit a file should be as simple as "sudo gedit FILE" which is "sudo gedit /etc/sysctl.conf", except you're saying sudo isn't working. Try installing GMP-ECM: "sudo apt-get install ecm" You can always undo that with "sudo apt-get remove ecm". Either way, that should be a good test of sudo. Actually, as an aside, when I ran "sudo echo 3 > /proc/sys/vm/drop_caches", I get "Permission denied", but that's the only place I've ever ran into sudo issues. You can alternately try "sudo su" which will launch a new shell as root and do the "echo..." in that shell; alternately, you could put the "echo..." in a script file; I can post more details if you want that. Regardless, "sudo gedit /etc/sysctl.conf" should give you god powers on that file, and it sounds like that's the most permanent solution. (Edit: I don't know anything about primo or this kernel.shmmax value.) Last fiddled with by Dubslow on 2012-06-09 at 12:42 |
|
|
|
|
|
#3 |
|
"Carlos Pinho"
Oct 2011
Milton Keynes, UK
10011010100112 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'Kernel memory leaking' Intel processor design flaw forces Linux, Windows redesign | M344587487 | Science & Technology | 42 | 2018-11-17 13:07 |
| 8 GByte on 32-Bit Linux Kernel with PAE + mprime? | joblack | Hardware | 6 | 2009-07-09 23:18 |
| Problem on Linux with fresh kernel | T.Rex | Software | 3 | 2006-08-05 09:15 |
| kernel 2.6.2 question | Sideshow Bob | Linux | 4 | 2004-04-17 03:59 |
| 'Kernel too old' for prime 22.9 on linux 2.0.38 | Graffiti73 | Software | 7 | 2002-09-15 18:39 |