lubuntu-qa team mailing list archive
-
lubuntu-qa team
-
Mailing list archive
-
Message #02685
Re: Fwd: GRUB2/ISO Boot
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type
the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Xubuntu 13.04 ISO" {
loopback loop /xubuntu-13.04.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=xubuntu-13.04.iso
splash --
initrd (loop)/casper/initrd.lz
}
BusyBox v. 1.20.2 built-in shell (ash)
Enter 'help' for a list of built-in commands
(initramfs)
It does NOT work. I have no idea what is wrong?
Your 40_custom file Nio is not like mine. TOO complicated and not sure what
approach was that?
On Sun, May 5, 2013 at 7:45 PM, Nio Wiklund <nio.wiklund@xxxxxxxxx> wrote:
> Hi amjjawad,
>
> I use this method to boot from downloaded iso files stored on a HDD. The
> method works well with some iso files, for example Ubuntu 10.04 and
> newer. But it does not work (at least I don't know how to do it with
> several other iso files). I learned this method from a post by
> jerrylamos @ ubuntuforums.
>
> I attach a 40-custom file of mine. But grub.cfg can be as simple as the
> second attached file shows.
>
> (I use that grub.cfg file in a second version to install Lubuntu 13.04
> into computers with Pentium M cpu. After a little more testing by a few
> people, I'll be ready to publish those methods, but that is another story.)
>
> Best regards
> Nio
>
>
> On 2013-05-04 16:39, Ali Linx (amjjawad) wrote:
> > Forgot to add:
> >
> > my 40_custom file content:
> >
> > #!/bin/sh
> > exec tail -n +3 $0
> > # This file provides an easy way to add custom menu entries. Simply
> > type the
> > # menu entries you want to add after this comment. Be careful not to
> change
> > # the 'exec tail' line above.
> > menuentry "Xubuntu 13.04 ISO" {
> >
> > set isofile="/xubuntu-13.04-desktop-i386.iso"
> >
> > loopback loop (hd0,1)$isofile
> >
> > linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile
> > noprompt noeject
> >
> > initrd (loop)/casper/initrd.lz
> >
> > }
> >
> >
> > Thanks :)
> >
> > ---------- Forwarded message ----------
> > From: *Ali Linx (amjjawad)* <amjjawad@xxxxxxxxx <mailto:
> amjjawad@xxxxxxxxx>>
> > Date: Sat, May 4, 2013 at 6:25 PM
> > Subject: GRUB2/ISO Boot
> > To: "lubuntu-qa@xxxxxxxxxxxxxxxxxxx
> > <mailto:lubuntu-qa@xxxxxxxxxxxxxxxxxxx>" <lubuntu-qa@xxxxxxxxxxxxxxxxxxx
> > <mailto:lubuntu-qa@xxxxxxxxxxxxxxxxxxx>>
> >
> >
> > Hi,
> >
> > https://help.ubuntu.com/community/Grub2/ISOBoot
> >
> > I wanted to try something else to install a system rather than 'dd' or
> > USB Disc Creator or UNetbootin. Both UNetbootin and USB Disc Creator are
> > so problematic lately with 13.04 ISOs. That is why I asked
> > this: https://answers.launchpad.net/unetbootin/+question/227885
> >
> > Anyway, I wanted to try something new then it came to my mind to try out
> > the ISO Boot by creating an entry so that GRUB2 will boot from while the
> > ISO is stored on the HDD - check the first link I posted above.
> >
> > I thought this will be a sooth and easy procedure but apparently, it is
> not.
> > I was trying to install Xubuntu 13.04 so I created the entry after I
> > copied the ISO to my root and according to this:
> >
> > https://help.ubuntu.com/community/Grub2/ISOBoot#Storing_the_ISO
> >
> >
> > *The ISO can remain on the system partition (/) if desired.
> > *
> >
> > Booting to Xubuntu 13.04 Live Desktop was successful but now, the
> > installer is stuck on "detecting file system..." and it does not move
> > with some error message about mounting the ISO (I didn't take a note
> > what exactly was the message).
> >
> > Lubuntu 12.10 is my main OS, hence I updated:
> > /etc/grub.d/40_custom
> >
> > and of course I ran: sudo update-grub
> >
> > I'm not sure how to fix this?
> > I will try again and I will abort the installation because obviously, it
> > is stuck and not moving at all.
> >
> > Thoughts?
> >
> > Thanks!
> >
> > P.S.
> > I guess I will also contact my old friend, drs305 :D
> >
> > --
> > *Best Regards,*
> > *amjjawad <https://wiki.ubuntu.com/amjjawad/>*
> > *Start Ubuntu
> > <
> https://wiki.ubuntu.com/Lubuntu/CommunicationsTeam/WOWLubuntu/StartUbuntu
> >*
> >
> >
> >
> >
> >
> > --
> > *Best Regards,*
> > *amjjawad <https://wiki.ubuntu.com/amjjawad/>*
> > *Start Ubuntu
> > <
> https://wiki.ubuntu.com/Lubuntu/CommunicationsTeam/WOWLubuntu/StartUbuntu
> >*
> >
> >
> >
> >
>
>
--
*Best Regards,*
*amjjawad <https://wiki.ubuntu.com/amjjawad/>*
*Start Ubuntu<https://wiki.ubuntu.com/Lubuntu/CommunicationsTeam/WOWLubuntu/StartUbuntu>
*
*Test Machine: ASUS F3F Laptop - **Intel Core Duo T2350 @ 1.86GHz with
489MB RAM*
References