Projekte/HW4F/Installation: Difference between revisions

From dezentrale wiki
< Projekte‎ | HW4F
Jump to navigation Jump to search
(Created page with "= Installation = == PCs == === Fujitsu Esprimo === ==== Bios Passwort zurücksetzen ==== * [https://training-public.ts.fujitsu.com/media/files/course/detail/e1229ef786b1421c276a1450db2b4f31/catalog/wbtfile/1485948984_wbt-esprimo-p556-ph556-p556-2_extracted/page16294.html Bios Reset Fujitsu Esprimo] === Fujitsu Lifebook E751 === ==== Bios Passwort zurücksetzen ==== Easy step on Fujitsu Laptop for remove BIOS password * On boot screen Press <code>F2</code>. You must b...")
 
No edit summary
Line 44: Line 44:
 
Hardware WLAN Killswitch links neben dem Einschalter muss "blau" leuchten.
 
Hardware WLAN Killswitch links neben dem Einschalter muss "blau" leuchten.
   
==Windows Powershell==
+
== Windows Powershell ==
   
 
Ist nicht die schönste Lösung! :-D
 
Ist nicht die schönste Lösung! :-D
Line 73: Line 73:
   
 
Frage mit "M (Einmal ausführen)" beantworten
 
Frage mit "M (Einmal ausführen)" beantworten
  +
  +
  +
== Zusatz HDD ==
  +
  +
<syntaxhighlight lang="shell">
  +
MPATH="/media/zusatz"
  +
mkdir "$MPATH"
  +
lsblk
  +
DEVICE="$(lsblk -po +ROTA| grep -E '/dev/sd.+disk.+1$'|cut -d\ -f1)"
  +
read -p "Please confirm: " CONFIRM
  +
if grep -qiE '([yj]|(yes|ja))' <<< "$CONFIRM"; then
  +
for ((i = 3 ; i > 0 ; i-- )); do
  +
echo -n "Waiting $i";
  +
sleep 1;
  +
echo -ne '\r'
  +
done
  +
parted -s "$DEVICE" -- \
  +
unit MiB \
  +
print free \
  +
mktable gpt \
  +
mkpart primary 1 -1 \
  +
print free \
  +
quit
  +
mkfs.ext4 -FL zusatz "${DEVICE}1"
  +
sleep 2;
  +
UUID="$(lsblk -no UUID "${DEVICE}1")"
  +
echo "UUID=$UUID $MPATH ext4 defaults,noatime 0 0" |tee -a /etc/fstab
  +
findmnt --verify
  +
mount -av
  +
else
  +
echo "Doing nothing!"
  +
fi
  +
</syntaxhighlight>

Revision as of 23:00, 30 November 2022

Installation

PCs

Fujitsu Esprimo

Bios Passwort zurücksetzen

Fujitsu Lifebook E751

Bios Passwort zurücksetzen

Easy step on Fujitsu Laptop for remove BIOS password

  • On boot screen Press F2. You must be in Bios setup screen which is (Phoenix SecureCore(tm) Setup Utility)
  • Attempt to login using the following passwords, which are all returned to be invalid but part of the recovery procedure.
    1. 3hqgo3
    2. jqw534
    3. 0qww294e
  • Do not enter any other BIOS passwords, until you get the master password.
  • Enter the hash code to a BIOS password generator site
  • Reset the system (with a long push to the power button) and enter the generated password to access BIOS. PLEASE USE EN_US QWERTY KEYBOARD LAYOUT! ;-)
  • You should be able change the settings. Make sure
    • Supervisor Password
    • to remove the password on Hard Disk and
    • Use the generated password as your current password to clear the Supervisor Password

HP Prodesk 600

Netzwerkboot aktivieren

Schritte im Bios

  1. Security > Networkboot > on
  2. Advanced > Option Rom Policy > PXE Option Roms > umstellen von "do not launch" zu "legacy only"

Laptops

HP Compact 6735S

WLAN Firmware installieren

sudo apt update
sudo apt install firmware-b43-installer
sudo reboot

Hinweis: Hardware WLAN Killswitch links neben dem Einschalter muss "blau" leuchten.

Windows Powershell

Ist nicht die schönste Lösung! :-D

Powershell Skript herunterladen (Link speichern unter):

https://git.dezentrale.cloud/drbroiler/HW4F-Windows/raw/branch/master/installchocowithtools.ps1

Im Startmenü Powershell "als Administrator ausführen"

In das Download Verzeichnis wechseln (in dem das heruntergeladene Skript liegt) und prüfen welche Dateiendung das Skript hat (evtl. .txt)

cd \Users\user\Downloads

Die Ausführung von Powershell-Skripten ist in der Powershell untersagt, daher muss die Ausführungsrichtlinie geändert werden.

Set-ExecutionPolicy Unrestricted

Frage mit "A (Ja, alle)" beantworten

Powershel Skript ausführen

.\installchocowithtools.ps1

Frage mit "M (Einmal ausführen)" beantworten


Zusatz HDD

MPATH="/media/zusatz"
mkdir "$MPATH"
lsblk
DEVICE="$(lsblk -po +ROTA| grep -E '/dev/sd.+disk.+1$'|cut -d\  -f1)"
read -p "Please confirm: " CONFIRM
if grep -qiE '([yj]|(yes|ja))' <<< "$CONFIRM"; then
for ((i = 3 ; i > 0 ; i-- )); do
        echo -n "Waiting $i";
        sleep 1;
        echo -ne '\r'
done
parted -s "$DEVICE" -- \
        unit MiB \
        print free \
        mktable gpt \
        mkpart primary 1 -1 \
        print free \
        quit
mkfs.ext4 -FL zusatz "${DEVICE}1"
sleep 2;
UUID="$(lsblk -no UUID "${DEVICE}1")"
echo "UUID=$UUID  $MPATH ext4 defaults,noatime  0  0" |tee -a /etc/fstab
findmnt --verify
mount -av
else
        echo "Doing nothing!"
fi