From: Joseph <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] installed Gentoo on SSD - no bootable device
Date: Fri, 5 Sep 2014 16:07:38 -0600 [thread overview]
Message-ID: <20140905220738.GQ7971@syscon7> (raw)
In-Reply-To: <20140905220613.10256b73@digimed.co.uk>
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
next prev parent reply other threads:[~2014-09-05 22:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 0:17 [gentoo-user] installed Gentoo on SSD - no bootable device Joseph
2014-09-05 0:36 ` Joseph
2014-09-05 2:41 ` Daniel Frey
2014-09-05 3:14 ` Joseph
2014-09-05 3:42 ` Daniel Frey
2014-09-05 3:44 ` Daniel Frey
2014-09-05 4:08 ` Joseph
2014-09-05 4:30 ` Sid S
2014-09-05 3:46 ` Joseph
2014-09-05 8:04 ` Neil Bothwick
2014-09-05 12:37 ` Joseph
2014-09-05 12:44 ` Neil Bothwick
2014-09-05 13:06 ` Joseph
2014-09-05 13:11 ` Neil Bothwick
2014-09-05 13:38 ` Joseph
2014-09-05 14:25 ` Rich Freeman
2014-09-05 14:54 ` Joseph
2014-09-05 15:08 ` Joseph
2014-09-05 14:02 ` Joseph
2014-09-05 19:26 ` Neil Bothwick
2014-09-05 19:54 ` Joseph
2014-09-05 21:06 ` Neil Bothwick
2014-09-05 22:07 ` Joseph [this message]
2014-09-05 22:32 ` Bill Kenworthy
2014-09-05 23:36 ` Neil Bothwick
2014-09-05 17:55 ` Joseph
2014-09-05 18:20 ` J. Roeleveld
2014-09-05 19:22 ` Joseph
2014-09-05 19:24 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140905220738.GQ7971@syscon7 \
--to=syscon780@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox