[SOLVED] Grub seems to ignore kernel parameters

Hi,
I have the impression that grub ignores all kernel parameters that I added after installing arch.
The relevant lines in /etc/default/grub look like:
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root resume=/dev/LvmOnLuks/swap"
GRUB_CMDLINE_LINUX="acpi_osi= add_efi_memmap i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1"
After generation the kernel line /boot/grub/grub.cfg looks like:
linux /boot/vmlinuz-linux root=UUID=1c05593f-4bfc-4b1f-a0ab-c9ef8f6e97fa rw acpi_osi= add_efi_memmap i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root resume=/dev/LvmOnLuks/swap
Until this point everything is ok.
But /proc/cmdline give me:
BOOT_IMAGE=/vmlinuz-linux root=UUID=1c05593f-4bfc-4b1f-a0ab-c9ef8f6e97fa rw quiet cryptdevice=/dev/sda2:LvmOnLuks root=/dev/mapper/LvmOnLuks-root
I get the same output from the kernel line in the grubmenu at boottime. But these are the parameters I set at arch installation, not the current ones.
Softwareversions:
linux 3.15.7-1
grub 1:2.02.beta2-4
efibootmgr 0.7.0-1
efivar 0.10-1
I have no idea what the problem could be and I hope I can get help here.
Last edited by don_philipe (2014-08-10 21:57:21)

According to https://wiki.archlinux.org/index.php/AS … _backlight no value is needed for this parameter. The other parameters are also taken from this wiki page https://wiki.archlinux.org/index.php/AS … Parameters.
Edit:
I just tried it without the acpi_osi= parameter, but nothing changed.
Last edited by don_philipe (2014-08-04 16:53:39)

