On 09/05/14 22:06, Neil Bothwick wrote:
On Fri, 5 Sep 2014 13:54:07 -0600, Joseph wrote:
>> I don't need to format sda1, grub2-install should take care of it.
>> So what am I doing wrong?
>
>Did you run grub2-install from within the chroot? I've had problems
>with this in the past, no error messages but GRUB is not installed
>correctly. Instead, mount your root and boot partitions at /mnt/gent
>and /mnt/gentoo/boot and run grub2-install from the live system
>
>grub2-install --root-directory=/mnt/gentoo
>--boot-directory=/mnt/gentoo/boot /dev/sda
This will install grub in /mnt/gentoo/boot and will be gone after I
reboot.
GRUB is already installed there, when you emerged it. grub-install sets
up the bootstrapping, but it needs to know where the files are, and they
are in /mnt/gentoo. I've done it this way several times and it always
worked, your way has not worked. You decide which is preferable.
I was able to boot the system with systemrescue CD the kernel on the
HD. The problem I have is my BIOS does not recognize GPT partition
On what factual evidence do you base that statement?
I think I'll have to format entire drive in MBR and start from scratch.
How to format disk in MBR, current "fdisk" defaults to GPT.
fdisk doesn't default to anything AFAIR, it creates whatever type of
partition table you tell it to, depending on whether you press g or o.
I did you suggested:
# grub2-install --root-directory=/mnt/gentoo --boot-directory=/mnt/gentoo/boot
/dev/sda
Installation finished. No error reported.
# grub2-mkconfig -o /mnt/gentoo/boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.14.14-gentoo
done
ls -al /mnt/gentoo/boot/
total 8636
drwxr-xr-x 3 root root 4096 Sep 5 15:58 .
drwxr-xr-x 3 root root 4096 Sep 5 13:44 ..
-rw-r--r-- 1 root root 94478 Sep 5 15:58 config-3.14.14-gentoo
drwxr-xr-x 6 root root 4096 Sep 5 15:57 grub
-rw-r--r-- 1 root root 3037035 Sep 5 15:58 System.map-3.14.14-gentoo
-rw-r--r-- 1 root root 5689632 Sep 5 15:58 vmlinuz-3.14.14-gentoo
reboot the system and it still doesn't boot.
--
Joseph