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 11:14:29
Message-Id: 20140412111409.GA5343@facGentoo
In Reply to: Re: [gentoo-user] Change EFI to BIOS Boot by Michael Hampicke
1 On Sat, Apr 12, 2014 at 01:06:57PM +0200, Michael Hampicke wrote:
2 > Am 12.04.2014 12:45, schrieb Facu Curti:
3 > > Hi all. First at all i apologize if my english is not enough.
4 > > When I installed gentoo, I do that with UEFI, and gpt partitions. But
5 > > right now, I tried to install XEN, and this not works with EFI. I cant
6 > > wait until somebody fix this problem, So i'm thinking to change "EFI" to
7 > > "BIOS" boot.
8 > >
9 > > So, I deleted the efi (/boot/efi) partition, edited make.conf, and deleted
10 > > /etc/default/grub.
11 > >
12 > > After that, I made a new partition with bios_grub
13 > > flag. As explained in [1]. And reinstalled grub2 (with new flags).
14 > > But I can't boot. Anyway, I can boot from a live cd without
15 > > efi, so the problem is not in bios.
16 > >
17 > > I can't find the problem. ¿Some ideas?
18 > >
19 > > parted -l /dev/sdb:
20 > >
21 > > Model: ATA KINGSTON SV300S3 (scsi)
22 > > Disk /dev/sdb: 120GB
23 > > Sector size (logical/physical): 512B/512B
24 > > Partition Table: gpt
25 > > Disk Flags:
26 > >
27 > > Numero Inicio Fin Tamaño Sistema de ficheros Nombre Banderas
28 > > 1 1049kB 11,5MB 10,5MB bios_grub
29 > > 2 58,7MB 24,8GB 24,7GB ext4 rootfs arranque
30 > > 3 24,8GB 28,8GB 3999MB linux-swap(v1) swap
31 > > 4 28,8GB 120GB 91,2GB ext4 home
32 > >
33 >
34 > looks good
35 >
36 > > I made install with:
37 > > grub2-install --target=i386-pc --recheck --debug /dev/sdb
38 >
39 > Try booting from the live cd and chroot into your gentoo installation.
40 > Reinstall grub from there
41 >
42 yes, this is what I do. I forgotten mentioning. I'm using sysrescuecd.
43 >
44 >
45 > > grub2-mkconfig /boot/grub/grub.cfg
46 > >
47 >
48 > Is this a typo? The correct command is
49 >
50 > grub2-mkconfig -o /boot/grub/grub.cfg
51
52 Yes, is a typo, im sorry. I do grub2-mkconfig -o /boot/grub/grub.cfg
53
54 Thank you for answer!