[Top][All Lists]

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

Re: Boot from an ISO-File?

From: Goh Lip
Subject: Re: Boot from an ISO-File?
Date: Fri, 01 Apr 2011 02:30:15 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110223 Thunderbird/3.1.8

On Friday 01,April,2011 02:17 AM, Patrick Strasser wrote:
schrieb David A. Cobb am 2011-03-31 19:32:
The object: testing downloaded Linux (Ubuntu 11.04-pre) install media,
avoiding burning more coasters.

 From the documentation, I see that from the command line I can "mount"
an ISO file image as a device, e.g. loopback loop

It would seem logical that I could then boot from that "device."  Disks
burned from these images are bootable -- whatever that requires.
Annoyingly, they all then fail to mount the filesystem.squashfs that
contains the Linux content.  IIRC, the image uses LOADLIN to boot,
perhaps indicating that this would require chain-loading; however, if I
examine the files contained in the image, I see that it also contains a
/boot/grub/grub.cfg file.

I tried something like this with the recipie from
If you already have an GRUB2 installation, forget everything up to point
III.5. Get the grub.cfg and see how it should work.

Noteworthy is the last paragraph:
Adding an Unlisted ISO: To try ISO Files that are not yet listed, use
the existing menuentry examples in /boot/grub/grub.cfg and append any
options normally found in the distributions syslinux.cfg file on the
"append" line to the "linux" line of the menu entry.

This means you open the image like a disk, and then do what syslinux
would do.

Of course it would be much better to chainload the original boot
mechanism to get all option right from the start. Any hints or
experiences by anyone?

Installation would seem to be worlds quicker if I could leave the
relatively slow CD access out of the equation -- and even more
convenient if I could at least test that the image would not fail like
all its predecessors.

I'd like to have a USB disk with a rescue system (Grml) and a Ubuntu
installer. Problem is that the root device is not stable for USB devices
and I did not yet figure out how get all de UUID stuff and embeding a
config in the installation working.



With grub2, don't need chainload or syslinux. Boot directly using loopback. With usb, it is also not an issue as long as uuid is specified.

Goh Lip

reply via email to

[Prev in Thread] Current Thread [Next in Thread]