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: Stefan
Subject: [bug#43219] [PATCH] gnu: Handle nfs-root device strings.
Date: Sun, 13 Sep 2020 20:30:02 +0200

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]