Installating Slackware 15 on UEFI Hardware
Posted 07-02-2022 at 05:45 PM by tix
Installing Slackware on UEFI laptop/desktop/server
===================================================
Assuming you have a 250GB hard disk
---------------------------------------------------
ACHTUNG!!!!!! BACKUP YOUR DATA!!!
ACHTUNG!!!!!! DISCONNENCT YOUR BACKUP DATA DISKS TO AVOID MISTAKENLY OVERITE!!!
-----------------------------------------------------------------------------------------------------------------
Assuming you have enabled UEFI in system bios and disabled legacy boot -> caution may loose data -> backup first!
-----------------------------------------------------------------------------------------------------------------
1) Boot using a flash/DVD (most of these UEFI systems may require you to boot using flashdisk as they do no have DVD/CD drives)
2) Go through the normal slackware boot using the boot media
3) When prompted, just type "root" for login and press enter or simply just press enter (slackers! = )
4) Normally you would use fdisk or cfdisk to setup your partitions e.g. fdisk /dev/sda or cfdisk /dev/sda
but this UEFI is not "normal" as it requires another tool called gdisk e.g. gdisk /dev/sda
5) Open the gdisk utility by typing "gdisk /dev/sda"
6) Delete you existing partitions and have a clean disk (I hope you disconnected your backup data disks!)
7) Create three partitions
a) /dev/sda1 -> UEFI partition -> 100MB with id EF00 (UEFI partition)
b) /dev/sda2 -> Primary linux partion -> 249GB with id 8300 (linux filesystem)
c) /dev/sda3 -> Swap linux partition -> 1 GB with id 8200 (linux swap)
d) save your partitions by writing to disk!
e) since the old partition was loaded by linux during boot, you need to reboot and boot off the flash disk or DVD and then proceed to next step (8)
8) Type "setup"
9) Go through the regular slackwar setup of adding swap, formatting and adding main slackware partitino and additionally you will be asked to format as UEFI the newly created UEFI partition
of which boot information will be placed inside the UEFI for "jumb-starting" your slackware
10) When prompted to run elilo, kindly do not install lilo but instead continue with the elilo configuration so that you slackware can be bootable
11) Select your installation media (flash disk, DVD, mounted samba drive, ....)
12) Install full installation
13) Finalize your installation as you would normally do for your other slackware installations (setup time zone, setup gpm for mouse, select services, ...)
15) Reboot!!
16) If all goes well, your slackware linux will boot to "darkstar login:"
17) Enjoy!
===================================================
Assuming you have a 250GB hard disk
---------------------------------------------------
ACHTUNG!!!!!! BACKUP YOUR DATA!!!
ACHTUNG!!!!!! DISCONNENCT YOUR BACKUP DATA DISKS TO AVOID MISTAKENLY OVERITE!!!
-----------------------------------------------------------------------------------------------------------------
Assuming you have enabled UEFI in system bios and disabled legacy boot -> caution may loose data -> backup first!
-----------------------------------------------------------------------------------------------------------------
1) Boot using a flash/DVD (most of these UEFI systems may require you to boot using flashdisk as they do no have DVD/CD drives)
2) Go through the normal slackware boot using the boot media
3) When prompted, just type "root" for login and press enter or simply just press enter (slackers! = )
4) Normally you would use fdisk or cfdisk to setup your partitions e.g. fdisk /dev/sda or cfdisk /dev/sda
but this UEFI is not "normal" as it requires another tool called gdisk e.g. gdisk /dev/sda
5) Open the gdisk utility by typing "gdisk /dev/sda"
6) Delete you existing partitions and have a clean disk (I hope you disconnected your backup data disks!)
7) Create three partitions
a) /dev/sda1 -> UEFI partition -> 100MB with id EF00 (UEFI partition)
b) /dev/sda2 -> Primary linux partion -> 249GB with id 8300 (linux filesystem)
c) /dev/sda3 -> Swap linux partition -> 1 GB with id 8200 (linux swap)
d) save your partitions by writing to disk!
e) since the old partition was loaded by linux during boot, you need to reboot and boot off the flash disk or DVD and then proceed to next step (8)
8) Type "setup"
9) Go through the regular slackwar setup of adding swap, formatting and adding main slackware partitino and additionally you will be asked to format as UEFI the newly created UEFI partition
of which boot information will be placed inside the UEFI for "jumb-starting" your slackware
10) When prompted to run elilo, kindly do not install lilo but instead continue with the elilo configuration so that you slackware can be bootable
11) Select your installation media (flash disk, DVD, mounted samba drive, ....)
12) Install full installation
13) Finalize your installation as you would normally do for your other slackware installations (setup time zone, setup gpm for mouse, select services, ...)
15) Reboot!!
16) If all goes well, your slackware linux will boot to "darkstar login:"
17) Enjoy!
Total Comments 0