From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 778041382C5 for ; Fri, 16 Feb 2018 19:37:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8D48E0AAD; Fri, 16 Feb 2018 19:37:25 +0000 (UTC) Received: from mail-qt0-x242.google.com (mail-qt0-x242.google.com [IPv6:2607:f8b0:400d:c0d::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81CBFE07BA for ; Fri, 16 Feb 2018 19:37:25 +0000 (UTC) Received: by mail-qt0-x242.google.com with SMTP id u6so5128261qtg.13 for ; Fri, 16 Feb 2018 11:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4s7ujcA3QbBXHvsRHL6DBUY4tsUYTT/wQL0op6/IDKM=; b=igiyxJKPQpaU3XPvP025daQxICQfGeHEL1rblzcXiJ1XOT3vk5kJf3yCq6mqsKgkFv ZKGq7Drhbl3pDjC9YRhjDsJw0HV4GR7N5CTHpFCqzkIv+4r+gXg11Pyju1KRyDhwqq0/ XbUP7SAZGSzXIJgDG01UP0DU3mOqhikgW3b2lbGD9WHEhYCbgzYAvwCPKSQF+TvKUrN2 W+BAul9aRQTRMs4CxyhQ6253gvsczGun8Ohi7l98JejB0XYfYFYR89eQMTv5UMqPraxV emMxoyFWnHZXGcixpFQfGmEMmwMvbPF/8PxhY0ne+a/9KTP6IsbDn/PGqZrFjMfPedJN XVqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4s7ujcA3QbBXHvsRHL6DBUY4tsUYTT/wQL0op6/IDKM=; b=QLul5i9zwW6GIJx+DpYrbnMQgWSK1iCSoSnj52vTWB6dppPVxI1WBdJ6Mn8d5/E0mJ 9T8ycRkuaJtKOHveBah/tkL8zyWzK4eWTvSHS/24XSOYAummlwXUOVUL5TalYQofJVs1 Z3J5w6sxXMrdMeiivyLxJvl6qv0v6GIP/8O0CVgEtBcdmA/dJZ92jTFRVih9IFC7KF5l HUVJwvP0agj/kd8GvfsmWVuIE4tHG5mtAPWsTPAgwv5RLz1JRcF0SjKqYpBT+NZlVd67 XKS2iqh+doILiAFD/4/9M2zxqqRlRuOE1eXQ7wkbFsPIvBAmBilrTZzUT3eK2Bjze5VM 3xlg== X-Gm-Message-State: APf1xPD3hj7pnZNdIDRVkddiTXJNLKEz+Dy3xzPjqtGIn8hjJ/PFxt/1 nR/9WUnghVhGMjOkxJw3Lew09H/5mAX9WTM9G91zbA== X-Google-Smtp-Source: AH8x227Mh5vBNBF4Tr6Jhve/iixWJelq5PR0hOSTNTYaTBXRzpx33LkIu9HP3CxXS+JeGNNMG/Kr2wbVFbYYmTrdVTI= X-Received: by 10.200.11.13 with SMTP id e13mr12139542qti.340.1518809844289; Fri, 16 Feb 2018 11:37:24 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 References: <2354992.1U7z9vWMk8@matrics> In-Reply-To: <2354992.1U7z9vWMk8@matrics> From: Ian Bloss Date: Fri, 16 Feb 2018 19:37:13 +0000 Message-ID: Subject: Re: [gentoo-user] Boot Gentoo live iso from grub To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="089e08231f0440148505655979a8" X-Archives-Salt: f4c15757-56ca-4ec1-ae14-ec9d5fe7c628 X-Archives-Hash: e2c6c85a36deaefa76a515dbe4a5fd9e --089e08231f0440148505655979a8 Content-Type: text/plain; charset="UTF-8" Probably need to pass a uuid to the real root kernel param On Fri, Feb 16, 2018, 11:34 AM zless wrote: > Hello all, > > I'm trying to have the Gentoo Live CD ISO as a recovery media in grub. > > I tried all the options I could think off in a custom grub menu entry like > this: > > menuentry "Gentoo ISO" { > set cmdline="root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs > loop=/image.squashfs cdroot initrd=gentoo.igz BOOT_IMAGE=gentoo" > loopback loop /path/to/iso/install-amd64-minimal-20180206T214502Z.iso > linux (loop)/isolinux/gentoo $cmdline isoloop=/image.squashfs > initrd=gentoo.igz vga=791 BOOT_IMAGE=gentoo > initrd (loop)/isolinux/gentoo.igz > } > > It boots the live CD kernel, it even asks for the keymap but then it fails > to mount the root device. > > Any idea how to properly boot the iso from grub? > > > > > > --089e08231f0440148505655979a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Probably need to pass a uuid to the real root kernel param

On Fri, Feb 16, 2018, 11:34 AM zless <= ;zless@dmesg.site> wrote:
Hello = all,

I'm trying to have the Gentoo Live CD ISO as a recovery media in grub.<= br>
I tried all the options I could think off in a custom grub menu entry like<= br> this:

menuentry "Gentoo ISO" {
=C2=A0 =C2=A0 set cmdline=3D"root=3D/dev/ram0 init=3D/linuxrc dokeymap= looptype=3Dsquashfs loop=3D/image.squashfs cdroot initrd=3Dgentoo.igz BOOT= _IMAGE=3Dgentoo"
=C2=A0 =C2=A0 loopback loop /path/to/iso/install-amd64-minimal-20180206T214= 502Z.iso
=C2=A0 =C2=A0 linux=C2=A0 (loop)/isolinux/gentoo $cmdline isoloop=3D/image.= squashfs initrd=3Dgentoo.igz vga=3D791 BOOT_IMAGE=3Dgentoo
=C2=A0 =C2=A0 initrd (loop)/isolinux/gentoo.igz
}

It boots the live CD kernel, it even asks for the keymap but then it fails = to mount the root device.

Any idea how to properly boot the iso from grub?





--089e08231f0440148505655979a8--