From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kLNuKpR8jGCxGwEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 23:54:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +MURJpR8jGCKfAAAB5/wlQ (envelope-from ) for ; Fri, 30 Apr 2021 21:54:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 154AE27003 for ; Fri, 30 Apr 2021 23:54:28 +0200 (CEST) Received: from localhost ([::1]:48490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcb5f-0003NJ-9C for larch@yhetil.org; Fri, 30 Apr 2021 17:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcYgA-00014y-Dc for help-guix@gnu.org; Fri, 30 Apr 2021 15:19:58 -0400 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:38562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcYg5-0007y2-1Y for help-guix@gnu.org; Fri, 30 Apr 2021 15:19:55 -0400 Received: by mail-io1-xd32.google.com with SMTP id q25so25374246iog.5 for ; Fri, 30 Apr 2021 12:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=G1FnoX5az+qopnWPJ6ms/HXiph2ydHEIyBQC0iXtdmE=; b=VJ82L4UpWqroWK5LqJPsotk3ErJ6d+cjWAYIjs/A/AB7nH8klTYwZ4io80TheXzAgq EMb+2wnn3Z8qtlEWzVi5lV3b8v44sQBG8A3vyXz7a6YMxNSy5buTtBFk/lArujI0f3/I j6GtS1oWGeR+qI2uKeD6TW69dbcH/cmUYEVbCp2xMPexl3T0WpIkN9yBNfG8hs9Y7ESu 4zkT3fhLAGp1/iEOMqWFIz16tooV/AQYVVgix79tj6n1Zg/JcJqXexkviz1hlSBV3LV0 Kvv6LpGqDw69NCn/xihot+2BH4xBTmqlD+MAWpqILtYy7y5kYqbzhn9r5nTjSVWR5HYJ 5VaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=G1FnoX5az+qopnWPJ6ms/HXiph2ydHEIyBQC0iXtdmE=; b=i4DBcErkfb6bIQC53uQFwm8xEGfvAWI0LQup2OVI7EihKpcD4oe9cBheQWGU+Hd0ko T3bH3DuCEEKvgUIZ27iGitNerYBcEnDXyaHMUrHvMUPwcbqUw7kRLQGnHkjxbnPLzaya 2Sluf2uAwFixMxELCNsMTSCR4iZhcLXFwzLIeUXfbFOrIMVRd3blT3LVi4NsHXQ16NeI LznfLiS8pp5So188rt6Zrgvn4NrRbEYOkMws4352MzOE+mg6DKpA5oLgGZUtqv5snHel 2ic5TTTpLQpL0cqLH8Y7rEIzB8ajOUJFbh5iSlpXD0nazMbHF4ErnWxMB5LKyGLiUn0u Z7Tw== X-Gm-Message-State: AOAM532EY8c/vP5HvQ7OKl4mOar3BGleP+yXO1fZSvrRQtjlWje2kO+U P6FNKq7zl5YlhcDKpmNATXcrr6/Dgp/SBfOTnsmVBN4A51Y= X-Google-Smtp-Source: ABdhPJzLlJqNFHHRCiFLSK0K3w4kheBw19YlFVYOo75cpi8zQ3DmcYY9wa+E45zA2tpZHQrGyQMJPAVXZ0DATQSGulI= X-Received: by 2002:a05:6602:218a:: with SMTP id b10mr5330443iob.122.1619810391363; Fri, 30 Apr 2021 12:19:51 -0700 (PDT) MIME-Version: 1.0 From: Vladilen Kozin Date: Fri, 30 Apr 2021 20:19:39 +0100 Message-ID: Subject: Any way to boot Guix with root partition elsewhere? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d32; envelope-from=vladilen.kozin@gmail.com; helo=mail-io1-xd32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 30 Apr 2021 17:11:26 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619819668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=G1FnoX5az+qopnWPJ6ms/HXiph2ydHEIyBQC0iXtdmE=; b=TvxDX1CkEx7YGkzXAidoFidRmblR9Kn2XygjZz68BjyUKXz3Am75XVBYRKkD83R7li1h5Q d/DXBgbf/GepFeGVk/Qck1nT/z088LPGNS2uBc4hdEhZ3/16dn3x20Krc3oWd0ZLixVjZC E+YCDfIDQbQ6QhgsDEOsTX8srT7LABHwekwCVrqh76/OTzKZowR8MlJHo1urZqSJXx2i8r xyBtwX8eSUEvhfDwImpU18i1sdvRbRMERc89rnvIkQUTUMMEPbOtFi1oFTSOV6NGa+71R3 NWRhapd3XjxOEvNr2j8g/iGiRF5hWuz2ahymK8zVTAoQRIZRpa26hWNmb4spsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619819668; a=rsa-sha256; cv=none; b=kHM8tVj4WQF8dlXzDNnq9Q9wyvF/U866XdtgdV7XysWJ73aSldxe9BeJ33w44cjtwd+Ohp yi1hvDZN1MvFcnr/pA1lQPFQilVzdM7tdYukSlDSKWK4FfBnMT2RpL10El13hbrhzSQ3ox D7taDp54daeFDe6IQSmtdFOv9elFtRBRS7M7m+kCKReeMZ4qyH1oMmcnhalDFJNtSVbmwq N6xra8AMVXim+smTghGeIPF/HvDqUZkhsCJvBI4yR5BJYd5nts33EQ5ajniFKNsiz2d2zC Cpk3XoylkVZr6Gnm72WpSHJNT9QFZgOVNiPeWfDHpHJmOFzhvJJ1LxTL5M2Hjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VJ82L4Up; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VJ82L4Up; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 154AE27003 X-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: Xiz63SqQ/3An Hello guix. My machine only has USB 2 and rusty old spinners. USB is obviously slow and guix with its store will quickly destroy any consumer grade USB stick I insert there. Rusty spinners are so slow I wouldn't want my worst enemy running their OS on them. So, I plugged PCIe card with NVMe SSD drive. Problem is, this BIOS won't expose them as available for booting. However, one can boot off USB and then "redirect" OS boot to that PCIe SSD. I've successfully employed just this strategy on FreeBSD, which lets you specify a different partition for late stage booting (at this point those NVMe drives have been detected by FreeBSD early stages). So, I installed Guix on that NVMe and thought I'd be clever and put grub-bootloader on the USB drive simply by specifying (target "/dev/sdWHATEVER") in the `bootloader-configuration`. `guix system init config.scm /mnt` went perfectly fine. Reboot and of course `grub` can't find the drive by UUID. And `grub rescue` shows that only this USB is available, sadly it only then occurred to me that `grub` isn't Linux or Guix so I guess it has no idea how to find those PCIe NVMe drives. Is there a way out of this predicament? I can see two options. (1) can some Linux distro/bootloader do the FreeBSD trick: start on USB but then chain-boot Guix off that SSD? IIUC grub's chain-boot is of no help here, cause it simply won't even see that drive; (2) install and run Guix off USB but somehow ensure that "IO heavy" bits are mounted from that SSD. There's gotta be some (file-systems ...) combined with the way I `guix system init config.scm /mnt` (or rather what else I mount under /mnt where) that would achieve this? In the above I'm going the `manual installation` route i.e. I've been more or less following https://guix.gnu.org/manual/en/html_node/Manual-Installation.html Sadly the GUI based install haven't worked for me even once - I always find myself staring at some Guile exception or other. Manual worked every time, though. Thank you -- Best regards Vlad Kozin