1 |
Hi, |
2 |
|
3 |
....for what reason ever, my attempts to install a bootloader |
4 |
for my new system fails. |
5 |
|
6 |
Current setup: |
7 |
|
8 |
Partioning: |
9 |
|
10 |
GPT fdisk (gdisk) version 1.0.5 |
11 |
|
12 |
Partition table scan: |
13 |
MBR: protective |
14 |
BSD: not present |
15 |
APM: not present |
16 |
GPT: present |
17 |
|
18 |
Found valid GPT with protective MBR; using GPT. |
19 |
Disk /dev/sdb: 5860533168 sectors, 2.7 TiB |
20 |
Model: EZRZ-00GXCB0 |
21 |
Sector size (logical/physical): 512/4096 bytes |
22 |
Disk identifier (GUID): 45EED4D4-B137-452E-88B7-BA2EF068056B |
23 |
Partition table holds up to 128 entries |
24 |
Main partition table begins at sector 2 and ends at sector 33 |
25 |
First usable sector is 34, last usable sector is 5860533134 |
26 |
Partitions will be aligned on 2048-sector boundaries |
27 |
Total free space is 4973 sectors (2.4 MiB) |
28 |
|
29 |
Number Start (sector) End (sector) Size Code Name File system |
30 |
1 2048 6143 2.0 MiB EF02 GRUB |
31 |
2 6144 268287 128.0 MiB EF00 boot fat32 |
32 |
3 268288 1316863 512.0 MiB 8300 swap linux-swap(v1) |
33 |
4 1316864 525604863 250.0 GiB 8300 root ext4 |
34 |
5 525604864 1049892863 250.0 GiB 8300 home ext4 |
35 |
6 1049892864 1574180863 250.0 GiB 8300 pool00 ext4 |
36 |
7 1574180864 2098468863 250.0 GiB 8300 pool01 ext4 |
37 |
8 2098468864 2622756863 250.0 GiB 8300 pool02 ext4 |
38 |
9 2622756864 3147044863 250.0 GiB 8300 pool03 ext4 |
39 |
10 3147044864 3671332863 250.0 GiB 8300 pool04 ext4 |
40 |
11 3671332864 4195620863 250.0 GiB 8300 pool05 ext4 |
41 |
12 4195620864 4719908863 250.0 GiB 8300 pool06 ext4 |
42 |
13 4719908864 5244196863 250.0 GiB 8300 pool07 ext4 |
43 |
14 5244196864 5860530175 293.9 GiB 8300 pool08 ext4 |
44 |
|
45 |
(filesystem types added by me by hand, taken from the output of parted -l ) |
46 |
|
47 |
Mounting the system under /mnt/gentoo and chrooting into it |
48 |
and after submitting a 'mount -a' I get: |
49 |
(list is sorted alphabetically/manually for better reading) |
50 |
|
51 |
/dev/sdb4 on / type ext4 (rw,relatime) |
52 |
/dev/sdb2 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) |
53 |
/dev/sdb10 on /home/user/data/pool04 type ext4 (rw,noatime) |
54 |
/dev/sdb11 on /home/user/data/pool05 type ext4 (rw,noatime) |
55 |
/dev/sdb12 on /home/user/data/pool06 type ext4 (rw,noatime) |
56 |
/dev/sdb13 on /home/user/data/pool07 type ext4 (rw,noatime) |
57 |
/dev/sdb14 on /home/user/data/pool08 type ext4 (rw,noatime) |
58 |
/dev/sdb5 on /home type ext4 (rw,noatime) |
59 |
/dev/sdb6 on /home/user/data/pool00 type ext4 (rw,noatime) |
60 |
/dev/sdb7 on /home/user/data/pool01 type ext4 (rw,noatime) |
61 |
/dev/sdb8 on /home/user/data/pool02 type ext4 (rw,noatime) |
62 |
/dev/sdb9 on /home/user/data/pool03 type ext4 (rw,noatime) |
63 |
/proc on /proc type proc (rw,relatime) |
64 |
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) |
65 |
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755) |
66 |
configfs on /config type configfs (rw,relatime) |
67 |
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) |
68 |
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu) |
69 |
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct) |
70 |
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) |
71 |
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) |
72 |
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) |
73 |
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) |
74 |
devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=4104014,mode=755) |
75 |
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) |
76 |
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) |
77 |
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) |
78 |
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) |
79 |
none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) |
80 |
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc) |
81 |
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) |
82 |
pids on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) |
83 |
rdma on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) |
84 |
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) |
85 |
sysfs on /sys type sysfs (rw,relatime) |
86 |
|
87 |
the contents of /boot is: |
88 |
. |
89 |
./.keep |
90 |
./grub |
91 |
./grub/themes/... |
92 |
./grub/x86_64-efi/... |
93 |
./grub/grubenv |
94 |
./grub/fonts |
95 |
./grub/fonts/unicode.pf2 |
96 |
./grub/grub.cfg |
97 |
./efi (mount point) |
98 |
./efi/vmlinuz-5051500-64-RT |
99 |
./efi/EFI |
100 |
./efi/EFI/gentoo |
101 |
./efi/EFI/gentoo/grubx64.efi |
102 |
./vmlinuz-5051500-64-RT |
103 |
|
104 |
|
105 |
This was created via |
106 |
grub-install --efi-directory=/boot/efi |
107 |
grub-mkconfig -o /boot/grub/grub.cfg |
108 |
|
109 |
via booting an live-gentoo-image and chrooting |
110 |
into the new system since I needed a system which |
111 |
was UEFI-booted (my old system uses legacy boot). |
112 |
|
113 |
The resulting grub.cfg is attached to this email. |
114 |
|
115 |
When I boot this setup, grub starts and displays: |
116 |
|
117 |
booting Linux 5051500-64-RT ... |
118 |
|
119 |
and freezes. I have to powercycle the whole thing. |
120 |
|
121 |
The kernel is UEFI- and GPT-aware. |
122 |
|
123 |
I also tried refind, but this guy gets totally confused, |
124 |
and extracts informations from the running kernel (live-cd), |
125 |
the root fs from that kernel and bits and pieces from |
126 |
the system, which it should start actuallu. |
127 |
|
128 |
I have tried a lot things I found online...nothing works |
129 |
so far. The best result is getting grub, which freeses |
130 |
my PC... :( |
131 |
|
132 |
How can I get this thing booted successfully...I don't |
133 |
see the forest for the trees anymore... |
134 |
|
135 |
Stay healthy! |
136 |
|
137 |
Cheers! |
138 |
(frustrated) Meino |