LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-22-2009, 01:19 PM   #1
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Rep: Reputation: 16
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
 
Old 07-23-2009, 06:16 AM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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>>

Last edited by pixellany; 07-23-2009 at 11:12 AM.
 
Old 07-23-2009, 10:03 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,293
Blog Entries: 3

Rep: Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448Reputation: 1448
Hi,

Quote:
Originally Posted by linus72 View Post
<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.
 
Old 07-23-2009, 10:14 AM   #4
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
It was actually a joke
but, in bad taste
"PayMe.com"

lol
 
Old 07-23-2009, 11:10 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.

Last edited by pixellany; 07-23-2009 at 11:14 AM.
 
Old 07-23-2009, 11:52 AM   #6
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
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
 
Old 07-23-2009, 12:39 PM   #7
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
niravshah, where is the kernel?
in the iso or in the usb?
 
Old 07-23-2009, 12:51 PM   #8
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
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
}
 
Old 07-23-2009, 01:53 PM   #9
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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?
 
Old 07-23-2009, 03:39 PM   #10
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
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.
 
Old 07-23-2009, 06:15 PM   #11
niravshah
Member
 
Registered: Jul 2009
Posts: 83

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by niravshah View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub2 mbvo Slackware 7 11-12-2009 06:06 AM
isolinux.cfg - can not have a prompt and timeout Bluesuperman Slackware 3 09-28-2008 05:34 AM
mkisofs: Error - boot image './isolinux/isolinux.bin' has not an allowable size. ogross74 Red Hat 2 05-15-2007 09:19 AM
isolinux.cfg what´s wrong here? FreddyF Linux - Newbie 1 12-28-2005 01:27 PM
ISOLINUX 1.75 2002-06-14 isolinux failed to get sector size tihe Linux - General 13 12-16-2002 04:55 AM


All times are GMT -5. The time now is 12:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration