[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltsp-discuss
Subject:    Re: [Ltsp-discuss] LTSP NFS
From:       Dashamir Hoxha <dashohoxha () gmail ! com>
Date:       2019-03-02 9:43:05
Message-ID: CAMucfLwgMHkn4Fz6okcVWHPG+Ftyjrxfs0jpbOqwQzrbyDxm-g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Feb 7, 2019 at 12:39 PM Maxime Accadia <
maxime.accadia@univ-grenoble-alpes.fr> wrote:

> Thank you for the tip ! Good to know.
>

I tested it with your instructions and with `unsquashfs` and it worked.
I have described the NFS configration here:
http://dashohoxha.fs.al/ltsp-scenarios/#org9be607e
Please let me know if I have missed anything that I should have mentioned.

Dashamir


>
> ----- Mail original -----
> De: "Alkis Georgopoulos" <alkisg@gmail.com>
> =C3=80: "ltsp-discuss" <ltsp-discuss@lists.sourceforge.net>
> Envoy=C3=A9: Jeudi 7 F=C3=A9vrier 2019 12:33:23
> Objet: Re: [Ltsp-discuss] LTSP NFS
>
> You can also use 'unsquashfs` to uncompress a "chrootless"
> /opt/ltsp/amd64.img image into a /opt/ltsp/amd64 chroot,
> i.e. instead of using ltsp-build-client, to start the chroot with a
> snapshot of the server installation.
>
>
> On 2/7/19 12:55 PM, Maxime Accadia wrote:
> > Turns out I was missing a few things. First, NFS is not compatible with
> > chrootless which I was using.
> >
> > To turn my NDB installation into an NFS installation, I needed :
> >
> > ```
> > sudo apt install nfs-kernel-server
> > sudo ltsp-config nfs
> > sudo systemctl restart nfs-server
> > sudo ltsp-build-client --purge-chroot --mount-package-cache # creates a
> > chrooted environment in /opt/ltsp/amd64
> > sudo ltsp-chroot -m apt install gnome-session # I use gnome as desktop
> > environment
> > ```
> >
> > And also had to modify /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/ltsp t=
o
> > default to ltsp-NFS (there is probably a more conventional way to do
> this).
> >
> > You don't need `ltsp-build-image` if you're not using NBD. This is a
> > advantage for me as building the image can take quite some time with th=
e
> > 100+ packages I install.
> >
> >
>
>
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
>
>
>
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr">On Thu, Feb 7, 2019 at 12:39 PM Maxime \
Accadia &lt;<a href="mailto:maxime.accadia@univ-grenoble-alpes.fr">maxime.accadia@univ-grenoble-alpes.fr</a>&gt; \
wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Thank you for the tip ! Good to \
know.<br></blockquote><div><br></div><div>I tested it with your instructions and with \
`unsquashfs` and it worked.</div><div>I have described the NFS configration here:  <a \
href="http://dashohoxha.fs.al/ltsp-scenarios/#org9be607e">http://dashohoxha.fs.al/ltsp-scenarios/#org9be607e</a></div><div>Please \
let me know if I have missed anything that I should have \
mentioned.</div><div><br></div><div>Dashamir</div><div>  </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <br>
----- Mail original -----<br>
De: &quot;Alkis Georgopoulos&quot; &lt;<a href="mailto:alkisg@gmail.com" \
target="_blank">alkisg@gmail.com</a>&gt;<br> À: &quot;ltsp-discuss&quot; &lt;<a \
href="mailto:ltsp-discuss@lists.sourceforge.net" \
target="_blank">ltsp-discuss@lists.sourceforge.net</a>&gt;<br> Envoyé: Jeudi 7 \
                Février 2019 12:33:23<br>
Objet: Re: [Ltsp-discuss] LTSP NFS<br>
<br>
You can also use &#39;unsquashfs` to uncompress a &quot;chrootless&quot; <br>
/opt/ltsp/amd64.img image into a /opt/ltsp/amd64 chroot, <br>
i.e. instead of using ltsp-build-client, to start the chroot with a <br>
snapshot of the server installation. <br>
<br>
<br>
On 2/7/19 12:55 PM, Maxime Accadia wrote: <br>
&gt; Turns out I was missing a few things. First, NFS is not compatible with <br>
&gt; chrootless which I was using. <br>
&gt; <br>
&gt; To turn my NDB installation into an NFS installation, I needed : <br>
&gt; <br>
&gt; ``` <br>
&gt; sudo apt install nfs-kernel-server <br>
&gt; sudo ltsp-config nfs <br>
&gt; sudo systemctl restart nfs-server <br>
&gt; sudo ltsp-build-client --purge-chroot --mount-package-cache # creates a <br>
&gt; chrooted environment in /opt/ltsp/amd64 <br>
&gt; sudo ltsp-chroot -m apt install gnome-session # I use gnome as desktop <br>
&gt; environment <br>
&gt; ``` <br>
&gt; <br>
&gt; And also had to modify /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/ltsp to <br>
&gt; default to ltsp-NFS (there is probably a more conventional way to do this). <br>
&gt; <br>
&gt; You don&#39;t need `ltsp-build-image` if you&#39;re not using NBD. This is a \
<br> &gt; advantage for me as building the image can take quite some time with the \
<br> &gt; 100+ packages I install. <br>
&gt; <br>
&gt; <br>
<br>
<br>
_____________________________________________________________________ <br>
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: <br>
<a href="https://lists.sourceforge.net/lists/listinfo/ltsp-discuss" rel="noreferrer" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/ltsp-discuss</a> <br> \
For additional LTSP help, try #ltsp channel on <a href="http://irc.freenode.net" \
rel="noreferrer" target="_blank">irc.freenode.net</a> <br> <br>
<br>
<br>
_____________________________________________________________________<br>
Ltsp-discuss mailing list.     To un-subscribe, or change prefs, goto:<br>
         <a href="https://lists.sourceforge.net/lists/listinfo/ltsp-discuss" \
rel="noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/ltsp-discuss</a><br>
 For additional LTSP help,     try #ltsp channel on <a href="http://irc.freenode.net" \
rel="noreferrer" target="_blank">irc.freenode.net</a><br> \
</blockquote></div></div></div>





_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic