guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#43219] [PATCH] gnu: Handle nfs-root device strings.


From: Ludovic Courtès
Subject: [bug#43219] [PATCH] gnu: Handle nfs-root device strings.
Date: Mon, 05 Oct 2020 10:40:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi!

Danny, Stefan: what’s the status of this patch?

  https://issues.guix.gnu.org/43219

Thanks,
Ludo’.

Stefan <stefan-guix@vodafonemail.de> skribis:

> Hi Danny!
>
>> Why does having a NFS root "device" imply using TFTP?
>> 
>> I can see that it would be nice--but I've been using NFS for many years 
>> without
>> using TFTP.
>> 
>>> +        ((? (lambda (device)
>>> +              (and (string? device) (string-contains device ":/"))) 
>>> nfs-uri)
>>> +         "set root=(tftp)")
>> 
>> What is that required for in practice?
>
> One more remark to this.
>
> If you used an NFS root file system without using TFTP during boot, then 
> certainly your bootloader, the initrd and the kernel where stored locally and 
> have been loaded from disk, not over the network.
>
> In Guix the initrd and the kernel are loaded from the store. If the store is 
> located on a local device, then (grub-root-search) will still load them from 
> that local device, even if the root file system is on an NFS share.
>
> But in Guix its likely that the store is on the same device as the root file 
> system. And if the root file system containing the store is mounted via NFS, 
> then GRUB needs to access the initrd and kernel via network.
>
>
> Bye
>
> Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]