From Newsgroup: alt.os.linux.slackware
root <
NoEMail@home.org> wrote:
root <NoEMail@home.org> wrote:
I got grub installed on the system, and am able to
boot into Slackware. For posterity these are the steps
I followed:
assume p1=efi partition type ef00 p2=boot partition type ef02 p3=target partition ext4
In my case p1 was nvme0n1p1, p2 was mvme0n1p2, and p3 was nvme0n1p3
Steps to follow after install.
1. go into shell
2. cd to where p3 is mounted
3. mount --bind /proc proc;
4. mount --bind /proc/sys sys
5. mount --bind /dev/dev
6. chroot /p3 (where the linux partition is mounted).
7. mount /dev/p1 /boot/efi
8. grub-mkconfig >/boot/grub/grub.cfg
9. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --boot-directory=/boot
I had done almost exactly this several times, but
I had always eliminated step 7. If you don't have
step 7 you can get the error message "it doesn't look
like an efi partition to me, and if you merely copy
over the efi partition to /boot/efi you will get
the error message: cannot find the canonical path to
/boot/efi
Some, if not all these steps were given to me in
previous responses from attendees to this group.
I thank you all.
I'n not out of the woods yet. Now I find I can't startx.
Here is the tail end of the error log:
[ 68.820] (II) LoadModule: "modesetting"
[ 68.820] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 68.820] (II) Module modesetting: vendor="X.Org Foundation"
[ 68.820] compiled for 1.20.14, module version = 1.20.14
[ 68.820] Module class: X.Org Video Driver
[ 68.820] ABI class: X.Org Video Driver, version 24.1
[ 68.820] (II) LoadModule: "fbdev"
[ 68.821] (WW) Warning, couldn't open module fbdev
[ 68.821] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 68.821] (II) LoadModule: "vesa"
[ 68.821] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 68.821] (II) Module vesa: vendor="X.Org Foundation"
[ 68.821] compiled for 1.20.10, module version = 2.5.0
[ 68.821] Module class: X.Org Video Driver
[ 68.821] ABI class: X.Org Video Driver, version 24.1
[ 68.821] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 68.821] (II) VESA: driver for VESA chipsets: vesa
[ 68.821] (++) using VT number 1
[ 68.821] (EE) open /dev/dri/card0: No such file or directory
[ 68.821] (WW) Falling back to old probe method for modesetting
[ 68.821] (EE) open /dev/dri/card0: No such file or directory
[ 68.821] vesa: Refusing to run on UEFI
[ 68.821] (EE) Screen 0 deleted because of no matching config section.
[ 68.821] (II) UnloadModule: "modesetting"
[ 68.821] (EE) Device(s) detected, but none match those in the config file. [ 68.821] (EE)
Fatal server error:
[ 68.821] (EE) no screens found(EE)
[ 68.821] (EE)
Please consult the The X.Org Foundation support
at
http://wiki.x.org
for help.
[ 68.821] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 68.821] (EE)
[ 68.825] (EE) Server terminated with error (1). Closing log file.
And here is lspci:
00:00.0 Host bridge: Intel Corporation Device 461c
00:02.0 VGA compatible controller: Intel Corporation Device 46d4
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:14.0 USB controller: Intel Corporation Device 54ed
00:14.2 RAM memory: Intel Corporation Device 54ef
00:15.0 Serial bus controller: Intel Corporation Device 54e8
00:16.0 Communication controller: Intel Corporation Device 54e0
00:17.0 SATA controller: Intel Corporation Device 54d3
00:1a.0 SD Host controller: Intel Corporation Device 54c4
00:1c.0 PCI bridge: Intel Corporation Device 54be
00:1d.0 PCI bridge: Intel Corporation Device 54b0
00:1d.2 PCI bridge: Intel Corporation Device 54b2
00:1f.0 ISA bridge: Intel Corporation Device 5481
00:1f.3 Audio device: Intel Corporation Device 54c8
00:1f.4 SMBus: Intel Corporation Device 54a3
00:1f.5 Serial bus controller: Intel Corporation Device 54a4
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
02:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 (rev 01)
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
GitHub, a while back, reported that someone could not get
X to run on the N150. A person who writes the Intel drivers
said it would be in the next version of the kernel. So
I updated my system and I still cannot start X.
In the xorg log above, note the message vesa: refusing to run on UEFI
--- Synchronet 3.21d-Linux NewsLink 1.2