From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: Re: mount store in a separated partition Date: Thu, 4 Jul 2019 23:25:25 -0600 Message-ID: <20190704232525.1101ceb8@gmail.com> References: <896e89a2-01ce-4675-bdcc-79fe7e87f58e@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53404) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjGiy-0000TZ-QG for help-guix@gnu.org; Fri, 05 Jul 2019 01:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjGix-00007b-Pd for help-guix@gnu.org; Fri, 05 Jul 2019 01:25:32 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:36330) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjGix-00006K-GK for help-guix@gnu.org; Fri, 05 Jul 2019 01:25:31 -0400 Received: by mail-pg1-x541.google.com with SMTP id c13so3762237pgg.3 for ; Thu, 04 Jul 2019 22:25:30 -0700 (PDT) In-Reply-To: <896e89a2-01ce-4675-bdcc-79fe7e87f58e@www.fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Reza Alizadeh Majd Cc: help-guix@gnu.org Though I'm not as familiar with this issue, I think I can help. GRUB is looking for the kernel and other boot info in your OS's root partition, /dev/vda1. However, your actual kernel is in /dev/sda1. To get GRUB to boot properly, you need to specify in grub.cfg to look in /dev/sda1. I do not know if it is possible to do this in a guix configuration, and am too tired right now to do the research to explain it (11:30PM local), but I hope this is a good start. On Fri, 05 Jul 2019 01:10:35 +0430 "Reza Alizadeh Majd" wrote: > Hi Guix, > > I want to try `/gnu/store` to a separated partition, which has more > capacity for packages, for this I use following configuration: > > --8<---------------cut here---------------start------------->8--- > (operating-system > ... > (bootloader (bootloader-configuration > (bootloader grub-bootloader) > (target "/dev/vda"))) > (file-systems (cons* (file-system > (device "/dev/vda1") > (mount-point "/") > (type "ext4")) > (file-system > (device "/dev/sda1") > (mount-point "/gnu/store") > (needed-for-boot? #t) > (type "ext4") > (create-mount-point? #t)) > %base-file-systems)) > ... > --8<---------------cut here---------------end--------------->8--- > > but using this configuration, GRUB theme wont boot correctly and I > receive following error during boot: > > --8<---------------cut here---------------start------------->8--- > error: no such device: > /gnu/store/...-linux-libre-5.1.16/bzImage. > error: file > `/gnu/store/...-linux-libre-5.1.16/bzImage` not found. > error: you need to load the kernel first. > > Press any key to continue... > --8<---------------cut here---------------end--------------->8--- > > could anyone help me on this matter? > > Thanks, > Reza >