From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-147814-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id B1D991381F3
	for <garchives@archives.gentoo.org>; Mon, 20 May 2013 13:17:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6DF39E08C5;
	Mon, 20 May 2013 13:16:55 +0000 (UTC)
Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 0C669E0872
	for <gentoo-user@lists.gentoo.org>; Mon, 20 May 2013 13:16:53 +0000 (UTC)
Received: by mail-we0-f179.google.com with SMTP id m46so1023983wev.38
        for <gentoo-user@lists.gentoo.org>; Mon, 20 May 2013 06:16:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:from:reply-to:to:subject:date:user-agent:references
         :in-reply-to:mime-version:content-type:content-transfer-encoding
         :message-id;
        bh=0xlfwJPmF4zP32hSjqFuBiwbNXs2w+tsXvSVH12XV6w=;
        b=smfYeKCOhCQQiK9aVFsdk1ciwl+odTv1pluHZxLwe0FyEt5UZUyg5TGq6LvauLFYzu
         NuOnIY9eRapVld8RUpttqOyrDpOfavzxX8GTOROUV1xuXGhwnuRV8Kq8arKSL71pHY2z
         uzxNGj3bk3W6H53taCXoMNwaEOj/gEbcJuM96Xvx+5wh/dov31DD+uwJzV4U9aqAsjBE
         Ej6o4DiBs4DnHNAiB0fVdTcq7VK/pnCnbJnFAjNQHA+i1ndqyfjcFOeJztsNYNOuC3SW
         F4zVmNjRON46eGkHG4QNcIAX5bk7Ee03gor4QbIE9IYeoVORVg8bK8FGwLz/BjXXfrgD
         YXxg==
X-Received: by 10.180.187.234 with SMTP id fv10mr13991577wic.29.1369055812679;
        Mon, 20 May 2013 06:16:52 -0700 (PDT)
Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230])
        by mx.google.com with ESMTPSA id ca19sm14673865wib.3.2013.05.20.06.16.50
        for <gentoo-user@lists.gentoo.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 20 May 2013 06:16:51 -0700 (PDT)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Booting LiveCD iso from hard drive with GRUB legacy
Date: Mon, 20 May 2013 14:16:21 +0100
User-Agent: KMail/1.13.7 (Linux/3.8.13-gentoo; KDE/4.10.2; x86_64; ; )
References: <201305180916.19740.michaelkintzios@gmail.com> <201305181725.19808.michaelkintzios@gmail.com> <002701ce552a$4a76cc50$df6464f0$@mm-sol.com>
In-Reply-To: <002701ce552a$4a76cc50$df6464f0$@mm-sol.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart2198366.VoZRxJaTGn";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201305201416.42131.michaelkintzios@gmail.com>
X-Archives-Salt: f3e06288-554e-4e5a-b8da-1847dee34bb4
X-Archives-Hash: 52fb6953e3580276981944d868c511b6

--nextPart2198366.VoZRxJaTGn
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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=
=20
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=
=20
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?
>=20
> 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 t=
hem=20
if they have been stored in /boot.  I copied memdisk from the KNOPPIX DVD t=
o=20
my /boot, grub finds it and runs it, but then it fails to load the Knoppix =
ISO=20
with this error:

  MEMDISK: No ramdisk image specified!


=2D-=20
Regards,
Mick

--nextPart2198366.VoZRxJaTGn
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAABAgAGBQJRmiI6AAoJELAdA+zwE4YeDSIIAL6uma5hLNWslOY+vlCtIP4l
4XehKYcbHtgAfY/aOPz9uCkVb1yTU7rBHKKFC6OAKKnA8PZtEl3BKuB8kqPqGxOg
PQPN3lDmebfz7EJneSovcKsyI+SJ3Qob3F3iPadWNGT9th971HAI9zFquxzipyap
7narRhDembO34zcdrAh3qRs5eJ4xZYuuu1qvIDQ6tbRNuivc0CRda9yXEPTUt40C
glgwGn0GrRMYNIShdZrIazc+LH/JU6xCEEBSd15SZlAiKjkzIAuz6zdZuyGxD28S
cz6/V1MIqiSfyYgU99ccGRbkqdmJpSgAiHnPl03nH/DdQvgrJiUiAd1zAoKccxI=
=7laK
-----END PGP SIGNATURE-----

--nextPart2198366.VoZRxJaTGn--