Moving from GalliumOS to Mint XFCE.
This commit is contained in:
parent
3fc2b97b27
commit
34c2b9e8d3
3 changed files with 25 additions and 12 deletions
|
@ -48,10 +48,13 @@ function configureMachine() {
|
|||
StartupNotify false
|
||||
ICON
|
||||
|
||||
|
||||
:<<SKIP
|
||||
# Make Moonlight run on startup.
|
||||
mkdir -p /home/${SUDO_USER}/.config/autostart
|
||||
ln -s /home/${SUDO_USER}/Desktop/Moonlight.desktop /home/${SUDO_USER}/.config/autostart/.
|
||||
chown -R ${SUDO_USER}:${SUDO_USER} /home/${SUDO_USER}/.config
|
||||
SKIP
|
||||
|
||||
# Reboot!
|
||||
reboot
|
19
flash-uefi.sh
Normal file → Executable file
19
flash-uefi.sh
Normal file → Executable file
|
@ -1,21 +1,18 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
# From: https://docs.mrchromebox.tech/docs/support/unbricking/unbrick-ch341a.html
|
||||
|
||||
sudo apt-get -y install flashrom
|
||||
|
||||
wget https://raw.githubusercontent.com/MrChromebox/scripts/refs/heads/main/sources.sh # Look in here for available boards.
|
||||
source ./sources.sh
|
||||
|
||||
wget "${util_source}cbfstool.tar.gz" && tar -zxf cbfstool.tar.gz && chmod +x cbfstool
|
||||
wget "${util_source}gbb_utility.tar.gz" && tar -zxf gbb_utility.tar.gz && chmod +x gbb_utility
|
||||
wget "${fullrom_source}${coreboot_uefi_reks}" # "reks" is the board name for the model Chromebook you have.
|
||||
|
||||
sudo flashrom -p ch341a_spi -r original.rom
|
||||
./cbfstool original.rom read -r RO_VPD -f vpd.bin
|
||||
./gbb_utility original.rom --get --hwid | sed 's/^hardware_id: //' > hwid.txt
|
||||
sudo rm original.rom
|
||||
|
||||
./cbfstool "${coreboot_uefi_reks}" write -r RO_VPD -f vpd.bin
|
||||
./cbfstool "${coreboot_uefi_reks}" add -n hwid -f hwid.txt -t raw
|
||||
cp -f "${coreboot_uefi_reks}" new.rom
|
||||
./cbfstool new.rom write -r RO_VPD -f vpd.bin
|
||||
./cbfstool new.rom add -n hwid -f hwid.txt -t raw
|
||||
rm vpd.bin
|
||||
rm hwid.txt
|
||||
|
||||
sudo flashrom -p ch341a_spi -w "${coreboot_uefi_reks}" --ifd -i bios
|
||||
sudo flashrom -p ch341a_spi -w new.rom --ifd -i bios
|
||||
|
|
13
get-ready.sh
Executable file
13
get-ready.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# From: https://docs.mrchromebox.tech/docs/support/unbricking/unbrick-ch341a.html
|
||||
|
||||
sudo apt-get -y install flashrom
|
||||
|
||||
wget https://raw.githubusercontent.com/MrChromebox/scripts/refs/heads/main/sources.sh # Look in here for available boards.
|
||||
source ./sources.sh
|
||||
|
||||
wget "${util_source}cbfstool.tar.gz" && tar -zxf cbfstool.tar.gz && chmod +x cbfstool
|
||||
wget "${util_source}gbb_utility.tar.gz" && tar -zxf gbb_utility.tar.gz && chmod +x gbb_utility
|
||||
wget "${fullrom_source}${coreboot_uefi_reks}" # "reks" is the board name for the model Chromebook you have.
|
||||
|
Loading…
Add table
Reference in a new issue