* [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
@ 2013-05-18 8:15 Mick
2013-05-18 9:08 ` tastytea
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Mick @ 2013-05-18 8:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 69 bytes --]
Hi All,
Is there a way of achieving this?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 8:15 [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy Mick
@ 2013-05-18 9:08 ` tastytea
2013-05-18 12:26 ` Mick
2013-05-18 13:09 ` Michael Hampicke
2013-05-18 18:46 ` Walter Dnes
2 siblings, 1 reply; 13+ messages in thread
From: tastytea @ 2013-05-18 9:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
On Sat, 18 May 2013 09:15:44 +0100
Mick <michaelkintzios@gmail.com> wrote:
> Hi All,
>
> Is there a way of achieving this?
>
Hi,
Maybe it works with chainloader?
See "info grub" for more information.
--
tastytea
GPG-Key: 87984243
Jabber-ID: tastytea@riseup.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 9:08 ` tastytea
@ 2013-05-18 12:26 ` Mick
2013-05-18 15:11 ` Ivan T. Ivanov
0 siblings, 1 reply; 13+ messages in thread
From: Mick @ 2013-05-18 12:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 843 bytes --]
On Saturday 18 May 2013 10:08:51 tastytea wrote:
> On Sat, 18 May 2013 09:15:44 +0100
>
> Mick <michaelkintzios@gmail.com> wrote:
> > Hi All,
> >
> > Is there a way of achieving this?
>
> Hi,
> Maybe it works with chainloader?
> See "info grub" for more information.
Thanks, but I don't know if there is a way to point grub legacy to a
particular partition, other than boot, to select an ISO from it. My /boot
partition is not large enough for a LiveDVD ISO file. Plus, I'm not sure that
GRUB legacy can mount an ISO as a loopback device.
When I tried:
================================================
root (hd0,10)
makeactive
chainloader /KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso
================================================
I got: Error 12, no suitable device found (or similar).
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 8:15 [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy Mick
2013-05-18 9:08 ` tastytea
@ 2013-05-18 13:09 ` Michael Hampicke
2013-05-18 18:46 ` Walter Dnes
2 siblings, 0 replies; 13+ messages in thread
From: Michael Hampicke @ 2013-05-18 13:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
Am 18.05.2013 10:15, schrieb Mick:
> Hi All,
>
> Is there a way of achieving this?
>
Grub legacy usually cannot boot iso images, but you could try
chainloading another bootloader from grub, which is able to boot an iso
file. Maybe let grub chainload grub2 which can boot isos.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 12:26 ` Mick
@ 2013-05-18 15:11 ` Ivan T. Ivanov
2013-05-18 16:24 ` Mick
0 siblings, 1 reply; 13+ messages in thread
From: Ivan T. Ivanov @ 2013-05-18 15:11 UTC (permalink / raw
To: gentoo-user
Hi,
>
> On Saturday 18 May 2013 10:08:51 tastytea wrote:
> > On Sat, 18 May 2013 09:15:44 +0100
> >
> > Mick <michaelkintzios@gmail.com> wrote:
> > > Hi All,
> > >
> > > Is there a way of achieving this?
> >
> > Hi,
> > Maybe it works with chainloader?
> > See "info grub" for more information.
>
> Thanks, but I don't know if there is a way to point grub legacy to a
> particular partition, other than boot, to select an ISO from it. My /boot
> partition is not large enough for a LiveDVD ISO file. Plus, I'm not sure that
> GRUB legacy can mount an ISO as a loopback device.
>
> When I tried:
> ================================================
> root (hd0,10)
> makeactive
> chainloader /KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso
> ================================================
>
> I got: Error 12, no suitable device found (or similar).
I do have following in my grub/menu.lst and it is working fine.
title PC-Doctor DOS
root (hd0,0)
kernel /boot/memdisk iso
initrd /boot/pcdoctor.iso
This is sys-boot/grub 0.97-r12
Regards,
Ivan
>
> --
> Regards,
> Mick
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 15:11 ` Ivan T. Ivanov
@ 2013-05-18 16:24 ` Mick
2013-05-20 7:18 ` Ivan T. Ivanov
0 siblings, 1 reply; 13+ messages in thread
From: Mick @ 2013-05-18 16:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 887 bytes --]
On Saturday 18 May 2013 16:11:13 Ivan T. Ivanov wrote:
> I do have following in my grub/menu.lst and it is working fine.
>
> title PC-Doctor DOS
> root (hd0,0)
> kernel /boot/memdisk iso
> initrd /boot/pcdoctor.iso
>
> This is sys-boot/grub 0.97-r12
I'm on the same GRUB version.
Unfortunately, I don't have enough space to place the ISO in the /boot
partition and I don't use an initrd.
Trying this stanza:
title KNOPPIX ISO
root (hd0,9) <-- this is my current boot partition <--
chainloader (hd0,10)/KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso
Gives me this error: Error 13: Invalid or unsupported executable format,
which tells me that it doesn't like/recognise the particular ISO image.
Trying to understand your grub entry - what is /boot/memdisk? Have you built
some eltorito image for your purpose? How does it work?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 8:15 [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy Mick
2013-05-18 9:08 ` tastytea
2013-05-18 13:09 ` Michael Hampicke
@ 2013-05-18 18:46 ` Walter Dnes
2013-05-19 7:28 ` Mick
2 siblings, 1 reply; 13+ messages in thread
From: Walter Dnes @ 2013-05-18 18:46 UTC (permalink / raw
To: gentoo-user
On Sat, May 18, 2013 at 09:15:44AM +0100, Mick wrote
> Hi All,
>
> Is there a way of achieving this?
I don't think so. Can your system boot from a USB stick? If so, see
https://wiki.archlinux.org/index.php/USB_Installation_Media for
instructions on how to make a CD ISO bootable off a USB stick. Note
that this is for legacy boot. For UEFI boot, see
https://wiki.archlinux.org/index.php/UEFI#Create_UEFI_bootable_USB_from_ISO
1) If you haven't already done so "emerge sys-boot/syslinux" to get the
"isohybrid" command.
2) Get a USB stick. *WARNING* all data on the stick will be erased
3) Assume the ISO is install-amd64-minimal-20130516.iso Execute the
command
isohybrid install-amd64-minimal-20130516.iso
4) Insert the USB stick. *DO NOT MOUNT IT*. Unmount it manually if you
have an automounter.
5) As root, execute the command...
dd bs=4M if=install-amd64-minimal-20130516.iso of=/dev/sdx
...where sdx is the USB stick (e.g. sdb or sdc or whatever)
- be careful not to overwrite the wrong device
- yes, it's sdx, not sdx1
6) You now have a bootable USB stick
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 18:46 ` Walter Dnes
@ 2013-05-19 7:28 ` Mick
0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2013-05-19 7:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1447 bytes --]
On Saturday 18 May 2013 19:46:15 Walter Dnes wrote:
> On Sat, May 18, 2013 at 09:15:44AM +0100, Mick wrote
>
> > Hi All,
> >
> > Is there a way of achieving this?
>
> I don't think so. Can your system boot from a USB stick? If so, see
> https://wiki.archlinux.org/index.php/USB_Installation_Media for
> instructions on how to make a CD ISO bootable off a USB stick. Note
> that this is for legacy boot. For UEFI boot, see
> https://wiki.archlinux.org/index.php/UEFI#Create_UEFI_bootable_USB_from_ISO
>
> 1) If you haven't already done so "emerge sys-boot/syslinux" to get the
> "isohybrid" command.
>
> 2) Get a USB stick. *WARNING* all data on the stick will be erased
>
> 3) Assume the ISO is install-amd64-minimal-20130516.iso Execute the
> command
>
> isohybrid install-amd64-minimal-20130516.iso
>
> 4) Insert the USB stick. *DO NOT MOUNT IT*. Unmount it manually if you
> have an automounter.
>
> 5) As root, execute the command...
>
> dd bs=4M if=install-amd64-minimal-20130516.iso of=/dev/sdx
>
> ...where sdx is the USB stick (e.g. sdb or sdc or whatever)
> - be careful not to overwrite the wrong device
> - yes, it's sdx, not sdx1
>
> 6) You now have a bootable USB stick
Thank you for this useful and succinct info Walter. Although I don't want to
use a bootable USB on this occasion, I'll keep this message as a reference for
when I do. :-)
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-18 16:24 ` Mick
@ 2013-05-20 7:18 ` Ivan T. Ivanov
2013-05-20 13:16 ` Mick
0 siblings, 1 reply; 13+ messages in thread
From: Ivan T. Ivanov @ 2013-05-20 7:18 UTC (permalink / raw
To: gentoo-user
Hi,
> -----Original Message-----
> From: Mick [mailto:michaelkintzios@gmail.com]
> Sent: Saturday, May 18, 2013 7:25 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB
> legacy
>
> On Saturday 18 May 2013 16:11:13 Ivan T. Ivanov wrote:
>
> > I do have following in my grub/menu.lst and it is working fine.
> >
> > title PC-Doctor DOS
> > root (hd0,0)
> > kernel /boot/memdisk iso
> > initrd /boot/pcdoctor.iso
> >
> > This is sys-boot/grub 0.97-r12
>
> I'm on the same GRUB version.
>
> Unfortunately, I don't have enough space to place the ISO in the /boot
> partition and I don't use an initrd.
initrd is an option/command of the grub itself, instead of pcdoctor.iso knopix iso image
have to be specified and regarding space limitation ... image could be placed anywhere in
the file system only requirements is that it have to be mounted/accessible by grub during
boot.
>
> Trying this stanza:
>
> title KNOPPIX ISO
> root (hd0,9) <-- this is my current boot partition <--
> chainloader (hd0,10)/KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso
>
> Gives me this error: Error 13: Invalid or unsupported executable format,
> which tells me that it doesn't like/recognise the particular ISO image.
>
> Trying to understand your grub entry - what is /boot/memdisk? Have you
> built
> some eltorito image for your purpose? How does it work?
I am not sure how memdisk is working :-), it is part of sys-boot/syslinux
My understanding is that grub is loading memdisk as a kernel/os with an
option 'iso' and initrd option specifies what to mount as a rootfs??
Regards,
Ivan
> --
> Regards,
> Mick
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-20 7:18 ` Ivan T. Ivanov
@ 2013-05-20 13:16 ` Mick
2013-05-20 14:25 ` Ivan T. Ivanov
2013-05-20 17:24 ` [gentoo-user] Re[2]: " the guard
0 siblings, 2 replies; 13+ messages in thread
From: Mick @ 2013-05-20 13:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1728 bytes --]
On Monday 20 May 2013 08:18:55 Ivan T. Ivanov wrote:
> > -----Original Message-----
> > From: Mick [mailto:michaelkintzios@gmail.com]
> > Unfortunately, I don't have enough space to place the ISO in the /boot
> > partition and I don't use an initrd.
>
> initrd is an option/command of the grub itself, instead of pcdoctor.iso
> knopix iso image have to be specified and regarding space limitation ...
> image could be placed anywhere in the file system only requirements is
> that it have to be mounted/accessible by grub during boot.
OK, I pointed initrd to (hd0,10)/KNOPPIX......iso, but I don't know how to
mount /dev/sda11 as part of the booting process.
This is how I specified it:
title Knoppix ISO
root (hd0,9)
kernel /boot/isolinux/memdisk iso raw
initrd (hd0,10)/KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso
Where (hd0,9) is my /boot partition and (hd0,10) is a large partition that
contains various images.
> > Trying to understand your grub entry - what is /boot/memdisk? Have you
> > built
> > some eltorito image for your purpose? How does it work?
>
> I am not sure how memdisk is working :-), it is part of sys-boot/syslinux
> My understanding is that grub is loading memdisk as a kernel/os with an
> option 'iso' and initrd option specifies what to mount as a rootfs??
Yes, that's right:
http://www.syslinux.org/wiki/index.php/MEMDISK
Unfortunately, it can only boot some images it seems, or it can only boot them
if they have been stored in /boot. I copied memdisk from the KNOPPIX DVD to
my /boot, grub finds it and runs it, but then it fails to load the Knoppix ISO
with this error:
MEMDISK: No ramdisk image specified!
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-20 13:16 ` Mick
@ 2013-05-20 14:25 ` Ivan T. Ivanov
2013-05-20 15:03 ` Mick
2013-05-20 17:24 ` [gentoo-user] Re[2]: " the guard
1 sibling, 1 reply; 13+ messages in thread
From: Ivan T. Ivanov @ 2013-05-20 14:25 UTC (permalink / raw
To: gentoo-user
> This is how I specified it:
>
> title Knoppix ISO
> root (hd0,9)
> kernel /boot/isolinux/memdisk iso raw
> initrd (hd0,10)/KNOPPIX_V7.0.5DVD-2012-12-21-EN.iso
>
> Where (hd0,9) is my /boot partition and (hd0,10) is a large partition that
> contains various images.
>
>
> > > Trying to understand your grub entry - what is /boot/memdisk? Have
> you
> > > built
> > > some eltorito image for your purpose? How does it work?
> >
> > I am not sure how memdisk is working :-), it is part of sys-boot/syslinux
> > My understanding is that grub is loading memdisk as a kernel/os with an
> > option 'iso' and initrd option specifies what to mount as a rootfs??
>
> Yes, that's right:
>
> http://www.syslinux.org/wiki/index.php/MEMDISK
>
>
> Unfortunately, it can only boot some images it seems, or it can only boot
> them
> if they have been stored in /boot. I copied memdisk from the KNOPPIX DVD
> to
> my /boot, grub finds it and runs it, but then it fails to load the Knoppix ISO
> with this error:
>
> MEMDISK: No ramdisk image specified!
Too bad. I don't know. Have you tried this one: http://forums.debian.net/viewtopic.php?f=5&t=52419
Regards,
Ivan
>
>
> --
> Regards,
> Mick
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-20 14:25 ` Ivan T. Ivanov
@ 2013-05-20 15:03 ` Mick
0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2013-05-20 15:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 864 bytes --]
On Monday 20 May 2013 15:25:17 Ivan T. Ivanov wrote:
> > Unfortunately, it can only boot some images it seems, or it can only boot
> > them
> > if they have been stored in /boot. I copied memdisk from the KNOPPIX DVD
> > to
> > my /boot, grub finds it and runs it, but then it fails to load the
> > Knoppix ISO
> >
> > with this error:
> > MEMDISK: No ramdisk image specified!
>
> Too bad. I don't know. Have you tried this one:
> http://forums.debian.net/viewtopic.php?f=5&t=52419
Thanks Ivan, yes it can be made to boot from a hard drive if the iso is
unpacked and GRUB pointed to the kernel and initrd images, which should also
be saved on the drive. I was looking for a way to boot directly the iso file
itself. It seems that the solution for some ISOs with which memdisk won't
work, is to use GRUB 2.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re[2]: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
2013-05-20 13:16 ` Mick
2013-05-20 14:25 ` Ivan T. Ivanov
@ 2013-05-20 17:24 ` the guard
1 sibling, 0 replies; 13+ messages in thread
From: the guard @ 2013-05-20 17:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 74 bytes --]
mb this can help?
http://diddy.boot-land.net/grub4dos/files/map.htm#hd32
[-- Attachment #2: Type: text/html, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-05-20 17:24 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-18 8:15 [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy Mick
2013-05-18 9:08 ` tastytea
2013-05-18 12:26 ` Mick
2013-05-18 15:11 ` Ivan T. Ivanov
2013-05-18 16:24 ` Mick
2013-05-20 7:18 ` Ivan T. Ivanov
2013-05-20 13:16 ` Mick
2013-05-20 14:25 ` Ivan T. Ivanov
2013-05-20 15:03 ` Mick
2013-05-20 17:24 ` [gentoo-user] Re[2]: " the guard
2013-05-18 13:09 ` Michael Hampicke
2013-05-18 18:46 ` Walter Dnes
2013-05-19 7:28 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox