Differences
This shows you the differences between two versions of the page.
en:guides:uefi-frugal [2018/05/11 00:10] ceel created |
en:guides:uefi-frugal [2018/05/12 19:01] linea |
||
---|---|---|---|
Line 5: | Line 5: | ||
\\ | \\ | ||
Arun Prakash Jana has [[http://tuxdiary.com/2014/04/13/boot-slitaz-in-uefi-mode/ | already described]] how to install SliTaz in frugal mode on an UEFI computer. But he did install the kernel and the rootfs in the ESP partition.\\ | Arun Prakash Jana has [[http://tuxdiary.com/2014/04/13/boot-slitaz-in-uefi-mode/ | already described]] how to install SliTaz in frugal mode on an UEFI computer. But he did install the kernel and the rootfs in the ESP partition.\\ | ||
- | IMHO, the ESP partition should be reserved to boot loaders and no operating systems or softwares should be installed in it. This document explains how to do a frugal install of SliTaz Next (32bit) on the Windows partition, C: | + | IMHO, the ESP partition should be reserved for boot loaders and no operating system or software should be installed in it. This document explains how to do a frugal install of SliTaz Next (32bit) on the Windows partition, C: |
<note> | <note> | ||
All along this tutorial, | All along this tutorial, | ||
Line 18: | Line 18: | ||
* Select (C:) and create a new directory at root; say ''slitaz''. | * Select (C:) and create a new directory at root; say ''slitaz''. | ||
- | * Open ''slitaz'' and create a directory, say ''next'', in it. | + | * Open ''slitaz'' and create a directory, say ''next'' in it. |
- | * Plug your EFI LiveUSB and copy the files ''bzImage'' and ''rootfs.gz'' from the \boot directory of the Live in the \slitaz\next directory of (C:). | + | * Plug your EFI LiveUSB and copy the files ''bzImage'' and ''rootfs.gz'' from the \boot directory of the Live into the \slitaz\next directory of (C:). |
- | * Copy the boot loader - ''bootia32.efi'' for a 32bit EFI system or ''bootx64.efi'' for a 64bit EFI system - from the \efi\boot directory of the Live in the \slitaz\next directory of (C:). | + | * Copy the boot loader - ''bootia32.efi'' for a 32bit EFI system (or ''bootx64.efi'' for a 64bit EFI system) - from the \efi\boot directory of the Live into the \slitaz\next directory of (C:). |
<note> | <note> | ||
- | If you don't copy files from your EFI LiveUSB but extract them from an ISO file, pay attention that Windows may truncate files names or/and extensions and will use uppercase.\\ | + | If you didn't copy files from your EFI LiveUSB but extracted them from an ISO file, pay attention that Windows may truncate files names or/and extensions and will use uppercase.\\ |
- | No matter that characters are uppercase or lowercase in NTFS or FAT partitions. But it'll be more consistent if you rename files with their exact name and extension, and respecting the case. | + | It doesn't matter that the characters are uppercase or lowercase in NTFS or FAT partitions. But it'll be more consistent if you rename files with their exact name and extensions and respecting the case. |
</note> | </note> | ||
\\ | \\ | ||
Line 32: | Line 32: | ||
\\ | \\ | ||
The boot loader must be installed in (ESP); this partition is not mounted at boot and is hidden.\\ | The boot loader must be installed in (ESP); this partition is not mounted at boot and is hidden.\\ | ||
- | Mount (ESP) : from Windows 8/10, right-click on the **Home button** in the bottom left corner of the screen. In the context menu that opens, select **Windows PowerShell (admin)**. The //User Account Control// will warn you that Windows PowerShell wants to modify the system; confirm clicking [ YES ].\\ | + | Mount (ESP) : from Windows 8/10, right-click on the **Home button** in the bottom left corner of the screen. In the context menu that opens, select **Windows PowerShell (admin)**. The //User Account Control// will warn you that Windows PowerShell wants to modify the system; confirm by clicking [ YES ].\\ |
<note> | <note> | ||
Note that Windows | Note that Windows | ||
Line 53: | Line 53: | ||
mkdir s:\efi\slitaz | mkdir s:\efi\slitaz | ||
</code> | </code> | ||
- | Copy the boot loader in it. | + | Copy the boot loader into it. |
* For a 32bit EFI computer, type: | * For a 32bit EFI computer, type: | ||
<code> | <code> | ||
Line 62: | Line 62: | ||
move \slitaz\next\bootx64.efi s:\efi\slitaz\grubx64.efi | move \slitaz\next\bootx64.efi s:\efi\slitaz\grubx64.efi | ||
</code> | </code> | ||
- | Note we have renamed the file; this is not a necessity but it'll help you to remind that SliTaz is launched with GRUB 2. | + | Note we have renamed the file; this is not a necessity but it'll help to you remind that SliTaz is launched with GRUB 2. |
\\ | \\ | ||
\\ | \\ | ||
Line 80: | Line 80: | ||
# | # | ||
- | # Comment the line if you want SliTaz starts immediatly or | + | # Comment the line if you want SliTaz to start immediately or |
# change the value to define the time (seconds) to wait before booting. | # change the value to define the time (seconds) to wait before booting. | ||
set TIMEOUT=-1 | set TIMEOUT=-1 | ||
Line 91: | Line 91: | ||
} | } | ||
</file> | </file> | ||
- | This config file considers (C:) is ''(hd0,3)'', the third partition of the first hard disk, that is generally the case. To verify what is the main partition of Windows, run the ''Diskpart'' utility; ask for the ''list'' of the disks, ''select'' the Windows disk and ''list'' its partitions:\\ | + | This config file considers (C:) is ''(hd0,3)'': the third partition of the first hard disk, this is generally the case. To verify what the main partition of Windows is, run the ''Diskpart'' utility; ask for the ''list'' of the disks, ''select'' the Windows disk and ''list'' its partitions:\\ |
\\ | \\ | ||
{{:en:guides:image:diskpart.png|}} | {{:en:guides:image:diskpart.png|}} | ||
Line 104: | Line 104: | ||
<note warning> | <note warning> | ||
- | **Remember: you MUSN'T access to (C:) as long as you haven't disabled the fast startup of Windows!** | + | **Remember: you MUSN'T access (C:) as long as you haven't disabled the fast startup of Windows!** |
</note> | </note> | ||
Check if the fast startup is enabled (default); in the admin terminal, type ''powercfg /a'':\\ | Check if the fast startup is enabled (default); in the admin terminal, type ''powercfg /a'':\\ | ||
Line 114: | Line 114: | ||
//(Sorry for french screens; feel free to replace them with english version. Thanks.)//\\ | //(Sorry for french screens; feel free to replace them with english version. Thanks.)//\\ | ||
\\ | \\ | ||
- | To disable the fast startup, type ''powercfg /h off''. Check the fast startup is really disabled typing ''powercfg /a'' again:\\ | + | To disable the fast startup, type ''powercfg /h off''. Check the fast startup is really disabled by typing ''powercfg /a'' again:\\ |
\\ | \\ | ||
{{:en:guides:image:powercfg-off.png|}} | {{:en:guides:image:powercfg-off.png|}} | ||
Line 120: | Line 120: | ||
\\ | \\ | ||
The fast startup is __disabled__.\\ | The fast startup is __disabled__.\\ | ||
- | You didn't think it was possible but yes, now Windows will boot even more slowly than before... | + | You didn't think it was possible but now yes, Windows will boot even more slowly than before... |
\\ | \\ | ||
\\ | \\ | ||
=====6. Configuring the computer (Setup)===== | =====6. Configuring the computer (Setup)===== | ||
\\ | \\ | ||
- | You don't have anything else to do than to disable the ''Secure Boot''. You've already done it when you've created your EFI LIveUSB.\\ | + | You don't have anything else to do than to disable the ''Secure Boot''. You've already did it when you created your EFI LIveUSB.\\ |
If you came directly to this tutorial without doing an EFI LiveUSB, see step 5 of [[http://doc.slitaz.org/en:guides:uefi-live | HOWTO do a SliTaz LiveUSB for EFI computers]]. | If you came directly to this tutorial without doing an EFI LiveUSB, see step 5 of [[http://doc.slitaz.org/en:guides:uefi-live | HOWTO do a SliTaz LiveUSB for EFI computers]]. | ||
\\ | \\ | ||
Line 131: | Line 131: | ||
=====7. Run SliTaz===== | =====7. Run SliTaz===== | ||
\\ | \\ | ||
- | Reboot the computer and access to the Multiboot mode. On the //**hp**// Laptop 17-bs032, press the **[F9]** key immediately after you've powered on the computer until the ''Boot Manager'' displays the list of the disks where it found a bootx64.efi file in a \EFI\BOOT of a FAT32 partition:\\ | + | Reboot the computer and access the Multiboot mode. On the //**hp**// Laptop 17-bs032, press the **[F9]** key immediately after you've powered on the computer until the ''Boot Manager'' displays the list of the disks where it found a bootx64.efi file in a \EFI\BOOT of a FAT32 partition:\\ |
\\ | \\ | ||
{{:en:guides:image:boot-manager.png|}} | {{:en:guides:image:boot-manager.png|}} | ||
Line 140: | Line 140: | ||
{{:en:guides:image:file-explorer.png|}} | {{:en:guides:image:file-explorer.png|}} | ||
\\ | \\ | ||
- | <note>If you don't know how to access to the Multiboot menu, have a look [[https://doc.ubuntu-fr.org/tutoriel/modifier_ordre_amorcage_du_bios#liste_des_touches_pour_acceder_au_bios_et_au_boot_menu|here]]). | + | <note>If you don't know how to access the Multiboot menu, have a look [[https://doc.ubuntu-fr.org/tutoriel/modifier_ordre_amorcage_du_bios#liste_des_touches_pour_acceder_au_bios_et_au_boot_menu|here]]). |
</note> | </note> | ||
Congratulations and Welcome to SliTaz Next! | Congratulations and Welcome to SliTaz Next! | ||
\\ | \\ | ||
<note tip> | <note tip> | ||
- | **Want to test the last ISOs of SliTaz without to have changes to do in (ESP)?**\\ | + | **Want to test the latest ISOs of SliTaz without having to do changes to (ESP)?**\\ |
Add a generic entry in your grub.cfg; ie: | Add a generic entry in your grub.cfg; ie: | ||
- | <file> | + | <file> |
# Menu 1: boot Slitaz from ISO file | # Menu 1: boot Slitaz from ISO file | ||
menuentry "SliTaz - LiveISO" { | menuentry "SliTaz - LiveISO" { | ||
Line 155: | Line 155: | ||
} | } | ||
</file> | </file> | ||
- | Download the ISO to test in c:\slitaz, naming it slitaz.iso. | + | Download the ISO to test in c:\slitaz, renaming it slitaz.iso. |
</note> | </note> | ||
\\ | \\ | ||
- | We know enough to proceed at a [[http://doc.slitaz.org/en:guides:uefi-full | full installation of SliTaz in dual boot with Windows 8/10]]. | + | We now know enough to proceed to a [[http://doc.slitaz.org/en:guides:uefi-full | full installation of SliTaz in dual boot with Windows 8/10]]. |
\\ | \\ | ||
\\ | \\ |