Re: grub2 loop back is not working



On Sat, Apr 28, 2012 at 04:49:22PM +0530, J. Bakshi wrote:
Dear list,

I have upgraded my grub installed in my pendrive from 1.95 to 1.99

I've a pendrive with grub2 that boots about seven different ISOs.

And now the .iso images are not booting any more. oOne such configuration
is

` ` ` `
menuentry "Ubuntu Live 11.10 64bit" {

set root=(hd0,2)
loopback loop (hd0,2)/ubuntu-11.10-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-11.10-desktop-amd64.iso noeject noprompt --
initrd (loop)/casper/initrd.lz
}

Looks right to me, at first glance. Mine are a bit simpler (no 'set root',
no (hd0,2) prefixes -- see http://mg.pov.lt/blog/booting-iso-from-usb.html
for more details.)

` ` ` ` `

grub reports
=============

error: no menuentry defination
error: syntax error
error: Incorrect command
error: syntax error

It looks like there's a syntax error somewhere outside of the snippet
that you showed us.

Can you pastebin the entire grub.cfg?

I have found only the entry having loop is causing the problem.
How can I use the configuration in grub2 then ?

My entire working grub.cfg is http://paste.ubuntu.com/962962/

I'm not sure which grub2 version I have there; how can I check (without
actually trying to reboot from it)?

Marius Gedminas
--
We're sysadmins. To us, data is a protocol-overhead.

Attachment: signature.asc
Description: Digital signature

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: [opensuse] 12.3 RC1 install mysteries
    ... does the default and boots, resulting in a graphic login screen - which ... works - even though grub2 does not manage it's graphics. ... there is no root password, so I cannot do any system configuration. ... can log in as a user (made during the first phase of the install) and ...
    (SuSE)
  • Re: [opensuse] grub2 loopback with 12.3 isos
    ... the 12.3 ISOs on one of the drives configured with grub2 to boot the ISO ... I know if I want to put the install DVD ISOs on the drive as distributed, ... installer, and I ended up in the "simple" installer (ncurses interface ...
    (SuSE)