1 |
On Tue, 22 Mar 2016 11:46:24 +0100, Dennis Tants wrote: |
2 |
|
3 |
Please don't top-post |
4 |
|
5 |
> So I thought it would be a GRUB problem, because if I use the grub |
6 |
> shell with following commands, I can actually boot into the new kernel: |
7 |
> set prefix=(hd0,msdos1)/grub/ |
8 |
> set root=(hd0,msdos3) |
9 |
> insmod linux |
10 |
> insmod normal |
11 |
> normal |
12 |
> And then choose to boot the newly created entry. |
13 |
|
14 |
Ah, you didn't tell us that! |
15 |
|
16 |
> /etc/fstab: |
17 |
> /dev/sda1 /boot ext4 defaults 0 2 ---> |
18 |
> UUID = 0aabf45f-9868-471f-bda2-8d7501983048 |
19 |
> /dev/sda3 / ext4 defaults 0 1 ---> |
20 |
> UUID = 42eea483-72a2-4bf6-8491-8bfd63e8fc87 |
21 |
> /dev/sda2 none swap sw 0 0 |
22 |
> /dev/sda4 /home ext4 defaults 0 0 |
23 |
> |
24 |
> And my /boot/grub/grub.cfg (main part I guess): |
25 |
> menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class |
26 |
> gnu --class os $menuentry_id_option |
27 |
> 'gnulinux-simple-42eea483-72a2-4bf6-8491-8bfd63e8fc87' { |
28 |
> load_video |
29 |
> if [ "x$grub_platform" = xefi ]; then |
30 |
> set gfxpayload=keep |
31 |
> fi |
32 |
> insmod gzio |
33 |
> insmod part_msdos |
34 |
> insmod ext2 |
35 |
> set root='hd0,msdos1' |
36 |
|
37 |
Which is different to what you used on a manual boot. It appears you can |
38 |
boot when using /boot on the root filesystem, but not when booting from |
39 |
the separate boot partition. |
40 |
|
41 |
Did you have sda1 mounted at /boot when you installed the kernel and ran |
42 |
grub2-mkconfig? |
43 |
|
44 |
|
45 |
-- |
46 |
Neil Bothwick |
47 |
|
48 |
Did you hear about the blind prostitute? You have to hand it to her. |