doc:appunti:hardware:mini_pc_intel_n95
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:mini_pc_intel_n95 [2023/07/27 19:44] – [Resize partition to accommodate GNU/Linux] niccolo | doc:appunti:hardware:mini_pc_intel_n95 [2024/01/26 17:23] – [Secure Boot] niccolo | ||
---|---|---|---|
Line 5: | Line 5: | ||
^ Hard Disk | 512 Gb SSD | | ^ Hard Disk | 512 Gb SSD | | ||
^ Cores/ | ^ Cores/ | ||
+ | ^ Video | Intel | | ||
^ Network | ^ Network | ||
^ Display | ^ Display | ||
+ | |||
+ | ^ Boot Keys ^^ | ||
+ | ^ Del or ESC | Enter BIOS Setup | | ||
+ | ^ F7 | Boot Menu | | ||
+ | |||
+ | |||
===== Partition scheme ===== | ===== Partition scheme ===== | ||
- | Booting from a GNU/Linux live distro and using **parted** we can see the hard disk partition scheme: | + | Booting from a GNU/Linux live distro |
< | < | ||
Line 40: | Line 47: | ||
===== Resize partition to accommodate GNU/Linux ===== | ===== Resize partition to accommodate GNU/Linux ===== | ||
+ | |||
+ | ==== Backup the existing partitions ==== | ||
Once booted into a a GNU/Linux live distro using an USB stick, use the **ntfsclone** tool (from the **ntfs-3g** Debian package) to save an image of the NTFS partitions to an USB mounted external hard disk: | Once booted into a a GNU/Linux live distro using an USB stick, use the **ntfsclone** tool (from the **ntfs-3g** Debian package) to save an image of the NTFS partitions to an USB mounted external hard disk: | ||
Line 53: | Line 62: | ||
dd if=/ | dd if=/ | ||
</ | </ | ||
+ | |||
+ | The **fat32** partitions which contains EFI boot files can be mounted and saved into a zip file: | ||
+ | |||
+ | < | ||
+ | mkdir /mnt2 | ||
+ | mount /dev/sda1 /mnt2 | ||
+ | cd /mnt2 | ||
+ | zip -r / | ||
+ | </ | ||
+ | |||
+ | ==== Create the Recovery Drive ==== | ||
+ | |||
+ | In Windows 11 search for the //Recovery Drive App// and choose to create a **Recovery Drive**, an USB stick with at least 16 Gb of space is required. All data on the USB stick will be deleted. This drive can be used to boot the PC and to restore Windows 11. | ||
+ | |||
+ | The efficiency of the process is ridiculous: it required **more than one hour** to copy less than 8 Gb of data! | ||
+ | |||
+ | ==== Shrink the Windows partition ==== | ||
+ | |||
+ | Boot into Windows 11 and run the **Disk Management** tool; right click the **Windows C:** partition and choose **Shrink Volume...**. Type the space you want to free up. | ||
+ | |||
+ | ==== Move the free space at the end of the disk ==== | ||
+ | |||
+ | I wish to create new partitions for the GNU/Linux operating system into the free space I recovered, but the free space is allocated between **sda3** and **sda4**: I prefer to move sda4 just after sda3 and have the free space at the end of the disk. | ||
+ | |||
+ | I booted Linux from the live distro and executed **sudo partitionmanager**; | ||
+ | |||
+ | {{.: | ||
+ | |||
+ | ==== Create the GNU/Linux partitions ==== | ||
+ | |||
+ | I opted for creating three partitions: one for the **root fileststem**, | ||
+ | |||
+ | {{.: | ||
+ | |||
+ | For the rootfs partition I reserved about **50 Gb**. For the swap I reserved about **16 Gb**, checking that it is a little more than the system RAM, in this way I can use the **hibernate** function (suspend to disk). | ||
+ | |||
+ | ===== Secure Boot ===== | ||
+ | |||
+ | **WARNING**: | ||
+ | |||
+ | Booting from some GNU/Linux live distribution may require to disable the secure boot option: enter the BIOS configuration program pressing Del or ESC at bootstrap, then // | ||
+ | |||
+ | ===== Web References ===== | ||
+ | |||
+ | * **[[https:// | ||
doc/appunti/hardware/mini_pc_intel_n95.txt · Last modified: 2024/01/26 17:28 by niccolo