Ubuntu :: Cannot Save GRUB Kernel Parameters
Apr 27, 2011
We're using 10.10-server. We are trying to make grub boot changes permanent. I've already looked at thread [URL]. We updated /etc/default/grub, and update-grub propagates those changes into /boot/grub/grub.cfg, but not into menu.lst. It appears to use menu.lst as the source at boot, so our change doesn't show up as a linux parm.
View 3 Replies
ADVERTISEMENT
Feb 8, 2011
I have a strange problem with RHEL4.7, with kernel 2.6.9-78.
I cannot set any kernel parameters by editing sysctl.conf file and run sysctl -p, everytime the old value appears, while it was possible before.
I tried to edit files under /proc by using vi when trying to save it gives me: E667: Fsync failed!
While echo 1>/proc/sys/net/ipv4/ip_forward also cannot edit the file.
Also I mounted proc device on another mount point:
# mount -t proc proc /mnt
View 1 Replies
View Related
Feb 4, 2010
Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?
Now as to my reason for this question:
In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]
The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.
Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.
View 3 Replies
View Related
Jun 18, 2010
Ubuntu 10.04 Gnome IBM Thinkpad 600e.I am trying to get sound going in my 600e which has the wrong chips in the sound card. I found some notes from 2008 that said in one of the steps to add the following to my kernel boot parameters: noapci nolapci notsc acpi=off pnpbios=off pci=noacpi
It said to hit the Esc key when I see the Grub Count on boot up to get into the kernel boot parameter's editor. However, I am not seeing any Grub Count and pressing the Esc key every second during boot up doesn't seem to get me there either. I have been searching for how to edit the boot parameters but no luck so far.
View 3 Replies
View Related
May 2, 2010
Old Toshiba laptop model A30 -- tried various installs 8.04/9.04/9.10. They all hung trying to boot the install disks after the initial few screens. Finally, I got 9.10 to install, dual booting XP and 9.10 by choosing F6 from the initial menu, and putting an X beside:
ACPI=off
noapic
nolapc
edd=on
nodmaid
and then hitting escape.But, after the install, I couldn't boot 9.10 from grub as it hangs after about 30 seconds of trying. The live CD would not work without the above parameters being set as described above, but does work with them set! I need those same parameters passed to grub at 9.10 boot time, but I can't figure out how to do that. I've had many successful installs of Ubuntu across a number of desktops and laptops, but I never had to deal with the guts of grub before. It all just worked.
View 9 Replies
View Related
Sep 8, 2010
I have installed grub2 on a flash drive to boot some os's that I want to carry around. But in grub.cfg when i put this:
Code: menuentry "BackTrack Persistent" {
set gfxpayload=1024x768
linux/backtrack/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd/backtrack/boot/initrd.gz
} it does exactaly the same thing as this
[Code]....
I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.
View 4 Replies
View Related
Nov 16, 2010
We just doubled the RAM on our RHEL 4 production servers...Oracle from 16gb to 32gb and Apache/JBoss from 8 to 32 gb. I am trying to figure out how to get the biggest bang from the increased RAM. Should kernel.shmmax be upped to be 50% of the 32gb....from its current 8gb? I need to create the largest possible SGA and was unable to do so, apparently because the kernel.shmmax value had gone unchanged.
And for the JBoss web servers, also RHEL 4, and particular kernel changes which can take advantage of the increased RAM and provide an immediate performance improvement?
View 7 Replies
View Related
Aug 28, 2009
I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.
But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )
View 1 Replies
View Related
Apr 12, 2010
I am setting up my test / development machine with the following scenario in mind : I boot the machine and then select one of a number ( e.g. 3 ) boot options in Grub ( Normally "OpenSuse", "Safe Mode" etc., but in this case "System Restore Dev.", "System Restore Test" ). The only difference between these options are the settings ( e.g. "vga=378" ) in these cases something like "distro=dev" / "distro=test".
In a script run on the booted system I can extract the value of the "distro" parameter ( in this case "test" ) and use it as input for a command line tool. Meaning that name entered as the value for the "distro" parameter is used for loading a file when the system is up and running. The command line tool then restores the partition with the contents of the file and reboots the system.Now, my problem is this : How to I access the Grub arguments? Code snippets ( in shell scripting or python preferbly ) are more than welcome.
View 10 Replies
View Related
Oct 23, 2010
I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.
View 1 Replies
View Related
Jan 16, 2010
insmod: error inserting 'kernel.ko': -1 Invalid parametersI am getting this error when i am try to insert kernel.ko into kernelMy systemfedora 12 with gcc 4.4.2insmod kernel.koinsmod: error inserting 'kernel.ko': -1 Invalid parametersmy program
__________________kernel.c________________________ ___________
#include <linux/module.h> /* Needed by all modules */
#include <linux/kernel.h> /* Needed for KERN_INFO */
[code].....
View 4 Replies
View Related
Feb 8, 2010
How do i find out the exact kernel parameters (from the grub config file) when the boot loader is corrupt. Seems like a catch 22 that I need the exact boot parameters when I cant get to a prompt to read the grub.conf file to being with.
View 2 Replies
View Related
Sep 1, 2010
i have an hp pavilion dv7 and am using f13 64bit. my laptop has a built in woofer underneath that i have never been able to get to work. after the latest kernel update today my laptop now has woofer sound. there must be some new support for my laptops audio card. the problem is that it is a little overbearing. how can i a) disable this feature b) tweak the parameters like crossover frequency or gain? edit: i checked the changelog for 2.6.34 and couldn't find any info on any new audio support features.
View 5 Replies
View Related
Nov 16, 2010
I saw this forum post and I want to try it out so I went here and copied and pasted the following text into a file called test.patch.
Code:
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
[Code]....
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6/Documentation/kernel-parameters.txt.rej I'm not so good with patching so I am sure it is probably something easy.
View 7 Replies
View Related
Apr 30, 2011
I upgraded my wife's dual boot netbook (Ubuntu/Win7) from 10.10 to 11.4. Windows was set as the default OS in Grub v 1.98 via startupmanager in 10.10 and that's the way I want it to be again. After the 11.4 upgrade, Ubuntu 11.4 is set to defualt and even though I changed the default in startupmanager it always defaults to Ubuntu on boot. It's interesting to note that when I go back in to startupmanager to see what's up after reboot, it still has Win 7 selected.
Also, the choices in startupmanager look a little different from what shows up in grub. Grub shows just the latest version of ubuntu (and recovery mode), the memtest stuff, windows, and "previous versions of ubuntu" while startupmanger just lists all three ubuntu version w/recovery options, memtest stuff, and Win 7. If I do sudo update-grub in terminal, it lists the available options just like startupmanager does.
Bottom line, Win 7 will boot if manually selected, but I can't set it to default, and this is my wife's netbook so she wants it put back I just remembered and I don't know if it would matter or not. I did the original Ubuntu install first, then win 7. I used a windows program called easyBCD to get back the ability to choose which OS on startup. When I upgraded 10.10 to 11.4, Grub is back in charge. If I manually select Win7 to boot in grub, that easyBCD selection menu will pop up for a sec,offereing windows or ubuntu.Could this be confusing startupmanager and not letting my changes take effect?
View 1 Replies
View Related
Jan 5, 2010
I am using an Acer Aspire Timeline 4810TZ with F12 installed. I have to enter the kernel argument intel_iommu=off each time I boot. This means pressing escape, going to the correct kernel, pressing A (to change kernel arguments), and then entering the command. I've seen some sources that suggest editing /boot/grub/grub.conf, but I've tried it and it doesn't seem to make a difference. I'm wondering if maybe there's another file that I have to edit, because I don't see the kernel arguments in grub.conf that I see when I press A in the grub menu.
View 4 Replies
View Related
Jan 4, 2010
Over the past few days I have been trying to install an older kernel (kernel 2.6.28.1) on ubuntu 9.10 64-bit WUBI installation. I compiled, installed, and updated my grub for the kernel. When I reboot, the grub menu correctly gives me the option of booting into the older kernel but when I do so I receive the following error message:
error: you need to load the linux kernel first.
I am at a complete loss on how to fix this. I even downgraded grub but I still get the same error.
View 2 Replies
View Related
Jun 3, 2010
I have several Ubuntu OS, but I always install 9.04 last so that I can get Grub Legacy which works better with my Windows 7 64 bit than Grub 2. I wish to edit and save /boot/grub/menu.lst on the 9.04 OS. When I attempt to do this I get an error stating that I do not have the permissions necessary to do so. How may I obtain the permission?
View 2 Replies
View Related
Jun 27, 2010
I just installed Ubuntu Server 10.04. When I reboot, it stops at a "grub>" prompt. I figured out that I can continue booting by entering these four commants:
set root=(hd0,1)
linux /boot/vmlinuz-2.6.32-21-generic-pae root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.32-21-generic-pae
boot
I can't figure out, however, how to save these as the default so that the machine can boot without someone present to enter these commands. Running "grub-set-default" tells me "entry not specified." I don't see anywhere in /etc/default/grub that looks relevant.
How do I save my default grub settings?
View 2 Replies
View Related
Jun 29, 2010
Can i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 exists
View 10 Replies
View Related
May 8, 2011
When I run yum list installed command the output shows two kernels:
[Code].....
Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original?
View 6 Replies
View Related
Jan 13, 2010
I have Ubuntu 9.10 dual booting with Windows7.My ext3 /home is mounted as F: in windows.I share a firefox profile between them so that when i am in Windows my firefox uses the same profile as it does when in Ubuntu.It all worked great until recently. I am unable to save files by right clicking and save as. In the config i am unable to set a directory to save to. It neer asks me where to save to. Just nothing happens. some off my book marks are all messed up as well, my rss feeds have the same post on some random website every time i log on and i have to manually refresh to get the correct feeds back. I am unable to delete the random bookmark.
View 1 Replies
View Related
Jun 16, 2010
my mediacenter is attached to an beamer with the optimal resolution of 1280*720 ubuntu 10.04 doesnt offer me this revolution (on my intel 915 graphis controller). this means i have to add this resolution to the possible resolutions. first i used cvt
Code:
cvt 1280 720 60
and got this result:
Quote:
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
then i added this to xrandr
Code:
xrandr --verbose --newmode "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
and
Code:
xrandr --verbose --addmode VGA1 1280x720
now i can select and use the new resolution - until next reboot. after an reboot 1280x720 is again not available. even if i work with sudo - the resolution isnt there....
View 1 Replies
View Related
Aug 20, 2010
is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...
View 14 Replies
View Related
Nov 21, 2010
I have problem with onboard ATI ES1000. Server details:
Supermicro X7SBI, Q6600, 8G ram. Centos 5.5 minimal installation, without X.
Problem is that with all kernel-xen x86_64 from current kernel-xen-2.6.18-194.26.1.el5.x86_64 back to kernel-xen-2.6.18-128.el5.x86_64 after kernel boots monitor goes blank and says "no video, going to power save".
Google finds similar problems and sugestions was to add "nomodeset". With this option monitor also blanks after kernel boot, but says "out of range". Other options to modify xorg.conf does not apply, becouse there is no X installed.
I try with multiple monitors, without success. This happens only with 64bit kernel-xen. All other 32 and 64 bit kernels and 32bit kernel-xen works fine, video is ok. This happens to 6 servers, all are same hardware, used as cluster. Installation with "linix text" allways is fine, video disappears after first reboot when standart kernel is booted. I also tryed with almost all possible "vga=xxxx" kernel options and none of them works.
What else to try?
# lspci
View 4 Replies
View Related
Jan 29, 2009
Config a CentOS iptables.I issued some iptables rules.the rules were effective at once.Then, I came with a "iptables-save", but the "/etc/sysconfig/iptables" file hasn't been updated, it still loads the defaults rules with CentOS after reboot.
View 4 Replies
View Related
Oct 21, 2010
my grub2 start-up has every kernel for ubuntu since 9.10 in the list. can i safely delete these older kernels without screwing something up? also, where do they live?
View 3 Replies
View Related
Jan 25, 2011
I have removed all the kernels other than 35-25 and 32-28. I want to keep them but even though I can see only those two when I look in Synaptic, when I run update-grub I get two entries for each kernel. I have added the result of update-grub. This makes my grub list really long. Any ideas? Can one of them be custom compilation generated while installing something. May be then it would have exactly the same number but not show on synaptic package manager? How can I check if that is so or not?
View 8 Replies
View Related
Mar 11, 2011
I have Kubuntu 10.10 and Back Track 4 (BT4) Linux installed on my system. I think BT4 is based on Ubuntu 8.10.
I have the following line for my kernel boot options in /etc/default/grub file.
Code:
I need the rootdelay option for the Kubuntu 10.10 kernel but the BT4 kernel does not need it. But looks like setting this has a global effect and it waits for 80 (seconds ?) even when starting the BT4 kernel which is not required.
So is there a way to give the rootdelay option only to the Kubuntu 10.10 kernel and not to the BT4 kernel.
View 2 Replies
View Related
Jan 3, 2010
I have been learning about Ubuntu since 8.10. I have my two computers running dual boot (W7 + 8.04 & Vista + 9.10).
Sorry if this is a noob question, but I have noticed that each time there's a new kernel (now I have 2.6.31.16-generic), the grub OS selection screen adds 2 lines:
- One for the new kernel
- One for the new kernel - recovery mode
So, since I installed Karmic (2.6.31.14) Ubuntu Update has added 4 rows and shows code...
What is the rationale behinf this?
Why would I want to boot using the previous kernel versions?
In my laptop, it's GRUB 2. How can I eliminate the unused options?
View 1 Replies
View Related