Gentoo Archives: gentoo-user

From: Facu Curti <facu.curti@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Change EFI to BIOS Boot
Date: Sat, 12 Apr 2014 12:26:21
Message-Id: 20140412122615.GA7979@facGentoo
In Reply to: Re: [gentoo-user] Change EFI to BIOS Boot by Tom H
1 On Sat, Apr 12, 2014 at 08:16:46AM -0400, Tom H wrote:
2 > On Sat, Apr 12, 2014 at 6:45 AM, Facu Curti <facu.curti@×××××.com> wrote:
3 >
4 >
5 > > Hi all. First at all i apologize if my english is not enough.
6 > > When I installed gentoo, I do that with UEFI, and gpt partitions. But
7 > > right now, I tried to install XEN, and this not works with EFI. I cant
8 > > wait until somebody fix this problem, So i'm thinking to change "EFI" to
9 > > "BIOS" boot.
10 > >
11 > > So, I deleted the efi (/boot/efi) partition, edited make.conf, and deleted
12 > > /etc/default/grub.
13 > >
14 > > After that, I made a new partition with bios_grub
15 > > flag. As explained in [1]. And reinstalled grub2 (with new flags).
16 > > But I can't boot. Anyway, I can boot from a live cd without
17 > > efi, so the problem is not in bios.
18 >
19 > Did you enable BIOS compatibility mode in the firmware?
20 >
21 > Different firmwares have different names for this but a common one is
22 > CSM (compatibility support module).
23 >
24
25 yes. It is enabled. And I can boot from a liveCD without EFI support
26 (tails). So the problem should be on grub I think.
27 >
28 > > I can't find the problem. ¿Some ideas?
29 > >
30 > > parted -l /dev/sdb:
31 > >
32 > > Model: ATA KINGSTON SV300S3 (scsi)
33 > > Disk /dev/sdb: 120GB
34 > > Sector size (logical/physical): 512B/512B
35 > > Partition Table: gpt
36 > > Disk Flags:
37 > >
38 > > Numero Inicio Fin Tamaño Sistema de ficheros Nombre Banderas
39 > > 1 1049kB 11,5MB 10,5MB bios_grub
40 > > 2 58,7MB 24,8GB 24,7GB ext4 rootfs arranque
41 > > 3 24,8GB 28,8GB 3999MB linux-swap(v1) swap
42 > > 4 28,8GB 120GB 91,2GB ext4 home
43 > >
44 > > I made install with:
45 > > grub2-install --target=i386-pc --recheck --debug /dev/sdb
46 > > grub2-mkconfig /boot/grub/grub.cfg
47 >
48 > It's "grub2-mkconfig -o /boot/grub/grub.cfg".
49 >
50
51 Yes. It was a typing mistake on email. But I ran the command correctly.
52 I attach my grub.cfg
53
54 Thank you for help!

Attachments

File name MIME type
grub.cfg text/plain