View previous topic :: View next topic |
Author |
Message |
badtyprr n00b
Joined: 11 Aug 2024 Posts: 6
|
Posted: Sun Aug 11, 2024 8:30 am Post subject: grub-install: error: cannot find a device for /boot/grub |
|
|
I'm going through the Gentoo AMD64 Handbook, and I'm running across an error attempting to install GRUB as the secondary bootloader.
Code: | root # grub-install --efi-directory=/efi
Installing for x86_64-efi platform.
grub-install: error: cannot find a device for /boot/grub (is /dev mounted?).
|
/dev was mounted with:
Code: | root #mount --types proc /proc /mnt/gentoo/proc
root #mount --rbind /sys /mnt/gentoo/sys
root #mount --make-rslave /mnt/gentoo/sys
root #mount --rbind /dev /mnt/gentoo/dev
root #mount --make-rslave /mnt/gentoo/dev
root #mount --bind /run /mnt/gentoo/run
root #mount --make-slave /mnt/gentoo/run
|
/efi was mounted with:
Code: | root #chroot /mnt/gentoo /bin/bash
root #source /etc/profile
root #export PS1="(chroot) ${PS1}"
root #mkdir /efi
root #mount /dev/nvme1n1p1 /efi
|
What could I be doing wrong here? |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 506
|
Posted: Sun Aug 11, 2024 8:47 am Post subject: |
|
|
Please show all commands that you have executed. |
|
Back to top |
|
|
badtyprr n00b
Joined: 11 Aug 2024 Posts: 6
|
Posted: Sun Aug 11, 2024 9:02 am Post subject: |
|
|
sMueggli wrote: | Please show all commands that you have executed. |
It's a bit messy and incomplete (my installation got interrupted after disk partitioning), but here's the history:
Code: | 1 exit
2 exit
3 source /etc/profile
4 export PS1="(chroot) ${PS1}"
5 mkdir /efi
6 lsblk -l
7 fdisk nvme1n1
8 fdisk /dev/nvme1
9 fdisk /dev/nvme1n1
10 mount /dev/nvme1n1p1 /efi
11 emerge-webrsync
12 emerge --ask --verbose --oneshot app-portage/mirrorselect
13 mirrorselect -i -o >> /etc/portage/make.conf
14 emerge --sync
15 eselect news list
16 eselect news read
17 eselect profile list
18 eselect profile list | grep kde
19 eselect profile list | grep plasma
20 eselect profile set 27
21 eselect profile list
22 eselect profile list | grep 27
23 emerge --info | grep ^USE
24 nano /etc/portage/make.conf
25 emerge --info | grep ^USE | grep amd
26 emerge --ask --oneshot app-portage/cpuid2cpuflags
27 cpuid2cpuflags
28 lspci | grep -i VGA
29 echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags
30 nano /etc/portage/make.conf
31 emerge --ask sys-kernel/linux-firmware
32 portageq envvar ACCEPT_LICENSE
33 mkdir /etc/portage/package.license
34 touch /etc/portage/package.license/kernel
35 echo "sys-kernel/linux-firmware linux-fw-redistributable" | tee /etc/portage/package.license/kernel
36 echo "sys-firmware/intel-microcode intel-ucode" | tee /etc/portage/package.license/kernel
37 nano /etc/portage/package.license/kernel
38 nano /etc/portage/package.license/kernel
39 emerge --ask sys-kernel/linux-firmware
40 emerge --ask --verbose --update --deep --newuse @world
41 emerge --ask --pretend --depclean
42 ls -l /usr/share/zoneinfo
43 ls -l /usr/share/zoneinfo | US
44 ls -l /usr/share/zoneinfo | grep US
45 ls -l /usr/share/zoneinfo/US
46 ls -l /usr/share/zoneinfo/US/Pacific
47 echo "US/Pacific" > /etc/timezone
48 emerge --config sys-libs/timezone-data
49 nano /etc/locale.gen
50 nano /etc/locale.gen
51 locale-gen
52 eselect locale list
53 eselect locale set 2
54 env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
55 emerge --ask sys-kernel/linux-firmware
56 emerge --ask sys-firmware/sof-firmware
57 emerge --ask sys-firmware/intel-microcode
58 dracut
59 nano /etc/portage/package.use/installkernel
60 emerge --ask sys-kernel/gentoo-kernel
61 emerge --ask @module-rebuild
62 emerge --config sys-kernel/gentoo-kernel
63 emerge --ask sys-kernel/installkernel
64 emerge --ask sys-kernel/gentoo-sources
65 eselect kernel list
66 eselect kernel set 2
67 ls -l /usr/src/linux
68 nano /etc/portage/package.use/installkernel
69 nano /etc/portage/package.use/installkernel
70 nano /etc/portage/package.use/installkernel
71 ls /boot/initramfs/*
72 ls /boot/initramfs*
73 emerge --ask dev-libs/openssl sys-boot pesign sys-boot/mokutil
74 emerge --ask dev-libs/openssl sys-boot/pesign sys-boot/mokutil
75 find /lib/modules/6.6* -type f -iname '*.o' -or -iname '*.ko' | less
76 blkid
77 nano /etc/fstab
78 nano /etc/fstab
79 echo tux
80 echo siberian > /etc/hostname
81 emerge --ask net-misc/dhcpd
82 emerge --ask net-misc/dhcpcd
83 rc-update add dhcpcd default
84 rc-service dhcpcd start
85 rc-service dhcpcd stop
86 rc-service dhcpcd start
87 arp -a
88 ssh 192.168.50.126
89 nano /etc/hosts
90 nmap
91 emerge --ask net-analyzer/nmap
92 eselect news read
93 emerge --info net-analyzer/nmap
94 nmap --version
95 nmap -p 22 --open 192.168.50.0/24
96 ssh 192.168.50.115
97 ssh 192.168.50.115
98 ssh strieu@192.168.50.115
99 nano /etc/hosts
100 ping burmese
101 nano /etc/hosts
102 ping burmese
103 passwd
104 nano /etc/rc.conf
105 nano /etc/conf.d/keymaps
106 nano /etc/conf.d/keymaps
107 nano /etc/conf.d/hwclock
108 emerge --ask app-admin/sysklogd
109 rc-update add sysklogd default
110 emerge --ask sys-process/bcron
111 cpuid2cpuflags
112 nano /etc/portage/package.use/00cpu-flags
113 emerge --ask sys-apps/mlocate
114 rc-update add sshd default
115 emerge --ask app-shells/bash-completion
116 emerge --ask net-misc/chrony
117 rc-update add chronyd default
118 emerge --ask sys-fs/xfsprogs
119 emerge --ask sys-fs/dosfstools
120 emerge --ask sys-block/io-scheduler-udev-rules
121 emerge --ask net-misc/dhcpcd
122 emerge --ask net-wireless/iw net-wireless/wpa_supplicant
123 nano /etc/portage/make.conf
124 emerge --ask --verbose sys-boot/grub
125 eselect news read
126 emerge --ask --update --newuse --verbose sys-boot/grub
127 mount
128 mount | grep efi
129 grub-install --efi-directory=/efi
130 exit
131 fg
132 fg
133 nano /etc/fstab
134 exit
135 grub-install --efi-directory=/efi
136 mount
137 mount | grep dev
138 mount --rbind /dev /mnt/gentoo/dev
139 exit
140 source /etc/profile
141 export PS1="(chroot) ${PS1}"
142 grub-install --efi-directory=/efi
143 mount
144 mount | grep /dev
145 grub-install --efi-directory=/efi
146 ls /boot
147 ls /boot/grub
148 ls /boot -l
149 mount --rbind /dev /dev
150 grub-install --efi-directory=/efi
151 mount
152 df -l
153 grub-install --target=X86_64-efi --efi-directory=/efi
154 grub-install --efi-directory=/efi
155 grub-install --efi-directory=/efi
156 mount
157 lsblk
158 mount | grep /boot
159 lsblk
160 lsblk -H
161 lsblk
162 lsblk /dev/nvme1n1
163 history
164 history > history.txt
|
|
|
Back to top |
|
|
elover Apprentice
Joined: 20 Nov 2019 Posts: 170 Location: Spain
|
Posted: Sun Aug 11, 2024 10:54 am Post subject: |
|
|
USE=grub emerge sys-kernel/installkernel
emerge --config gentoo-kernel |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Sun Aug 11, 2024 2:16 pm Post subject: |
|
|
badtyprr wrote: | (my installation got interrupted after disk partitioning) |
When resuming after interruption, you will have to repeat the mount commands.
In any case, you can confirm whether /dev is now mounted just by
Among the output should be
Code: |
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=4052318,mode=755,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)
|
|
|
Back to top |
|
|
badtyprr n00b
Joined: 11 Aug 2024 Posts: 6
|
Posted: Sun Aug 11, 2024 2:40 pm Post subject: |
|
|
kimchi_sg wrote: | badtyprr wrote: | (my installation got interrupted after disk partitioning) |
When resuming after interruption, you will have to repeat the mount commands.
In any case, you can confirm whether /dev is now mounted just by
Among the output should be
Code: |
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=4052318,mode=755,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)
|
|
Thanks, yes, I did make sure the mount commands were done again and confirmed /dev mounts were there. Here's the output of `mount`:
Code: | (chroot) livecd / # mount
/proc on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/nvme1n1p1 on /efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
|
|
|
Back to top |
|
|
badtyprr n00b
Joined: 11 Aug 2024 Posts: 6
|
Posted: Sun Aug 11, 2024 2:51 pm Post subject: |
|
|
elover wrote: | USE=grub emerge sys-kernel/installkernel
emerge --config gentoo-kernel |
Thanks for the configuration advice. I am sorry, but I am new to the USE parameter and still reading through the documentation.
Does this mean I edit the /etc/portage/package.use/installkernel file and add the USE parameter?
Code: |
USE=grub emerge sys-kernel/installkernel
|
This is the existing package.use/installkernel file:
Code: | sys-kernel/installkernel dracut
sys-kernel/installkernel grub
|
Last edited by badtyprr on Sun Aug 11, 2024 2:59 pm; edited 1 time in total |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Sun Aug 11, 2024 2:52 pm Post subject: |
|
|
badtyprr wrote: |
Thanks, yes, I did make sure the mount commands were done again and confirmed /dev mounts were there. Here's the output of `mount`:
Code: | (chroot) livecd / # mount
/proc on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/nvme1n1p1 on /efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
|
|
Aha. Did you forget to mount your root partition to /mnt/gentoo ? |
|
Back to top |
|
|
badtyprr n00b
Joined: 11 Aug 2024 Posts: 6
|
Posted: Sun Aug 11, 2024 3:09 pm Post subject: |
|
|
kimchi_sg wrote: | badtyprr wrote: |
Thanks, yes, I did make sure the mount commands were done again and confirmed /dev mounts were there. Here's the output of `mount`:
Code: | (chroot) livecd / # mount
/proc on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/nvme1n1p1 on /efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
|
|
Aha. Did you forget to mount your root partition to /mnt/gentoo ? |
AHHHHH.
Root partition mounted. This painful installation process is teaching me to be more aware of the filesystem than I was before.
Code: | (chroot) livecd / # grub-install --efi-directory=/efi
bash: grub-install: command not found
(chroot) livecd / # mount
mount: failed to read mtab: No such file or directory |
Am I supposed to remount the other partitions after mounting the root partition? Now, it appears that grub-install can't even be found (or mount). But mount points appear to be there:
Code: | livecd /home/gentoo # mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/sdc3 on /run/initramfs/live type hfsplus (ro,relatime,umask=22,uid=0,gid=0,nls=utf8)
/dev/loop0 on /run/rootfsbase type squashfs (ro,relatime,errors=continue)
LiveOS_rootfs on / type overlay (rw,relatime,lowerdir=/run/rootfsbase,upperdir=/run/overlayfs,workdir=/run/ovlwork,uuid=on)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3280300k,nr_inodes=820075,mode=700,uid=1000,gid=100,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/proc on /mnt/gentoo/proc type proc (rw,relatime)
devtmpfs on /mnt/gentoo/dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /mnt/gentoo/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /mnt/gentoo/dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /mnt/gentoo/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tmpfs on /mnt/gentoo/run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/nvme1n1p1 on /mnt/gentoo/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
devtmpfs on /mnt/gentoo/dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /mnt/gentoo/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /mnt/gentoo/dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /mnt/gentoo/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
sysfs on /mnt/gentoo/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /mnt/gentoo/sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /mnt/gentoo/sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /mnt/gentoo/sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /mnt/gentoo/sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /mnt/gentoo/sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /mnt/gentoo/sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
devtmpfs on /mnt/gentoo/dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4094122,mode=755,inode64)
devpts on /mnt/gentoo/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /mnt/gentoo/dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
mqueue on /mnt/gentoo/dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
/dev/nvme1n1p3 on /mnt/gentoo type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)
|
Edit: I think I know what happened. My progress was lost after the partitioning step because I failed to mount the root partition. Is that right? My progress was overridden by the mount command (partition). |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Sun Aug 11, 2024 3:14 pm Post subject: |
|
|
badtyprr wrote: |
Edit: I think I know what happened. My progress was lost after the partitioning step because I failed to mount the root partition. Is that right? My progress was overridden by the mount command (partition). |
Correct, mount /mnt/gentoo must precede all the other mount commands. |
|
Back to top |
|
|
badtyprr n00b
Joined: 11 Aug 2024 Posts: 6
|
Posted: Mon Aug 12, 2024 6:51 am Post subject: |
|
|
kimchi_sg wrote: | badtyprr wrote: |
Edit: I think I know what happened. My progress was lost after the partitioning step because I failed to mount the root partition. Is that right? My progress was overridden by the mount command (partition). |
Correct, mount /mnt/gentoo must precede all the other mount commands. |
GRUB installed correctly, thank you.
Code: | (chroot) livecd /home # grub-install --efi-directory=/efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|