1

I'm unable to install Ubuntu Server 18.04 (fresh install, I use live version from USB install) to XFS partition. I selected manual partition, manually selected XFS as the filesystem type for / directory. The installer automatically create /boot/efi partition and I think it's fine. Also, there's no problem during installation. After installation however, the GRUB error happened.

How to do this correctly? Is there any tutorial for fresh install of Ubuntu Server to XFS?

GRUB error

karel
  • 114,770
denny
  • 141
  • 1
  • 4
  • https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-server#0 – guiverc Jul 25 '19 at 22:20
  • note: I don't think XFS has anything to do with your grub issue (where I'd check your machine's bios settings first for that), but your question was about tutorial for install with xfs (which is a default fs for certain conditions anyway) – guiverc Jul 25 '19 at 23:02
  • 1
    well.. after some search on Google. XFS is impossible to install on live cd image. So I abandoning the XFS. https://ubuntuforums.org/showthread.php?t=1060323 – denny Jul 26 '19 at 00:36

1 Answers1

0

Installing Ubuntu on XFS is possible,

but:

  1. /boot/efi should be FAT (any of FAT8, FAT16, FAT32)¹
  2. / should be EXT4²
  3. individual specific directories can be mounted on XFS where needed.³

However: putting everything on XFS doesn't make sense at the time of this writing. (Who knows what the future and grub3 will bring...)

Note 1: Source, Section 5 13.3
Note 2: Source, Section 1.1
Note 3: Source, Section "Use Cases"

Fabby
  • 34,259
  • This needs some references. – fkraiem Jul 27 '19 at 16:52
  • @fkraiem See edits – Fabby Jul 27 '19 at 17:11
  • 1
    Section 13.3 in Note 1 – mook765 Jul 28 '19 at 03:37
  • @mook765 Thanks! Updated!!: :-) – Fabby Jul 28 '19 at 16:41
  • I don't understand this answer. So, you recommend to install Ubuntu on XFS but, you pointed out some posts that don't recommend. So, what is the good answer here. – MaXi32 Dec 21 '20 at 07:42
  • https://wiki.ubuntu.com/XFS#Disadvantages:~:text=GRUB%2DSupport%20is%20in%20an%20early%20stage%2C%20therefore%20using%20xfs%20as%20boot%2Dfilesystem%20can%20be%20a%20bad%20idea might be a good citation for the "However" point. With mounting specific directories, probably no citation is needed, and the provided one is for ZFS anyway. – mwfearnley Apr 27 '23 at 12:04