LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Grub2 Not Passing Parameters to Kernel (https://www.linuxquestions.org/questions/general-10/grub2-not-passing-parameters-to-kernel-831062/)

youarefunny 09-08-2010 04:18 PM

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.

aus9 09-08-2010 06:00 PM

hi

if you want to use grub2 to boot an iso.....you may need to look at isofrom and other such things.....your menu appears to be some attempt to boot a standard fully exploded installed system....which is not how you boot isos sitting on your usb stick.

2) but if your output is to boot an expanded installed system....please explain how that relates to your ....boot some os's

some information might help is here
http://www.panticz.de/MultiBootUSB

http://www.linux.com/community/blogs...via-Grub2.html

youarefunny 09-09-2010 07:05 AM

Quote:

Originally Posted by aus9 (Post 4091871)
if you want to use grub2 to boot an iso.....you may need to look at isofrom and other such things.....your menu appears to be some attempt to boot a standard fully exploded installed system....which is not how you boot isos sitting on your usb stick.

i wasn't planning on booting from an iso because when I tried that the persistent mode doesn't work. I put all the bt files on the usb and tried to boot the kernel. It loads but goes into text only non-persistent mode. ( as it would if I gave it no parameters )

It works with grub legacy but when I use grub2 it fails.


All times are GMT -5. The time now is 04:02 AM.