mkdir doesn't work if the directory already exists - unless you add the -p switch:
Code: Select all
mimosa[~]$ mkdir Downloads/
mkdir: cannot create directory ‘Downloads/’: File exists
mimosa[~]$ mkdir -p Downloads/
mimosa[~]$
Code: Select all
mimosa[~]$ mkdir Downloads/
mkdir: cannot create directory ‘Downloads/’: File exists
mimosa[~]$ mkdir -p Downloads/
mimosa[~]$
Code: Select all
root@salix64:/# mkdir /efi
root@salix64:/# mount /dev/sda1 /efi
I can switch to Legacy boot, but in this case, shouldn’t my SSD be back to MBR?DidierSpaier wrote:EDIT Anyway, it's easier to just install in legacy mode if you have issues with this machine's firmware (I have a Lenovo W520 refurbished and I ended up installing Slint in Legacy mode).
Code: Select all
Protective master boot record (MBR)
----
Primary GPT header
----
EFI system partition (ESP)
Microsoft Reserved Partition (MSR)
----
User partitions in any order as:
Linux filesystem data partition, for /
Linux filesystem data partition, for /home
Linux Swap partition
----
possibly free space
----
Secondary GPT header
Don't worry about the contents of the EFI partition any more. Just follow Didier's recent instructions for installing lilo.DidierSpaier wrote: even in a GPT layout you still have a protective MBR. That's what allows you to install lilo in the MBR even if you have a GUID partition table.
Code: Select all
UEFI BIOS VERSION 83ET67WW (1.37 )
UEFI BIOS Date (Year-Month-Day) 2011-11-28
Embedded Controller Version 83HT27WW (1.11 )
Machine Type Model 4236TE2
CPU Type Intel(R) Core(TM) i5-2520M CPU
CPU Speed 2.50GHz
UUID 45220d81-51d3-11cb-86e0-ce214e2309b7
Code: Select all
root@salix64:/# gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.0
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 468862128 sectors, 223.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 7F10372A-2343-4E6D-8EA0-898AF2F83C31
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 468862094
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 5144047 250.0 MiB EF00 EFI System
2 514048 34068479 16.0 GiB 8200 Linux system
3 34068480 117954559 40.0 GiB 8300 Linux system
4 117954560 468862094 167.3 GiB 8302 Linux /home
Command (? for help): i
Partition number (1-4): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: FC8399D3-B838-4D09-A2D6-1A6009895EF0
First sector: 2048 (at 1024.0 KiB)
Last sector: 514047 (at 251.0 MiB)
Partition size: 512000 sectors (250.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'EFI System'
Command (? for help):
… No idea. I may have missed a command that would display it?westms wrote:2.
With all the shown here, where is the Microsoft Reserved Partition (MSR) of 128 MiB size?
I suppose so. The “Startup” menu from my BIOS gives me this:westms wrote:Is it really ensured that the firmware is set to native UEFI mode? Could the Compatibility Support Module (CSM) mode, also called "legacy bios mode", be set?
Code: Select all
UEFI/Legacy Boot [Both]
UEFI/Legacy Boot Priority [UEFI First]
Boot Mode [Quick]
Code: Select all
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for display of 256 colors. Boot loader will fall back to TEXT only operation
Syntax error at or above line 65 in file '/etc/lilo.conf'
Sorry, but the attempt to install LILO has returned an error, so LILO has not been correctly installed. You’ll have to use a bootdisk to start your machine instead. It should be possible to get LILO working by editing the /etc/lilo.conf and reinstalling LILO manually. See the LILO man page and documentation in //usr/doc/lilo-24.2 for more help. The error message may be seen above.