LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub2 and isolinux.cfg (https://www.linuxquestions.org/questions/linux-newbie-8/grub2-and-isolinux-cfg-742016/)

niravshah 07-22-2009 01:19 PM

Grub2 and isolinux.cfg
 
How can we get the same menu as isolinux.cfg with grub2
I cannot use menu.lst since i am booting from an iso using grub2 for which i m using the loopback option in grub2

I want something like extlinux where in you just rename isolinux.cfg with exlinux.conf

But i cannot figure out how can I do the same with grub2


Thanks
Nirav

linus72 07-23-2009 06:16 AM

lol
what's up niravshah?

so did you ever get redhat to boot from iso?


ahrrg!
First, did I already tell you about this one?

http://www.panticz.de/MultiBootUSB

Note the kernel bootcodes grub2 is using

Code:

iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso --
Code:

find_iso/filename=/boot/iso/bt4-pre-final.iso BOOT=casper boot=casper
note the differences,?

that is a script, so maybe you can add your own iso's to it?

you gotta read all this too dude

https://bugs.launchpad.net/ubuntu/+s...b2/+bug/376879

http://wiki.zenwalk.org/index.php?ti...ILO_with_GRUB2

http://en.gentoo-wiki.com/wiki/Grub2

http://aronzak.wordpress.com/2008/09...ay-from-grub2/

http://ubuntuforums.org/showthread.php?p=7505203

<<Mod edit: removed some unhappy stuff>>

onebuck 07-23-2009 10:03 AM

Hi,

Quote:

Originally Posted by linus72 (Post 3617585)
<snip>
You should donate to my organization too niravshah...

It's called PayMe.com
and you can send me a check or money order too dude

This is not proper.

Quote:

excerpt from 'LQ rules';

There is no advertising allowed in the forums. If you are interested in advertising, please contact us.

linus72 07-23-2009 10:14 AM

It was actually a joke
but, in bad taste:)
"PayMe.com"

lol

pixellany 07-23-2009 11:10 AM

linus72;

I have watched your enthusiasm since you joined, and I think that you have made significant contributions. If you will tone done the promotion of your site, "multidistro", etc. it will keep everything going more smoothly.

thanks

PS: You seem to be referring to some prior conversations that don't relate to OP's question. Please do something to tie all this together so it makes sense.

niravshah 07-23-2009 11:52 AM

Quote:

Originally Posted by linus72 (Post 3617585)
lol
what's up niravshah?

so did you ever get redhat to boot from iso?


ahrrg!
First, did I already tell you about this one?

http://www.panticz.de/MultiBootUSB

Note the kernel bootcodes grub2 is using

Code:

iso-scan/filename=/boot/iso/ubuntu-9.04-desktop-i386.iso --
Code:

find_iso/filename=/boot/iso/bt4-pre-final.iso BOOT=casper boot=casper
note the differences,?

that is a script, so maybe you can add your own iso's to it?

you gotta read all this too dude

https://bugs.launchpad.net/ubuntu/+s...b2/+bug/376879

http://wiki.zenwalk.org/index.php?ti...ILO_with_GRUB2


http://en.gentoo-wiki.com/wiki/Grub2

http://aronzak.wordpress.com/2008/09...ay-from-grub2/

http://ubuntuforums.org/showthread.php?p=7505203

<<Mod edit: removed some unhappy stuff>>

Hi linus72

How are you?

Well i read all the links you forwarded me and also i tried both
the option to boot kernels but that did not boot my red hat iso
It still gives me the error You need to load the kernel first

I really appreciate your help man

Thanks
Nirav

linus72 07-23-2009 12:39 PM

niravshah, where is the kernel?
in the iso or in the usb?

niravshah 07-23-2009 12:51 PM

Quote:

Originally Posted by linus72 (Post 3617934)
niravshah, where is the kernel?
in the iso or in the usb?

Its in the iso.The iso is inside the boot/iso directory in the usb.
this how my menuentry looks likes

menuentry "myiso boot" {
loopback loop /boot/iso/myiso.iso
linux (loop)/isolinux/vmlinuz --
initrd (loop)/isolinux/initrd.img
}

linus72 07-23-2009 01:53 PM

Seems maybe redhat can't do that
http://mgerards.net/blog/?p=16

Quote:

I of course tried to do the same with Knoppix. It has a bootfrom option, but according to some forum post I found it doesn’t work when not booting from a CDROM. So I would have to wait until knoppix is fixed before this would work. I also hope Debian, Red Hat, etc will eventually make this possible.
hmmm...?

what now?

niravshah 07-23-2009 03:39 PM

Quote:

Originally Posted by linus72 (Post 3618018)
Seems maybe redhat can't do that
http://mgerards.net/blog/?p=16



hmmm...?

what now?

Well I have started loosing hope.
May its only possible for some ISO's and sadly my iso doesn't fall on the category.

The problem is no one has ever done this so its like doing by trial n error method.

I am probably thinking of taking a different approach like executing a script file from the grub which would mount the iso temporarily then boot from it may be.

I am also working on the extlinux process which works fine and i am trying to automate it through a script file so lets see.

If this would have worked it would have been just perfect but then there is nothing that you can do.

niravshah 07-23-2009 06:15 PM

Quote:

Originally Posted by niravshah (Post 3618091)
Well I have started loosing hope.
May its only possible for some ISO's and sadly my iso doesn't fall on the category.

The problem is no one has ever done this so its like doing by trial n error method.

I am probably thinking of taking a different approach like executing a script file from the grub which would mount the iso temporarily then boot from it may be.

I am also working on the extlinux process which works fine and i am trying to automate it through a script file so lets see.

If this would have worked it would have been just perfect but then there is nothing that you can do.

Any last thoughts anyone?


All times are GMT -5. The time now is 12:45 PM.