Skip to content

[NOOB question] Need help with GRUB installation.

Hello, doing my arch installation on a virtual machine. Towards the end of the installation guide, it tells me about the boot loaders. So I obviously choose GRUB, but on the GRUB page it's telling me that I need a specific partition before my main one.

I tried checking those YouTube tutorials, to see if they were partitioning the disk in advance but they didn't... Here are my main questions:

  • Is it necessary to create a boot-able partition or will grub-install manage this? Like I just have to install it to /dev/sda ??
  • If I do need to create a partition, is it possible to realign my previous partition where I installed the base system and then create the boot-able partition? Can I do this with fdisk or do I have to use something else? And after all that do I still install it to /dev/sda ?
  • What should my target be?
    • x86_64-efi (but I'm using BIOS with MBR) or x86_64-xen ?

​

Thank you!

Edited 22 May 2019. We only hold this version.

3 points8 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
3 · 100% up
Kind
Text
ID
brncpx

Author

12
posts
70
comments
1
media
View profile

8 comments

You don't need a partition with the 'bootable' flag set. GRUB on a BIOS-MBR setup is installed into ... err, the MBR ...

Optionally, you can put the /boot directory on its own partition, but ... that's .. optional, at least when using GRUB with BIOS-MBR machines.

The target for BIOS boot in GRUB is i386-pc https://wiki.archlinux.org/index.php/GRUB#Master_Boot_Record_(MBR)_specific_instructions

5 points

Ooh thanks a lot! I did see the target in the wiki, but thought the wiki was outdated.

1 points

Usually when the wiki is outdated, there's a note saying it's outdated. The wiki maintainers are pretty good for noting these things.

6 points

You got your BIOS/MBR answer, for EFI, you do need a separate partition because EFI partitions want it to be a FAT32 type. So if you ever go that route just keep that in mind.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.