all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mount store in a separated partition
@ 2019-07-04 20:40 Reza Alizadeh Majd
  2019-07-05  5:25 ` Jesse Gibbons
  0 siblings, 1 reply; 6+ messages in thread
From: Reza Alizadeh Majd @ 2019-07-04 20:40 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount store in a separated partition
  2019-07-04 20:40 mount store in a separated partition Reza Alizadeh Majd
@ 2019-07-05  5:25 ` Jesse Gibbons
  2019-07-08 10:20   ` Reza Alizadeh Majd
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Gibbons @ 2019-07-05  5:25 UTC (permalink / raw)
  To: Reza Alizadeh Majd; +Cc: help-guix

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" <r.majd@pantherx.org> 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
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount store in a separated partition
  2019-07-05  5:25 ` Jesse Gibbons
@ 2019-07-08 10:20   ` Reza Alizadeh Majd
  2019-07-09 23:09     ` Quiliro's lists
  0 siblings, 1 reply; 6+ messages in thread
From: Reza Alizadeh Majd @ 2019-07-08 10:20 UTC (permalink / raw)
  To: Jesse Gibbons; +Cc: help-guix

Thanks for you reply.  I tried to install GuixSD on a DigitalOcean 
droplet and wanted to use a "Block Storage" as my store 
location. 

I contact their support, and it seems that they don't support 
this,  and Block Storages are only accessible after boot. 

Best, 
Reza

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount store in a separated partition
  2019-07-08 10:20   ` Reza Alizadeh Majd
@ 2019-07-09 23:09     ` Quiliro's lists
  2019-07-10  7:45       ` Reza Alizadeh Majd
  2019-07-10  7:49       ` Efraim Flashner
  0 siblings, 2 replies; 6+ messages in thread
From: Quiliro's lists @ 2019-07-09 23:09 UTC (permalink / raw)
  To: help-guix

Hi Reza.

El 2019-07-08 05:20, Reza Alizadeh Majd escribió:
> Thanks for you reply.  I tried to install GuixSD on a DigitalOcean 
> droplet and wanted to use a "Block Storage" as my store 
> location. 
> 
> I contact their support, and it seems that they don't support 
> this,  and Block Storages are only accessible after boot. 

So you mean that both vda and sda are on Digital Ocean's servers or that
vda is on Digital Ocean and that sda is on you own local machine?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount store in a separated partition
  2019-07-09 23:09     ` Quiliro's lists
@ 2019-07-10  7:45       ` Reza Alizadeh Majd
  2019-07-10  7:49       ` Efraim Flashner
  1 sibling, 0 replies; 6+ messages in thread
From: Reza Alizadeh Majd @ 2019-07-10  7:45 UTC (permalink / raw)
  To: help-guix; +Cc: kiliro

Hi, 

> So you mean that both vda and sda are on Digital Ocean's servers or that
> vda is on Digital Ocean and that sda is on you own local machine?
> 

Both were on DigitalOcean. Main SSD was accessible but the Block Storage 
(known as sda) wasn't accessible form GRUB command line interface. 

Best, 
Reza

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mount store in a separated partition
  2019-07-09 23:09     ` Quiliro's lists
  2019-07-10  7:45       ` Reza Alizadeh Majd
@ 2019-07-10  7:49       ` Efraim Flashner
  1 sibling, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-07-10  7:49 UTC (permalink / raw)
  To: Quiliro's lists; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

On Tue, Jul 09, 2019 at 04:09:09PM -0700, Quiliro's lists wrote:
> Hi Reza.
> 
> El 2019-07-08 05:20, Reza Alizadeh Majd escribió:
> > Thanks for you reply.  I tried to install GuixSD on a DigitalOcean 
> > droplet and wanted to use a "Block Storage" as my store 
> > location. 
> > 
> > I contact their support, and it seems that they don't support 
> > this,  and Block Storages are only accessible after boot. 
> 
> So you mean that both vda and sda are on Digital Ocean's servers or that
> vda is on Digital Ocean and that sda is on you own local machine?
> 
I assume that /dev/sda is the block storage on Digital Ocean, not on
their local machine.
-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-10  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-04 20:40 mount store in a separated partition Reza Alizadeh Majd
2019-07-05  5:25 ` Jesse Gibbons
2019-07-08 10:20   ` Reza Alizadeh Majd
2019-07-09 23:09     ` Quiliro's lists
2019-07-10  7:45       ` Reza Alizadeh Majd
2019-07-10  7:49       ` Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.