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