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 DA1B41382C5 for ; Sat, 17 Feb 2018 08:44:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04193E09DC; Sat, 17 Feb 2018 08:44:07 +0000 (UTC) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 5B50AE09C3 for ; Sat, 17 Feb 2018 08:44:06 +0000 (UTC) Received: by mail-lf0-x229.google.com with SMTP id v9so4995160lfa.11 for ; Sat, 17 Feb 2018 00:44:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=m7B9WWs3uo6bMzmju7uzTIQKOsI8a0s2P517tXtBzSc=; b=KqRx0yP5ZIGi0eznlNQwtwsl/b7dfw0saXMn82GoF2hRUaD4eI2GK1Bcz3imxako33 7XyiTyQQcsIihuYnM1pqZfRTgDAPRV+KBUE14IHm6amo7X6je77WYFkzDG9UP46dm8yb dd3F5RG4KXW8mwCSEKdiDZo4KuwncwkG907wkqrJyU6rkpvIOajYZTKgtTx5K7/s+1+/ r2puXSvY1ZAcKahNmFzKtyfshwiETG0Rtv5dEeuL1IVE97e3DLxp1IxIBudGzOoeDJRz TTv9a6t2lKHxte1JiYaRlDlFjkxLeRT/wmLOL+NL0Os8hhq0WX/swQpl3Yo0tHOMonIf bwYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=m7B9WWs3uo6bMzmju7uzTIQKOsI8a0s2P517tXtBzSc=; b=Vd3mOtV50m7AcUGCR9JHxX7qmyhrquuvwSQsZUkTb2ag+ppbN89oleQ0/CpKRDv7dX fc1YPIF6EBKcWWB44b1tGq6HF1K8NhavsEiDrpmQ1g2Hl5qUk/DNO6zPS/OlE1/hNMWs RxSbkihjMZxGFj6Rl+lr3yyaQGzeVC2J6hEW9CDYK/JEVrYjnW7hnm5YZosD79gs+s0g u217hdlKQz6GkNk7qo5X9ecvG3fNapbkU6CWwV9Xz3FPnlKJh1E2aMQc6OKyKY2gDMjz GaLS1F5PhOLDSzXnvyE/E6LUaIMmlWKHd5Oit8wJaB67vpFvcpJS3uqt6I0O1mgOA/+c s1Fg== X-Gm-Message-State: APf1xPBajuUQHFC4AUY9nLma29yrW6dILL7ym8JCzUcohhnCp/ao9m9f q0nEse4qL/PtIyzKRtbTPOrHPx2GN+rKrBVIjuN5HA== X-Google-Smtp-Source: AH8x226GAgXcAb07iT96dlptgQFWI0D0zecdjfMStGpSpF2GeLhDNbzEZleAdrU2w0t2+pX6KS8LoQPDrb+Q7Hcx3K0= X-Received: by 10.46.44.8 with SMTP id s8mr5636211ljs.51.1518857044347; Sat, 17 Feb 2018 00:44:04 -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 Received: by 10.46.89.67 with HTTP; Sat, 17 Feb 2018 00:44:03 -0800 (PST) In-Reply-To: <2354992.1U7z9vWMk8@matrics> References: <2354992.1U7z9vWMk8@matrics> From: R0b0t1 Date: Sat, 17 Feb 2018 02:44:03 -0600 Message-ID: Subject: Re: [gentoo-user] Boot Gentoo live iso from grub To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 8825ac30-d48d-42c7-8d23-4dbff06467f9 X-Archives-Hash: 47a7029d30bd317faa9f6812ef3c7254 I take it you have read https://forums.gentoo.org/viewtopic-t-790015-highlight-grub2+iso.html. This did not work for me either, and it would leave me in the same place: the root filesystem would not be uncompressed and pivoted to. I can't remember exactly what the change was, but I think I retrieved the answer from that thread. Try the entry at https://forums.gentoo.org/viewtopic-p-6348023.html#6348023, which is: menuentry "Gentoo Linux minimal install" { loopback loop /boot/iso/install-amd64-minimal-20100408.iso linux (loop)/isolinux/gentoo root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz isoboot=/boot/iso/install-amd64-minimal-20100408.iso initrd (loop)/isolinux/gentoo.igz } The difference being a change in parameter name. isoloop is now isoboot. If that fails look at https://forums.gentoo.org/viewtopic-p-7719674.html#7719674, but it seems to contain the same changes. Having read all of that again this does seem like the fix. If that *still* doesn't work, recursively grep the unpacked ISO file for either isoloop or isoboot to find the location in the script you should be looking at. Cheers, R0b0t1 On Fri, Feb 16, 2018 at 1:34 PM, 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? > > > > >