Diskussion:Server/Aktualisierung/2017: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
(Neuer Abschnitt →‎FreeNAS meets Ubuntu)
Zeile 12: Zeile 12:
== FreeNAS meets Ubuntu ==
== FreeNAS meets Ubuntu ==


Die aktuellste Datei fuer die Installation von Ubuntu (LTS (16.04)) an geeigneter Stelle bei FreeNAS ablegen.
Die aktuellste Datei für die Installation von Ubuntu (LTS (16.04)) und an geeigneter Stelle bei FreeNAS herunterladen.


: <code>cd /mnt/dataset-for-all-downloaded-install-images</code>
: <code>cd /mnt/--dataset-for-all-downloaded-install-images--</code>
: <code>fetch http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso</code>
: <code>fetch http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso</code>
VM auf der Oberfläche zusammenklicken!
* ...
* Device --CDROM-- mit der heruntergeladenen Datei (für die Installation) bestücken
* ...
Installieren!
Vor dem Neustart erst noch einmal in die Instanz anmelden.
: <code>ssh <during installation crated account>@<current by DHCP obtained IP address></code>
<pre>
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64)
</pre>
Die Datei für efi an der richtige Stelle ablegen.[https://forums.freenas.org/index.php?attachments/boot_fix-jpg.18652/]
: <code>sudo ls /boot/efi/EFI/</code>
<pre>
ubuntu
</pre>
: <code>sudo mkdir /boot/efi/EFI/BOOT</code>
: <code>sudo ln /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi</code>
<pre>
ln: failed to create hard link '/boot/efi/EFI/BOOT/bootx64.efi' => '/boot/efi/EFI/ubuntu/grubx64.efi': Operation not permitted
</pre>
: <code>sudo ln -s /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi</code>
<pre>
ln: failed to create symbolic link '/boot/efi/EFI/BOOT/bootx64.efi': Operation not permitted
</pre>
: <code>sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi</code>

Version vom 6. Juni 2017, 01:14 Uhr

Umziehen von Jails & Co

RAID foo bei FSC (srs3008, srs3006, srs3005)

FreeNAS meets Ubuntu

Die aktuellste Datei für die Installation von Ubuntu (LTS (16.04)) und an geeigneter Stelle bei FreeNAS herunterladen.

cd /mnt/--dataset-for-all-downloaded-install-images--
fetch http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso

VM auf der Oberfläche zusammenklicken!

  • ...
  • Device --CDROM-- mit der heruntergeladenen Datei (für die Installation) bestücken
  • ...

Installieren!

Vor dem Neustart erst noch einmal in die Instanz anmelden.

ssh <during installation crated account>@<current by DHCP obtained IP address>
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic x86_64)

Die Datei für efi an der richtige Stelle ablegen.[1]

sudo ls /boot/efi/EFI/
ubuntu
sudo mkdir /boot/efi/EFI/BOOT
sudo ln /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
ln: failed to create hard link '/boot/efi/EFI/BOOT/bootx64.efi' => '/boot/efi/EFI/ubuntu/grubx64.efi': Operation not permitted
sudo ln -s /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
ln: failed to create symbolic link '/boot/efi/EFI/BOOT/bootx64.efi': Operation not permitted
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi