Gentoo Archives: gentoo-user

From: Michael Hampicke <mh@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GPT-UEFI-fstab questions
Date: Thu, 14 Nov 2013 17:52:06
Message-Id: 52850D97.1060609@hadt.biz
In Reply to: [gentoo-user] GPT-UEFI-fstab questions by James
1 Am 14.11.2013 18:18, schrieb James:
2 > Hello,
3 >
4 > I've made another run and this, using this document guide:
5 > http://code.google.com/p/pentoo/wiki/UEFI#UEFI_pentoo-installer_guide_for_UEFI_and_GPT
6 >
7 > it all seem to be fine; except grub 2 cannot find the kernel.
8 > The GPT is read fine by grub2. But, grub 2 cannot find
9 > the kernel, explicitly the error messages from grub2:
10 >
11 > error : file '/boot/kernel-genkernel-x86_64-3.3.9-pentoo' not found.
12 > error: you need to load the kernel first
13 >
14 >
15 > Here is the fstab:
16 >
17 > UUID="EFA3-8415" /boot/efi vfat default 0 1
18 > #sda2
19 > UUID="cf76566e-bf4e-4dee-ab9d-6fc2bcdd5b1b" /boot ext2 defaults 0 1
20 > #sda3
21 > UUID="0ef33e5a-7869-418e-86be-1ef5e16b4495" none swap sw 0 0
22 > #sda4
23 > UUID="fc8efde7-359e-41b1-94b0-8a9a868bdf24" / ext4 defaults 0 0
24 >
25 > shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
26 > /dev/cdrom /mnt/cdrom audo noauto,ro 0 0
27 >
28 >
29 > If you look at the table, which I followed, the names are in all caps, but
30 > I used lowercase; could this be the problem?
31 >
32 >
33 >
34 > The table from the aforementioned doc:
35 > Select "gpt" as Partition Table
36 > Create the following partitions:
37 >
38 > # FS Size mount point name
39 > /dev/sda1 vfat 256M /boot/efi UEFI
40 > /dev/sda2 ext2 64M /boot BOOT
41 > /dev/sda3 swap 4G SWAP
42 > /dev/sda4 ext4 16G / ROOT
43 >
44 > Booting GRUB-2 through UEFI
45 >
46 > On "4. Install Bootloader" choose "UEFI-GRUB".
47 > The UEFI boot partition will be /dev/sda1.
48 > The GRUB device path will be (hd0,2) - the default, /dev/sda2 where the
49 > kernel resides.
50 >
51 >
52 > ANY IDEAS?
53
54 Please show us your grub2.cfg :-)
55 Also try using the output of grub2-mkconfig as your grub2.cfg and see if
56 your machine boots.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: GPT-UEFI-fstab questions James <wireless@×××××××××××.com>