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

Bug#534887: live-initramfs: Loop mounting .iso for booting from multi-purpose USB stick?



* Philip Hands <phil@hands.com> [20090628 21:37]:
> On Sun, Jun 28, 2009 at 11:27:30AM +0200, Michael Prokop wrote:

> > http://git.grml.org/?p=live-initramfs-grml.git;a=blob;f=debian/patches/06_support_fromiso_isofrom.dpatch;hb=HEAD
> > http://git.grml.org/?p=live-initramfs-grml.git;a=blob;f=debian/patches/07_support_findiso.dpatch;hb=HEAD

> > should basically do what you want.

> Yup, I've tried applying them to the live-initramfs from debian's git,
> and as long as I specify fromiso=/debian-live.iso (and call the image
> that, of course) it works.

OK

> BTW would it not be a good idea to insert a / in front of the $FINDISO's
> in the script, so that people don't have to remember it on the kernel
> command line?

Hm, makes sense - thanks. This should do what you suggested:

  http://git.grml.org/?p=live-initramfs-grml.git;a=commit;h=3d99619

> > Do I understand it right that the partedmagic live system doesn't
> > require *any* additional bootoptions at all to boot the ISO directly
> > from USB (running losetup & CO on it's own)?

> Yes.  Again you need to name the image as it expects (which in the case
> of PartedMagic 4.2 turns out to be "pmagic-4.1.iso", amusingly)

Ok, sounds for me like you've to set the ISO name (the one the
system will be looking for) somewhere at buildtime.

> > You mention it in your blog article
> > http://wiki.hands.com//howto/ultimate-usb-stick/#gettingdebian-livetorun
> > already, but JFTR: grub2 with loopback option doesn't have the
> > fragmentation problem (though grub2 was/is kind of broken in current
> > Debian/unstable).

> > What systems do you have that support USB-ZIP only?

> The one that prompted me to go to the effort was a recently purchased
> Jetway JNC91-330-LF 1.6GHz Dual Core ATOM Mainboard, which came with
> Pheonix AwardBIOS 6.00PG Copyright --2008

> Oh, damn ... /me btters his head against the desk for a little while...

> Right, prompted by your question, and the fact that the system in
> question really ought to know how to boot USB-HDD, I had another rumage
> through the boot options.

> The menu for booting mentions USB-FDD USB-ZIP and USB-CD, but no USB-HDD.

Yeah, nothing unusual. :)

> Of course, the thing that I'd failed to spot was the little arrow next
> to the "Hard Disk" option, indicating the presence of a sub-menu.

> If one selects that sub-menu, it reveals an option for the built-in HDD,
> and a "Bootable Add-in Cards" option -- which is what I was after all
> along, it seems.

Fine.

> Ho hum -- I suppose I can make my usb-stick setup considerably less
> complicated now :-)

:)

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: