Install Debian Edu on Chromebooks with hard drives below 60GB
Contents
-
Install Debian Edu on Chromebooks with hard drives below 60GB
-
Requirements:
- 1. Expert Install
- 2. The basics
- 3. Sett opp brukere og passord:
- 4. Sett opp klokka
- 5. Partitioning
- 6 Enter Console mode
- 6. Back to graphical installer
- 7. Set up the package manager
- 8. Select applications to be installed
- 9. Install bootloader GRUB
- 10. Booting into the newly installed system
- 11. Kioskmode
- 12. Fix sound
- 13. Zram compressed swap
-
Requirements:
Requirements:
- A USB stick with Debian Edu 12.5.0 or later written to it (If you ar at a PC-dugnad on Rebel you will get a usb-stick)
Download link if you don't have a pre-installed usb-stick: https://cdimage.debian.org/debian-cd/current/amd64/iso-bd/debian-edu-12.5.0-amd64-BD-1.iso
- A chromebook like Lenovo N23 or similar with a custom flashed bios and a hardd drive smaler than 60GB
1. Expert Install
When the start screen first appears:
Scroll down to Advanced options -> then further down to and press e on the option Expert install
replace desktop=xfce with desktop=kde
2. The basics
select language -> Norwegian Bokmaal -> Europa -> Norge -> Fortsett
Scroll down to: Sett opp tastaturet -> Norsk ->
Oppdag og monter installasjonsmedium -> usb-storage (USB storage) -> Press Enter -> Press Enter
Select Last installasjonskomponenter fra installasjonsmediet -> Finn nettverksutstyr -> Sett opp nettverket -> Press Ja -> Press enter to continue
Velg Debian Edu-profil -> chose kun Frittstående -> press Enter ->
Er du sikker på at du vil bruke det automatiske partisjonsverktøyet? -> Select -> Nei
Delta i pakkebrukskartleggingen? -> Select Nei
3. Sett opp brukere og passord:
a) Tillate innlogging som root? -> select Nei
- b) skriv inn brukerens hele og fulle navn:
- c) Type ukraina in both brukernavn and passord in every field and press enter to continue
4. Sett opp klokka
Still klokka ved hjelp av NTP? -> Ja -> Press Enter to select the default optiont: 0.debian.pool.ntp.org b. Velg din tidssone -> press Enter to select Europe/Oslo ->
5. Partitioning
a) Finn disker -> Partisjoner harddisker -> scroll down to Manuelt ->
b) Select the disk to install the system on -> press Enter ->
c) Vil du lage en ny, tom partisjonstabell på denne enheten? -> Select Ja
- d) Press Enter to select gpt
e) Scroll down to til LEDIG OMRÅDE and press Enter -> Lag en ny partisjon ->
f). Replace the value 15.8GB (or whatever value there is) with 300M -> Press Enter -> scroll down to Bruk som: -> Press Enter -> scroll down to EFI-systempartisjon -> Press Enter -> Scroll down to Ferdig med oppsettet av partisjonen
g) Scroll down to LEDIG OMRÅDE and press Enter -> Lag en ny partisjon -> press Enter -> Press Enter again -> scroll down to Bruk som: -> press Enter and scroll down to btrfs-journalførende filsystem -> press Enter -> scroll down to Formater partisjonen: -> press Enter -> scroll down to Monteringspunkt: -> press enter -> scroll down to Ferdig med oppsettet av partisjonen and press Enter.
h) Scroll down to Gjør ferdig partisjoneringea og skriv endringene inn på harddisken -> press Enter
i) Vil du gå tilbake til partisjoneringsmenyen? -> select Nei j. Skrive endringene til diskene? -> elect Ja and press Enter
6 Enter Console mode
a) press Alt + arrow key Right (in the bottom right corner of the keyboard) -> Press Enter to access the console
- b) Type the following command in the console:
mount -o remount,compress-force=zstd /dev/mmcblk0p2
- then enter the following command in the console:
nano /target/etc/fstab
- a) Locate the line with UUID= (and with a long number. that number is unique for each system)
Towards the end of that line, there is a section that looks like this: defaults,subvol=@rootfs
- b) change this section so it looks like this instead: compress=zstd,subvol=@rootfs
c) Then press ctrl + o -> Enter to save-> ctrl + x to exit the text editor
6. Back to graphical installer
- a) Press alt + arrow key left (in the bottom right corner of the keyboard)
You are now back in the graphical installer
b) Scroll down to Installer grunnsystemet > press Enter
c) Kjerne som skal installeres: -> Select linux-image-amd64 -> press Enter
d) Drivere som skal inkluderes i initrd: -> Select Generisk: inkluder alle tilgjenglige drivere -> Press Enter
7. Set up the package manager
a) Select Sett opp pakkebehandleren -> Press Enter -> Select Fortsett ->
b) Velg og installer programvare -> Select Ingen automatiske oppdateringer
c) Delta i pakkebrukskartleggingen? -> Select Nei
8. Select applications to be installed
a) Velg hvilke programmer du vil installere ->
- b) Select the following options with the space button and leave the rest as is:
- Debian Edu common desktop applications
- Debian Edu environment
- KDE Plasma
- c) Press Enter to continue
d) Enable realtime process priority? -> select Nei e. Select sddm som vindusbehandler
9. Install bootloader GRUB
a) Installer oppstartssystemet GRUB ->
b) Tving GRUB-installasjon til stien for EFI fjernbart media? -> select Ja
c) Oppdatere NVRAM-variabler til å automatisk starte Debian? -> select Ja
d) Kjøre os-prober automatisk for å oppdage og starte opp Andre OS? -> select Nei
e) Scroll down to Fullfør installasjonen -> Er systemklokka satt til UTC? -> select Ja -> PAM profiles to enable: -> Press Enter to continue ->
f) Ønsker du å kjøre enable-nat på ditt system? -> select Nei
g) Velg <Fortsett> for omstart -> press Enter
10. Booting into the newly installed system
- a) When the system boots to desktop in the newly installed system
- b) Add the software repositories
c) Press the button with magnifying glass located on the left side of the keyboard -> then type: konsole -> and press Enter
copy paste
Open a web browser like firefox or chromium and open https://wiki.nuug.no/skolelinux-compress#copy_paste and copy and paste the following section below into konsole:
sudo pico /etc/apt/sources.list
- Remove the first line with: ctrl + k f. copy and paste this section into konsole:
deb http://deb.debian.org/debian bookworm main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian bookworm main non-free-firmware contrib non-free deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware contrib non-free deb http://deb.debian.org/debian bookworm-updates main non-free-firmware contrib non-free deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware contrib non-free
Press ctrl + o > Enter to save -> ctrl + x to exit the text editor
- Copy and paste the following command into konsole and press Enter
sudo apt update && sudo apt dist-upgrade -y && sudo apt install task-ukrainian-desktop task-ukrainian-kde-desktop gcompris-qt zram-tools ansible -y
When the update and installation is complete, systems take approximately.: 8GB This is a saving of approximately. 50%
11. Kioskmode
a) systeminstillinger -> oppstart og avslutning -> Select Åtferd -> select logg automatisk inn som ukraina -> Plasma (X11) -> Logg inn at etter utlogging -> Select på Opna Lommebokhandsaming -> Select Endre passord -> Click in both password fields and let them be empty -> select Ja -> Press X to exit the window -> select Bruk.
b) Select Oppførsel for arbeidsflaten -> skjermlåsing -> Remove the option for > Lås skjerm automatisk etter 5 minutter and etter oppstart fra dvale/hvilemodus. -> Trykk Bruk
c) Select Regionale innstillinger -> øverste linje med Språk -> Trykk på Endra -> Trykk på Legg til fleire -> (bla nederst) Velg Українська -> Flytt øverst og trykk på Bruk.
d) Trykk på Strømstyring -> Ta vekk Lås økt -> Gjenta for På batteridrift og Lavt batterinivå -> Trykk Bruk.
e) Select Inndataenheter -> Tastaturmodell -> Scroll to google | chromebook -> select Bruk
12. Fix sound
This step is only required if there is no sound, this is true for Lenovo N23 and others
- a) When the command in step xyz is finished, copy and paste the following command and press Enter
git clone https://github.com/WeirdTreeThing/chromebook-linux-audio && cd chromebook-linux-audio && ./setup-audio
13. Zram compressed swap
Is a compressed swap in physical RAM
- a) Copy and paste the following command into konsole
echo -e "ALGO=zstd\nPERCENT=60" | sudo tee -a /etc/default/zramswap && sudo systemctl restart zramswap
14. Reboot system
- a) When all the commands are finished
- b) Reboot the system and control it boots right into desktop
Good Job, you're the best!!