Similar Messages

  • J2EE Agent seems to ignore scenario parameters

    Hi all,
    I'd appreciate if anybody can give me some hints on how to diagnose/solve this problem. I am running a scenario for a package with interfaces, procedures, etc.
    When the scenario is run from the Linux command line, it works ok. If the same scenario is called via the OdiInvoke web service, it seems to be ignoring the parameters passed in the call. For example, when called like this:
    /oracle/app/product/midtier/OraODI/oracledi/agent/bin/startscen.sh "SENDDATATOTARGET" 006 TESTING 5 \
    -NAME="OracleDIAgent" \
    -SESSION_NAME="Inbound" \
    "AMRINBOUND1.TransferNoReads=F"
    ... it works correctly (The AMRINBOUND1.TransferNoReads=F parameter is interpreted correctly). But if the same scenario is called via a service call like:
    <InvokeODIScenario_invokeStartScen_InputVariable>
    <part name="part1">
    <ns0:OdiStartScenRequest>
    <Credentials>
    <OdiUser>supervisorusername</OdiUser>
    <OdiPassword>supervisorpwd</OdiPassword>
    <WorkRepository>WL_WORKREP1</WorkRepository>
    </Credentials>
    <Request>
    <ScenarioName>SENDDATATOTARGET</ScenarioName>
    <ScenarioVersion>006</ScenarioVersion>
    <Context>TESTING</Context>
    <Synchronous>true()</Synchronous>
    <SessionName>Inbound</SessionName>
    <Variables>
    <Name>AMRINBOUND1.TransferNoReads</Name>
    <Value>F</Value>
    </Variables>
    <LogLevel>5</LogLevel>
    </Request>
    </ns0:OdiStartScenRequest>
    </part>
    </InvokeODIScenario_invokeStartScen_InputVariable>
    ...the parameter AMRINBOUND1.TransferNoReads is ignored and its default value is used. Please note that it's the same scenario being executed by the same agent, the only change is in the way the scenario is started (command line vs. web service call); so the problem must be in the web service call.
    This is running on ODI 11.1.1.5.1 and Oracle Weblogic 11.1.1.5.0 for Linux x64.
    Thanks for your replies!
    Jose
    Edited by: JR on Jan 10, 2012 6:01 PM
    Edited by: JR on Jan 10, 2012 6:04 PM

    Here's a solution:
    Instead of assigning the ODI parameters individually through BPEL assign operations, put the whole input to the startSCenRequest service call in an XML fragment. Different values for the ODI input parameters would require different XML fragments. Assigning the <Variables><Name></Name><Value></Value></Variables> elements through assign operations does not work.
    for example:
    <switch name="Switch1">
    <case condition="bpws:getVariableData('inputVariable','payload','/client:process/client:input') = *'F'* ">
    <assign name="prepareInputParams">
    <copy>
    <from><ns0:OdiStartScenRequest xmlns:ns0="xmlns.oracle.com/odi/OdiInvoke/">
    <Credentials xmlns="">
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>#####</OdiPassword>
    <WorkRepository>WL_WORKREP1</WorkRepository>
    </Credentials>
    <Request xmlns="">
    <ScenarioName>PARAMETERTEST</ScenarioName>
    <ScenarioVersion>001</ScenarioVersion>
    <Context>DEVELOPMENT</Context>
    <Synchronous>true</Synchronous>
    <SessionName>Parameter Test</SessionName>
    <Keywords>WebService</Keywords>
    <Variables>
    <Name>AMRINBOUND1.RunStatus</Name>
    <Value>0</Value>
    </Variables>
    <Variables>
    <Name>AMRINBOUND1.AMRInbound2TransferNoReads</Name>
    *<Value>F</Value>*
    </Variables>
    <LogLevel>5</LogLevel>
    </Request>
    </ns0:OdiStartScenRequest></from>
    <to variable="InvokeODIScenario_invokeStartScen_InputVariable"
    part="part1"/>
    </copy>
    </assign>
    </case>
    <otherwise>
    <assign name="prepareInput2">
    <copy>
    <from><ns0:OdiStartScenRequest xmlns:ns0="xmlns.oracle.com/odi/OdiInvoke/">
    <Credentials xmlns="">
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>#####</OdiPassword>
    <WorkRepository>WL_WORKREP1</WorkRepository>
    </Credentials>
    <Request xmlns="">
    <ScenarioName>PARAMETERTEST</ScenarioName>
    <ScenarioVersion>001</ScenarioVersion>
    <Context>DEVELOPMENT</Context>
    <Synchronous>true</Synchronous>
    <SessionName>Parameter Test</SessionName>
    <Keywords>WebService</Keywords>
    <Variables>
    <Name>AMRINBOUND1.RunStatus</Name>
    <Value>0</Value>
    </Variables>
    <Variables>
    <Name>AMRINBOUND1.AMRInbound2TransferNoReads</Name>
    *<Value>T</Value>*
    </Variables>
    <LogLevel>5</LogLevel>
    </Request>
    </ns0:OdiStartScenRequest></from>
    <to variable="InvokeODIScenario_invokeStartScen_InputVariable"
    part="part1"/>
    </copy>
    </assign>
    </otherwise>
    </switch>

  • [SOLVED]Systemd: removing quiet in kernel parameters

    Hello
    I am configuring systemd according to systemd's page in the Archlinux's wiki:
    https://wiki.archlinux.org/index.php/Systemd
    I have a doubt about the first point in the suplementary information section. This one says:
    If you have quiet in your kernel parameters, you might want to remove it for your first couple of systemd boots, to assist with identifying any issues during boot
    Does it mean I must remove the word quiet in the section GRUB_CMDLINE_LINUX_DEFAULT, in the file /etc/default/grub?
    Thanks in advance.
    Last edited by zuargo (2013-04-19 01:21:37)

    wingsuit wrote:
    hobarrera wrote:Yes, that's what it's refering to. You should check the output of the boot process the first couple of times to fix any warnings/errors. Once everything is running smoothly, you can add the "quite" parameter back if you like a silent boot.
    quiet* right?
    Yes, "quiet", that was just a typo.

  • IPad seems to ignore Quicktime parameters

    I'm developing a html page that embeds a quicktime movie, and uses buttons to swap out other movies inside that same player.
    Issue is, it works fine on any browser, but once loaded on an ipad, it ignores the autoplay line, and the setURL line for the swap.
    Also, how can I assign the qtnext parameter in the href call so that the movies I load with the buttons automatically reload the initial movie once they finish playing?
    Thanks a ton in advance.

    I'm developing a html page that embeds a quicktime movie, and uses buttons to swap out other movies inside that same player.
    Issue is, it works fine on any browser, but once loaded on an ipad, it ignores the autoplay line, and the setURL line for the swap.
    Also, how can I assign the qtnext parameter in the href call so that the movies I load with the buttons automatically reload the initial movie once they finish playing?
    Thanks a ton in advance.

  • [solved] Grub config file, upgrading kernel

    Hi!
    I can't see what I've done wrong here, so I'd be really grateful if one of you could help me out.  Heres my menu.lst:
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz]
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/discs/disc0/part2 ro
    # (1) Arch 2.4
    title Arch Linux 2.4 [/boot/vmlinuz-2.4]
    root (hd0,1)
    kernel /boot/vmlinuz-2.4 root=/dev/discs/disc0/part2 ro
    # (2) Arch 2.6
    title Arch Linux 2.6 [/boot/vmlinuz26]
    root (hd0,1)
    kernel /boot/vmlinuz26 root=/dev/discs/disc0/part2 devfs=nomount ro
    Thanks!
    From Alan

    Have you recently updated your kernel?
    in that case, you lack the line
    initrd /boot/initrd26.img
    after the kernel line.
    What is happening? have all kernels suddenly stopped booting? Have you recently fiddled around with the kernel, boot or something? upgraded or otherwise. Or have you only used pacman, and upgraded something else?
    Give us some meat on the bones

  • IOMMU explanation of kernel parameters

    Hello!
    I've set up an HTPC with an AMD A4-5300 CPU, A75 (Hudson-D3) chipset and a PCIe sound card (Asus Xonar DX). Whenever I tried to get a sound out of it (e.g. aplay blubb.wav) I only got dozens of these messages in the kernel log:
    [ 46.215678] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.0 domain=0x0000 address=0x0000000000100000 flags=0x0050]
    The messages appeared only on the first aplay command. When the program finished and I ran it again, I got no additional messages but sadly also no sound.
    Spending two evenings on this problem with google I found out it might be some trouble with IOMMU features of the processor or mainboard. So after trying out several of the options, I found iommu=soft in the kernel parameters got the sound to work fine. I have the possible options from here: https://www.kernel.org/doc/Documentatio … ptions.txt
    But I don't really understand what's the matter with this IOMMU thing. It seems like a memory management for I/O Components and seems related to DMA access. But what does the IOMMU do? Which side effects come with these options? I understand the "soft" option in that way, that some features present in hardware are now managed in software. "can be used to prevent the of an available hardware IOMMU" sounds even worse since the option might completely disable the hardware feature. But is this really bad? I mean with the option I finally have good quality audio output but for what price? Can I expect disadvantages from this setting? Since I'm not really into all this kernel and hardware stuff, this all seems so confusing. Or is it possible that the error causing the above message has a totally different source and it's just luck that the option kind of worked around it?
    Can anyone here maybe explain even a little bit about the IOMMU and what might have caused these problems?
    I opened a thread in the multimedia section here where I asked for help to get audio output but no one replied. So I think the people living over there are also not familiar with the topic. And since I found kind of a workaround which is hardware related I hope it is ok to open this other thread to maybe get some explanation about what I have really done there...

    Thanks for the detailed explanation!
    But isn't the GART something Video Card related? Or is it that what you mean with "abusing" the GART?
    So when I set "iommu=soft" the IOMMU basically gets disabled? Quoting the file about the boot options, it says:
    3. <arch/x86_64/kernel/pci-swiotlb.c> : Software IOMMU implementation. Used
          e.g. if there is no hardware IOMMU in the system and it is need because
          you have >3GB memory or told the kernel to us it (iommu=soft))
          Kernel boot message: "PCI-DMA: Using software bounce buffering
          for IO (SWIOTLB)"
    What I don't fully understand... Is the IOMMU actually a CPU feature or is it on the mainboard's hand? For what I read, the A-Processors from AMD are IOMMU supported, so my setup should work with it. Or could it be my mainboard not having correct support for it? (MSI FM2-A75IA-E53)
    For testing, I disabled the IOMMU switch in GRUB, dmesg shows the kernel already automatically chooses software buffering. ("[    0.654086] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)") but then I get those tons of AMD-Vi messages. When I set the IOMMU to force software buffering, I have not a single problem. The entry in dmesg also tells it is using software bounce buffering. But shouldn't there be no difference if the kernel chooses the software option or if I force it to do so?

  • Ubuntu 14.04 on L440: kernel parameters on boot

    Hi,
    I got myself a Lenovo L440 and decided to go dual boot with Windows and Ubuntu 14.04. I start to regret my choice because the hardware doesn't seems to be very compatible. After issues both network and audio parts, I am having problems with the general features such as the brightness controls and the fan control.
    I had graphical problems on boot when I launched X server with startx.
    After some readings, I read that nomodeset option should be enabled in GRUB for the Ubuntu partittion. Apparently by having this options, it tells the kernel to only load the graphical drivers when the graphical server is started, and not when the kernel is started. I had to enable this option to fix my problem which was a black screen when the graphical server started (sometimes...).
    By enabling nomodeset, I don't have features such as backlight control. Apparently, I need to had the kernel parameters "acpi_osi=", with or withtout a right-value of the equalization ("Linux, "Windows 2012", or nothing).
    I have no idea how to get my backlight control and if I am doing the right way with nomodeset.
    What do you think?
    Thank you!

    Hi:
    You may also want to post your question on the HP Business Support Forum -- Proliant Servers section.
    http://h30499.www3.hp.com/t5/ProLiant/ct-p/proliant

  • [SOLVED]Problematic upgrade to newest kernel 3.10.5-1

    Aloha, guys. I've just had a miserably failed upgrade to the latest kernel, probably due to something I had misconfigured and hadn't noticed before.
    I was running 3.10 already perfectly before this last update to 3.10.5-1 (x86_64), but as soon as I rebooted after upgrading to the brand spanking new kernel, I got the fsck warning other people mentioned around this forum - corrected already in my syslinux.cfg by replacing ro with rw in the append line.
    Both with ro and rw in the append line the boot process hangs (afterall, that fsck warning wouldn't stop the laptop from booting). The problem I'm having is that udev is not starting, meaning that boot hangs with lots of failed udev warnings.
    The first one that comes up is "Failed to start udev Coldplug all Devices", and "Failed to start udev Kernel Device Manager" from then on until the boot process just hangs.
    I've chrooted and tried rebuilding the initramfs, but it's giving me an "invalid kernel specified: 'boot/vmlinuz-linux'" error.
    Right now I'm totally at a loss, as I cannot even begin to troubleshoot it any further. I hadn't kept the older kernel pkg in order to downgrade, but would like to try correcting this before eventually downgrading - as that just temporarily solves my problem.
    My mkinitcpio hooks were "base udev autodetect modconf block filesystems keyboard fsck" and I've never had any previous problems with my initramfs. I know I may be missing something basic, or some further information needed to troubleshoot it, so please, please, please, just let me know and I will provide it here.
    Any help will be greatly appreciated! Thanks in advance!
    Last edited by Onyros (2013-08-07 21:03:54)

    This must be something specific about your system - I have three machines running without any problem with kernel 3.10.5-1 - one uses the latest grub 2.00.5086-1, and the other two boot with rEFInd. All three boot fine and are stable.
    Did you have any customisation in your mikinitcpio.conf or kernel parameters during boot?
    In case it is of interest here is the output in my pacman log for the kernel update section:
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Starting build: 3.10.5-1-ARCH
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Starting build: 3.10.5-1-ARCH
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2013-08-07 13:23] [ALPM-SCRIPTLET] ==> Image generation successful
    Last edited by mcloaked (2013-08-07 13:29:16)

  • Understanding mkinitcpio, kernel parameters, and hooks.

    I have a fairly complex setup involving dm-crypt volumes being unlocked pre-boot, so I'm somewhat familiar with mkinitcpio.conf and grub.cfg. However, I still have a burning question: are kernel parameters actually interpreted by the kernel? For example, the ip= parameter is included in the kernel documentation, leading me to believe that the kernel interprets this parameter and acts upon it during boot. On the other hand, the cryptdevice= parameter appears to be specific to the mkinitcpio encrypt hook (does not appear in kernel documentation) which interprets it and runs cryptsetup in early userspace. In this case, are kernel parameters simply being used as a vehicle in order to pass information from the boot loader to early userspace? If so, why couldn't this be done by including a configuration file directly in the initcpio, which could be parsed at boot-time? Such a configuration file seems like a superior means of passing information to early userspace, as different files could be used for different hooks, they could be of different formats (i.e. contain linebreaks), and would not be subject to the maximum kernel command line length.
    In fact, it looks like some hooks already do this. For example, the sd-encrypt hook includes a file /etc/crypttab file directly in the initcpio image. Why would other hooks use kernel parameters when the early userspace filesystem is available for use?
    I'm primarily asking just for educational purposes. Explanations are appreciated.

    Spider.007 wrote:I think the ip-parameter is coincidentally the same as the net-module uses.
    I found this in the mkinitcpio-nfs-utils ipconfig README:
    These [parameters] (along with the ugliness of the long form) are present for compatibility with the in-kernel ipconfig code from 2.4 and earlier kernels.
    which supports the hypothesis that the kernel parameter is left over from a time when network configurations were done in kernel-space. The syntax remained the same in the initcpio hook to maintain backwards comparability with older bootloader configurations. At least that's the impression I'm under.
    Spider.007 wrote:The kernel is still responsible for mounting the rootfs; what has changed is that most distro's switched to initcpio's for reasons that are repeated on the wiki: ...
    Yes, I believe the kernel itself performs the mount(2) which overwrites the / mountpoint with the real root filesystem after it is available. (But for all I know, a hook could be performing a mount(8) instead of the kernel!) What I meant was that the kernel no longer is responsible for all of the initializations necessary for the real root filesystem to become available (so the kernel can mount it), hence the need for initrd/initramfs/initcpio. Take dropbear_initrd_encrypt for example. Dropbear is a userspace SSH server. Without early userspace, an SSH server would have to be embedded in the kernel just for the 0.01% of users out there who need to be able to unlock volumes remotely. Early userspace allows complex systems like this (and other very different ones) to be configured without the need for patching the kernel.
    I assume that some low-level kernel parameters (maxcpus= for example) are still relevant solely to the kernel, as things like SMP process scheduling can't easily be implemented in userspace.
    Am I getting this right so far?
    Last edited by EscapedNull (2015-01-13 19:40:50)

  • [Unsolved, closed] Grub not showing other kernel (linux-lts)

    Hi,
    Stuck with Grub not showing other kernel, started with willing to keep two kernels.
    grub config file shows both kernels correctly but still not appearing at boot (it's like pale black/blue, seems I am stuck with grub legacy? tried reinstallation etc but didn't work):
    Boot menu
    Arch Linux
    Arch Linux Fallback
    HDT
    Reboot
    Power
    Sorry can't produce screenshot.
    Disk info
    Device Type
    /dev/sda1 Linux filesystem
    /dev/sda2 Linux swap
    /dev/sda3 Linux home
    Note: gparted shows 'legacy_boot' flag on /sda1
    Config/files/output are:
    # update-grub
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-linux-lts
    Found initrd image: /boot/initramfs-linux-lts.img
    Found fallback initramfs image: /boot/initramfs-linux-lts-fallback.img
    Found linux image: /boot/vmlinuz-linux
    Found initrd image: /boot/initramfs-linux.img
    Found fallback initramfs image: /boot/initramfs-linux-fallback.img
    No volume groups found
    done
    # cat /boot/grub/grub.cfg:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    else
    search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/01_grub-customizer_menu_color_helper ###
    ### END /etc/grub.d/01_grub-customizer_menu_color_helper ###
    ### BEGIN /etc/grub.d/10_linux_proxy ###
    menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    else
    search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    fi
    echo 'Loading Linux linux-lts ...'
    linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-lts.img
    menuentry "Arch Linux, with Linux linux-lts" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    else
    search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    fi
    echo 'Loading Linux linux-lts ...'
    linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-lts.img
    menuentry "Arch Linux, with Linux linux-lts (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    else
    search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    fi
    echo 'Loading Linux linux-lts ...'
    linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-lts-fallback.img
    submenu "Advanced options for Arch Linux"{
    menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    else
    search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    else
    search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux_proxy ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    cat /etc/default/grub shows:
    GRUB_DEFAULT="0"
    GRUB_TIMEOUT="5"
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT="5"
    #GRUB_HIDDEN_TIMEOUT_QUIET="true"
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT="console"
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT="console"
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE="auto"
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX="keep"
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID="true"
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY="true"
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    Last edited by jackpot (2014-08-20 07:53:27)

    clfarron4 wrote:Did you install os-prober? Try running that and then running the other commands.
    Yes, did. Same result.
    Sanity Check: Is it booting from LiveUSB/CD? I would not expect HDT/Reboot or Power Off entries from a generated grub config. I would expect those entries from a LiveUSB/CD.
    From system itself, but tried all options (I knew) like 1) using fallback to install LTS and run commands, 2) live-CD, 3) kernel parameter systemd.unit etc
    No worries, I am giving up on issue for some time.
    EDIT:
    Thanks
    Last edited by jackpot (2014-08-20 11:14:32)

  • Reg: Kernel Parameters White paper

    Hi Gurus,
    Can any one tell me the importance of kernel parameters with respect to oracle database installation.
    Thanks & Regards
    Azim

    There is some Oracle specific info at [Solaris Internals and Performance FAQ|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals_and_Performance_FAQ]
    Are you looking to solve a problem(s) or just avoid them?
    have a good day,
    Glen

  • Unable to set  kernel parameters using solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

  • Unable to set kernel parameters using Reource Control

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
    As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
    prctl -n process.max-msg-messages  -r -v 64k 2221
    bash-3.00# prctl 2221
    process: 2221: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -And now to make this persist across reboots...
    So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
    bash-3.00# projadd -p 115 -U testuser \
    -K "process.max-msg-messages=(priv,64K,deny)" \
    -K "process.max-msg-qbytes=(priv,64K,deny)" \
    user.me This creates the following /etc/project:
    (note the last line is all on one line in the real file minus the \.)
    placer% cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    user.me:115::testme::\
    process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
    placer% prctl $$
    process: 419: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -
    process.max-sem-ops
            privileged        512       -   deny                                 -
            system          2.15G     max   deny                                 -
    ...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
    Cheers,
    ~~sa

  • Unable to set kernel parameters using Reource Control in solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

  • HT2357 So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    So how does this work on Mountain Lion? I cannot seem to ignore the iTunes 11 updates, which now seem to appear every 5 minutes!!

    Fantastic!  Didn't work at first so restarted App store and tried again.  This time it asked 'ignore update'.  All gone!

Maybe you are looking for