1 |
I am currently fighting this on a macbook air ... efi is crap, at least |
2 |
the old grub was much easier to fix when it went wrong ... |
3 |
|
4 |
if you are using grub 2 (I tried refit/refind/grub2/efi kernel and |
5 |
finally settled on grub2) |
6 |
|
7 |
try: |
8 |
mount /boot |
9 |
mount /boot/efi |
10 |
`grub2-install --target=x86_64-efi` |
11 |
`grub2-mkconfig -o /boot/efi/EFI/gentoo/grub.conf` |
12 |
# have to sort this out one day, which is it using? |
13 |
`cp /boot/efi/EFI/gentoo/grub.conf /boot/grub2/grub.cfg` |
14 |
|
15 |
Sounds like your install line is what you are missing ... |
16 |
|
17 |
/boot |
18 |
├── System.map-genkernel-x86_64-3.3.8-gentoo |
19 |
├── System.map-genkernel-x86_64-3.5.4-gentoo |
20 |
├── efi |
21 |
│ └── EFI |
22 |
│ ├── APPLE |
23 |
│ │ └── EXTENSIONS |
24 |
│ │ └── Firmware.scap |
25 |
│ ├── gentoo |
26 |
│ │ ├── grub.cfg |
27 |
│ │ └── grubx64.efi |
28 |
│ └── refind |
29 |
│ ├── drivers_x64 |
30 |
│ │ ├── LICENSE.txt |
31 |
│ │ ├── LICENSE_GPL.txt |
32 |
│ │ ├── ext2_x64.efi |
33 |
│ │ ├── hfs_x64.efi |
34 |
│ │ ├── iso9660_x64.efi |
35 |
│ │ └── reiserfs_x64.efi |
36 |
│ ├── icons |
37 |
│ │ ├── arrow_left.icns |
38 |
│ │ ├── arrow_right.icns |
39 |
│ │ ├── boot_linux.icns |
40 |
│ │ ├── boot_win.icns |
41 |
│ │ ├── func_about.icns |
42 |
│ │ ├── func_exit.icns |
43 |
│ │ ├── func_reset.icns |
44 |
│ │ ├── func_shutdown.icns |
45 |
│ │ ├── os_arch.icns |
46 |
│ │ ├── os_centos.icns |
47 |
│ │ ├── os_debian.icns |
48 |
│ │ ├── os_ecomstation.icns |
49 |
│ │ ├── os_fedora.icns |
50 |
│ │ ├── os_freebsd.icns |
51 |
│ │ ├── os_freedos.icns |
52 |
│ │ ├── os_gentoo.icns |
53 |
│ │ ├── os_hwtest.icns |
54 |
│ │ ├── os_legacy.icns |
55 |
│ │ ├── os_linux.icns |
56 |
│ │ ├── os_linuxmint.icns |
57 |
│ │ ├── os_mac.icns |
58 |
│ │ ├── os_mandriva.icns |
59 |
│ │ ├── os_netbsd.icns |
60 |
│ │ ├── os_openbsd.icns |
61 |
│ │ ├── os_redhat.icns |
62 |
│ │ ├── os_refit.icns |
63 |
│ │ ├── os_slackware.icns |
64 |
│ │ ├── os_suse.icns |
65 |
│ │ ├── os_ubuntu.icns |
66 |
│ │ ├── os_unknown.icns |
67 |
│ │ ├── os_win.icns |
68 |
│ │ ├── tool_part.icns |
69 |
│ │ ├── tool_shell.icns |
70 |
│ │ ├── vol_external.icns |
71 |
│ │ ├── vol_internal.icns |
72 |
│ │ └── vol_optical.icns |
73 |
│ ├── icons-backup |
74 |
│ │ ├── arrow_left.icns |
75 |
│ │ ├── arrow_right.icns |
76 |
│ │ ├── boot_linux.icns |
77 |
│ │ ├── boot_win.icns |
78 |
│ │ ├── func_about.icns |
79 |
│ │ ├── func_exit.icns |
80 |
│ │ ├── func_reset.icns |
81 |
│ │ ├── func_shutdown.icns |
82 |
│ │ ├── os_arch.icns |
83 |
│ │ ├── os_centos.icns |
84 |
│ │ ├── os_debian.icns |
85 |
│ │ ├── os_ecomstation.icns |
86 |
│ │ ├── os_fedora.icns |
87 |
│ │ ├── os_freebsd.icns |
88 |
│ │ ├── os_freedos.icns |
89 |
│ │ ├── os_gentoo.icns |
90 |
│ │ ├── os_hwtest.icns |
91 |
│ │ ├── os_legacy.icns |
92 |
│ │ ├── os_linux.icns |
93 |
│ │ ├── os_linuxmint.icns |
94 |
│ │ ├── os_mac.icns |
95 |
│ │ ├── os_mandriva.icns |
96 |
│ │ ├── os_netbsd.icns |
97 |
│ │ ├── os_openbsd.icns |
98 |
│ │ ├── os_redhat.icns |
99 |
│ │ ├── os_refit.icns |
100 |
│ │ ├── os_slackware.icns |
101 |
│ │ ├── os_suse.icns |
102 |
│ │ ├── os_ubuntu.icns |
103 |
│ │ ├── os_unknown.icns |
104 |
│ │ ├── os_win.icns |
105 |
│ │ ├── tool_part.icns |
106 |
│ │ ├── tool_shell.icns |
107 |
│ │ ├── vol_external.icns |
108 |
│ │ ├── vol_internal.icns |
109 |
│ │ └── vol_optical.icns |
110 |
│ ├── refind.conf |
111 |
│ ├── refind.conf-sample |
112 |
│ └── refind_x64.efi |
113 |
├── grub2 |
114 |
│ ├── fonts |
115 |
│ │ └── unicode.pf2 |
116 |
│ ├── grub.cfg |
117 |
│ ├── grubenv |
118 |
│ ├── locale |
119 |
│ ├── themes |
120 |
│ │ └── starfield |
121 |
│ │ ├── COPYING.CC-BY-SA-3.0 |
122 |
│ │ ├── README |
123 |
│ │ ├── blob_w.png |
124 |
│ │ ├── boot_menu_c.png |
125 |
│ │ ├── boot_menu_e.png |
126 |
│ │ ├── boot_menu_n.png |
127 |
│ │ ├── boot_menu_ne.png |
128 |
│ │ ├── boot_menu_nw.png |
129 |
│ │ ├── boot_menu_s.png |
130 |
│ │ ├── boot_menu_se.png |
131 |
│ │ ├── boot_menu_sw.png |
132 |
│ │ ├── boot_menu_w.png |
133 |
│ │ ├── dejavu_10.pf2 |
134 |
│ │ ├── dejavu_12.pf2 |
135 |
│ │ ├── dejavu_14.pf2 |
136 |
│ │ ├── dejavu_16.pf2 |
137 |
│ │ ├── dejavu_bold_14.pf2 |
138 |
│ │ ├── slider_c.png |
139 |
│ │ ├── slider_n.png |
140 |
│ │ ├── slider_s.png |
141 |
│ │ ├── starfield.png |
142 |
│ │ ├── terminal_box_c.png |
143 |
│ │ ├── terminal_box_e.png |
144 |
│ │ ├── terminal_box_n.png |
145 |
│ │ ├── terminal_box_ne.png |
146 |
│ │ ├── terminal_box_nw.png |
147 |
│ │ ├── terminal_box_s.png |
148 |
│ │ ├── terminal_box_se.png |
149 |
│ │ ├── terminal_box_sw.png |
150 |
│ │ ├── terminal_box_w.png |
151 |
│ │ └── theme.txt |
152 |
│ └── x86_64-efi |
153 |
│ ├── acpi.mod |
154 |
│ ├── adler32.mod |
155 |
│ ├── affs.mod |
156 |
│ ├── afs.mod |
157 |
│ ├── ahci.mod |
158 |
│ ├── all_video.mod |
159 |
│ ├── aout.mod |
160 |
│ ├── appleldr.mod |
161 |
│ ├── at_keyboard.mod |
162 |
│ ├── ata.mod |
163 |
│ ├── backtrace.mod |
164 |
│ ├── bfs.mod |
165 |
│ ├── bitmap.mod |
166 |
│ ├── bitmap_scale.mod |
167 |
│ ├── blocklist.mod |
168 |
│ ├── boot.mod |
169 |
│ ├── bsd.mod |
170 |
│ ├── btrfs.mod |
171 |
│ ├── bufio.mod |
172 |
│ ├── cat.mod |
173 |
│ ├── chain.mod |
174 |
│ ├── cmp.mod |
175 |
│ ├── command.lst |
176 |
│ ├── configfile.mod |
177 |
│ ├── core.efi |
178 |
│ ├── cpio.mod |
179 |
│ ├── cpio_be.mod |
180 |
│ ├── cpuid.mod |
181 |
│ ├── crc64.mod |
182 |
│ ├── crypto.lst |
183 |
│ ├── crypto.mod |
184 |
│ ├── cryptodisk.mod |
185 |
│ ├── cs5536.mod |
186 |
│ ├── date.mod |
187 |
│ ├── datehook.mod |
188 |
│ ├── datetime.mod |
189 |
│ ├── diskfilter.mod |
190 |
│ ├── dm_nv.mod |
191 |
│ ├── echo.mod |
192 |
│ ├── efi_gop.mod |
193 |
│ ├── efi_uga.mod |
194 |
│ ├── efinet.mod |
195 |
│ ├── ehci.mod |
196 |
│ ├── elf.mod |
197 |
│ ├── exfat.mod |
198 |
│ ├── exfctest.mod |
199 |
│ ├── ext2.mod |
200 |
│ ├── extcmd.mod |
201 |
│ ├── fat.mod |
202 |
│ ├── fixvideo.mod |
203 |
│ ├── font.mod |
204 |
│ ├── fs.lst |
205 |
│ ├── fshelp.mod |
206 |
│ ├── functional_test.mod |
207 |
│ ├── gcry_arcfour.mod |
208 |
│ ├── gcry_blowfish.mod |
209 |
│ ├── gcry_camellia.mod |
210 |
│ ├── gcry_cast5.mod |
211 |
│ ├── gcry_crc.mod |
212 |
│ ├── gcry_des.mod |
213 |
│ ├── gcry_md4.mod |
214 |
│ ├── gcry_md5.mod |
215 |
│ ├── gcry_rfc2268.mod |
216 |
│ ├── gcry_rijndael.mod |
217 |
│ ├── gcry_rmd160.mod |
218 |
│ ├── gcry_seed.mod |
219 |
│ ├── gcry_serpent.mod |
220 |
│ ├── gcry_sha1.mod |
221 |
│ ├── gcry_sha256.mod |
222 |
│ ├── gcry_sha512.mod |
223 |
│ ├── gcry_tiger.mod |
224 |
│ ├── gcry_twofish.mod |
225 |
│ ├── gcry_whirlpool.mod |
226 |
│ ├── geli.mod |
227 |
│ ├── gettext.mod |
228 |
│ ├── gfxmenu.mod |
229 |
│ ├── gfxterm.mod |
230 |
│ ├── gptsync.mod |
231 |
│ ├── grub.efi |
232 |
│ ├── gzio.mod |
233 |
│ ├── halt.mod |
234 |
│ ├── hashsum.mod |
235 |
│ ├── hdparm.mod |
236 |
│ ├── hello.mod |
237 |
│ ├── help.mod |
238 |
│ ├── hexdump.mod |
239 |
│ ├── hfs.mod |
240 |
│ ├── hfsplus.mod |
241 |
│ ├── http.mod |
242 |
│ ├── iorw.mod |
243 |
│ ├── iso9660.mod |
244 |
│ ├── jfs.mod |
245 |
│ ├── jpeg.mod |
246 |
│ ├── keylayouts.mod |
247 |
│ ├── keystatus.mod |
248 |
│ ├── ldm.mod |
249 |
│ ├── linux.mod |
250 |
│ ├── loadbios.mod |
251 |
│ ├── loadenv.mod |
252 |
│ ├── loopback.mod |
253 |
│ ├── ls.mod |
254 |
│ ├── lsacpi.mod |
255 |
│ ├── lsefimmap.mod |
256 |
│ ├── lsefisystab.mod |
257 |
│ ├── lsmmap.mod |
258 |
│ ├── lspci.mod |
259 |
│ ├── lssal.mod |
260 |
│ ├── luks.mod |
261 |
│ ├── lvm.mod |
262 |
│ ├── lzopio.mod |
263 |
│ ├── mdraid09.mod |
264 |
│ ├── mdraid09_be.mod |
265 |
│ ├── mdraid1x.mod |
266 |
│ ├── memdisk.mod |
267 |
│ ├── memrw.mod |
268 |
│ ├── minicmd.mod |
269 |
│ ├── minix.mod |
270 |
│ ├── minix2.mod |
271 |
│ ├── minix2_be.mod |
272 |
│ ├── minix3.mod |
273 |
│ ├── minix3_be.mod |
274 |
│ ├── minix_be.mod |
275 |
│ ├── mmap.mod |
276 |
│ ├── moddep.lst |
277 |
│ ├── msdospart.mod |
278 |
│ ├── multiboot.mod |
279 |
│ ├── multiboot2.mod |
280 |
│ ├── net.mod |
281 |
│ ├── newc.mod |
282 |
│ ├── nilfs2.mod |
283 |
│ ├── normal.mod |
284 |
│ ├── ntfs.mod |
285 |
│ ├── ntfscomp.mod |
286 |
│ ├── odc.mod |
287 |
│ ├── ohci.mod |
288 |
│ ├── part_acorn.mod |
289 |
│ ├── part_amiga.mod |
290 |
│ ├── part_apple.mod |
291 |
│ ├── part_bsd.mod |
292 |
│ ├── part_dvh.mod |
293 |
│ ├── part_gpt.mod |
294 |
│ ├── part_msdos.mod |
295 |
│ ├── part_plan.mod |
296 |
│ ├── part_sun.mod |
297 |
│ ├── part_sunpc.mod |
298 |
│ ├── partmap.lst |
299 |
│ ├── parttool.lst |
300 |
│ ├── parttool.mod |
301 |
│ ├── password.mod |
302 |
│ ├── password_pbkdf2.mod |
303 |
│ ├── pata.mod |
304 |
│ ├── pbkdf2.mod |
305 |
│ ├── play.mod |
306 |
│ ├── png.mod |
307 |
│ ├── priority_queue.mod |
308 |
│ ├── probe.mod |
309 |
│ ├── raid5rec.mod |
310 |
│ ├── raid6rec.mod |
311 |
│ ├── read.mod |
312 |
│ ├── reboot.mod |
313 |
│ ├── regexp.mod |
314 |
│ ├── reiserfs.mod |
315 |
│ ├── relocator.mod |
316 |
│ ├── romfs.mod |
317 |
│ ├── scsi.mod |
318 |
│ ├── search.mod |
319 |
│ ├── search_fs_file.mod |
320 |
│ ├── search_fs_uuid.mod |
321 |
│ ├── search_label.mod |
322 |
│ ├── serial.mod |
323 |
│ ├── setjmp.mod |
324 |
│ ├── setpci.mod |
325 |
│ ├── sfs.mod |
326 |
│ ├── sleep.mod |
327 |
│ ├── squash4.mod |
328 |
│ ├── tar.mod |
329 |
│ ├── terminal.lst |
330 |
│ ├── terminal.mod |
331 |
│ ├── terminfo.mod |
332 |
│ ├── test.mod |
333 |
│ ├── test_blockarg.mod |
334 |
│ ├── testload.mod |
335 |
│ ├── tftp.mod |
336 |
│ ├── tga.mod |
337 |
│ ├── time.mod |
338 |
│ ├── trig.mod |
339 |
│ ├── true.mod |
340 |
│ ├── udf.mod |
341 |
│ ├── ufs1.mod |
342 |
│ ├── ufs2.mod |
343 |
│ ├── uhci.mod |
344 |
│ ├── usb.mod |
345 |
│ ├── usb_keyboard.mod |
346 |
│ ├── usbms.mod |
347 |
│ ├── usbserial_common.mod |
348 |
│ ├── usbserial_ftdi.mod |
349 |
│ ├── usbserial_pl2303.mod |
350 |
│ ├── usbtest.mod |
351 |
│ ├── video.lst |
352 |
│ ├── video.mod |
353 |
│ ├── video_bochs.mod |
354 |
│ ├── video_cirrus.mod |
355 |
│ ├── video_fb.mod |
356 |
│ ├── videoinfo.mod |
357 |
│ ├── videotest.mod |
358 |
│ ├── xfs.mod |
359 |
│ ├── xnu.mod |
360 |
│ ├── xnu_uuid.mod |
361 |
│ ├── xzio.mod |
362 |
│ ├── zfs.mod |
363 |
│ ├── zfscrypt.mod |
364 |
│ └── zfsinfo.mod |
365 |
├── initramfs-genkernel-x86_64-3.3.8-gentoo |
366 |
├── initramfs-genkernel-x86_64-3.3.8-gentoo-bak |
367 |
├── initramfs-genkernel-x86_64-3.5.4-gentoo |
368 |
├── kernel-genkernel-x86_64-3.3.8-gentoo |
369 |
├── kernel-genkernel-x86_64-3.3.8-gentoo-bak |
370 |
└── kernel-genkernel-x86_64-3.5.4-gentoo |
371 |
|
372 |
15 directories, 338 files |
373 |
|
374 |
|
375 |
|
376 |
On Thu, 2012-10-11 at 20:25 +0200, Stefan G. Weichinger wrote: |
377 |
> Greets, |
378 |
> |
379 |
> could someone please show me the exact content of his |
380 |
> EFI-boot-partition, especially the stuff for gentoo? |
381 |
> |
382 |
> Yesterday my main SSD crashed, the support of company XXX told me to |
383 |
> erase the CMOS of the board ... zap .. that were my EFI-settings ... and |
384 |
> the EFI-boot-partition is on the SSD .... I was able to recover it but |
385 |
> somehow I don't get it right ... |
386 |
> |
387 |
> all that /boot/efi /boot/efi/EFI bla ... and all the howtos I google |
388 |
> slightly differ and I just can't make it work right now. |
389 |
> |
390 |
> I want to boot a gentoo-installation on /dev/md3 ... no separate /boot. |
391 |
> The EFI-boot-partition is /dev/sda5. |
392 |
> |
393 |
> Pls point me at some working instructions ... I tend to use EFI as I |
394 |
> have both hdds partitioned with GPT. |
395 |
> |
396 |
> Right now I boot using a USB-stick and manually pointing at the grub.cfg |
397 |
> from there ... *sigh* |
398 |
> |
399 |
> Thanks in advance, Stefan |
400 |
> |
401 |
> ps: I am a bit ill and rather overworked, this might make understanding |
402 |
> harder this time ;) |
403 |
> |