[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub2 loop back is not working



On Sat, 28 Apr 2012 09:41:02 -0400
Wayne Topa <linuxtwo@gmail.com> wrote:

> On 04/28/2012 08:58 AM, J. Bakshi wrote:
> > On Sat, 28 Apr 2012 08:47:26 -0400
> > Wayne Topa<linuxtwo@gmail.com>  wrote:
> >
> >> On 04/28/2012 08:23 AM, J. Bakshi wrote:
> >>> On Sat, 28 Apr 2012 12:11:55 +0000 (UTC)
> >>> Camaleón<noelamac@gmail.com>   wrote:
> >>>
> >>>> On Sat, 28 Apr 2012 17:27:21 +0530, J. Bakshi wrote:
> >>>>
> >>>>> On Sat, 28 Apr 2012 11:38:15 +0000 (UTC) Camaleón<noelamac@gmail.com>
> >>>>> wrote:
> >>>>
> >>>>>>> The grub now reports
> >>>>>>>
> >>>>>>> error: no menuentry defination
> >>>>>>> error: syntax error
> >>>>>>> error: Incorrect command
> >>>>>>> error: syntax error
> >>>>>>
> >>>>>> Where did you find that stanza? It looks like you just copied/pasted it
> >>>>>> wrong :-?
> >>>>>>
> >>>>>>
> >>>>>> menuentry "debian-6.0.3-amd64-netinst.iso" {
> >>>>>> 	loopback loop /debian-6.0.3-amd64-netinst.iso linux
> >>>>>> 	(loop)/install.amd/vmlinuz boot=install.amd iso-scan/filename=/debian-6.0.3-amd64-netinst.iso noeject noprompt --
> >>>>>>         initrd (loop)/install.amd/initrd.gz
> >>>>>> }
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> Sorry, you are right.
> >>>>>
> >>>>> The [video=vesa:ywrap,mtrr initrd] is appended accidentally during CCP.
> >>>>> But even with the correct config which you have shown above, I get the
> >>>>> same errors :-(
> >>>>
> >>>> Weird, because a similar block (same?>:-?) similar worked for you not so
> >>>> long ago:
> >>>>
> >>> Yes I know, and it was with 1.95 and presently I'm with
> >>> 1.99
> >>>
> >>>
> >> What is the directory/filename the above  "menuentry" is in?
> >>
> >>
> >
> > (hd0,2)/debian-6.0.3-amd64-netinst.iso
> >
> > (hd0,2) is the 2nd partition of pendrive. If I omit the above menuentry from grub.cfg
> > gurb2 boots fine. As soo as I insert the above config, it throws the error ..
> >
> >
> 
> I think there is a language problem here.  Lets try another way.
> 
> In Grub(1) 1.97 the the /boot/grub/menu.cfg was the where config 
> information was.
> 
> In Grub2 (1.99)  the config files, NOTE: files not 1 but many files, are 
> located in .  Those are the files you need to use for Grub2.
> 
> If grub(1) was able to boot iso files I was not aware of it.  I do boot 
> iso files using grub2 but that requires a bit of work on your part, such 
> as putting the iso file in /boot/images.
> 
> So I will ask again.  Where is the file you have the above mentioned 
> menuentry  located?
> 

Please note, the grub is installed into the pendrive and there is no /etc/grub.d/
but only  /boot/grub

The iso is also located on the pendrive


Reply to: