Find the answer to your Linux question:
Results 1 to 5 of 5
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" { ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    8

    Exclamation Grub2 Not Passing Parameters to Kernel


    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:
    menuentry "BackTrack Persistent" {
    	set gfxpayload=1024x768
    	
    	linux	/backtrack/boot/vmlinuz
    	initrd	/backtrack/boot/initrd.gz
    }
    Grub is not passing parameters for some reason.

    I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309
    i m not sure read this documentation it help you
    GRUB 2 bootloader - Full tutorial
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  3. #3
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    you can get some help from here
    Grub 2 Basics - Ubuntu Forums
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    GRUB2 uses options defined in /etc/default/grub folder only.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Sep 2010
    Posts
    8
    Quote Originally Posted by devils casper View Post
    GRUB2 uses options defined in /etc/default/grub folder only.
    I'm sorry but I believe that you are mistaken. I believe that when you run 'update-grub' it takes that file and uses it to create /boot/grub/grub.cfg.

    Also when I edit this file the menu shows as expected.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •