Unsubscribe
Sent from ProtonMail mobile
-------- Original Message --------
On Oct 19, 2019, 2:03 PM, Ed Batalha wrote:
> Trent wrote:
>>
>> On my first try with LFS, I did version 8.4 systemd on an SSD with all
>> files in one partition.
>>
>> It boots just fine.
>>
>> I just did version 9.0 systemd on another SSD, all in one partition also.
>>
>>
>> However, in Chapter 8.4.3 Setting Up the Configuration, I ran into an
>> issue with this different SSD
>>
>> (grub-install /dev/sda)
>>
>> http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter08/grub.html
>>
>> Since I would not be booting with UEFI, I picked the "|--target i386-pc."|
>>
>> |What I got in return from this, unlike the previous SSD:|
>>
>> |
>> |
>>
>> |Installing for i386-pc platform.
>> grub-install: warning: this GPT partition label contains no BIOS Boot
>> Partition; embedding won't be possible.
>> grub-install: warning: Embedding is not possible. GRUB can only be
>> installed in this setup by using blocklists. However, blocklists are
>> UNRELIABLE and their use is discouraged..
>> grub-install: error: will not proceed with blocklists.|
>>
>> |Doing some research, I see would need to create a boot partition.|
>>
>> |Using gparted, I reduced the size of the single partition, and moved
>> it away from the start of the drive. I then made an ext2 partition,
>> and marked it with a flag of bios_grub as what I read I should do.
>> However, now it is being labeled as sdX2, if that makes any difference.
>> |
>>
>> |
>> |
>>
>> |I then when and remounted the LFS partition, and also the new boot
>> partition. I reran the grub command ||and returned:|
>>
>> |Installing for i386-pc platform.
>> Installation finished. No error reported.|
>>
>> |This was the same result as the previous SSD on a single partition,
>> but now got the boot partition.|
>>
>> |
>> |
>>
>> |I then set up fstab again with the following:|
>>
>> |
>> |
>>
>> |# Begin /etc/fstab
>> # file system mount-point type options dump fsck
>> # order
>> |
>>
>> |/dev/sda2 /boot ext2 defaults 0 2
>> /dev/sda1 / ext4 defaults 1 1
>> |
>>
>> | #/dev/<yyy> swap swap pri=1 0 0 (no swap)
>> # End /etc/fstab
>> EOF
>> |
>>
>> |
>> |
>>
>> |
>> |
>>
>> |I then copied all the files from /mnt/lfs/boot to the now mounted
>> boot partition I have verified they are in the boot partition.|
>>
>> |I then stuck the drive in the system I want to boot.|
>>
>> |All I am getting on screen is:|
>>
>> |"GRUB _ <-(blinking cursor)"|
>>
>> |Any advice on what I did wrong?|
>>
>> |
>> |
>>
>> |Thanks!
>> |
>>
> Hi,
>
> This article explains really well the way that Grub2 works and why it
> works the way it does.
>
> http://moi.vonos.net/linux/Booting_Linux_on_x86_with_Grub2/
>
> I hope you're able to find the answers you need here.
>
> Regards,
> Ed Batalha
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
> Do not top post on this list.
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> http://en.wikipedia.org/wiki/Posting_style
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style