Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
efi/boot and second system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ups
n00b
n00b


Joined: 06 Sep 2018
Posts: 14

PostPosted: Sun Sep 23, 2018 3:53 pm    Post subject: efi/boot and second system Reply with quote

I've partitioned disk as gentoo handbook suggested (https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#Default_partitioning_scheme), and ended-up with the following setup:

Code:
$> parted -l

Model: ATA ST1000LM035-1RK1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name     Flags
 1      1049kB  3146kB  2097kB                  grub     boot, esp
 2      3146kB  423MB   419MB   fat32           boot
 3      423MB   8811MB  8389MB  linux-swap(v1)  swap
 4      8811MB  210GB   201GB   ext4            rootfs
 5      210GB   252GB   41,9GB  ext4            ubu
 6      252GB   1000GB  749GB   ext4            storage

The /dev/sda1 is not mounted, /dev/sda2 on /boot, /dev/sda3 is swap, and /dev/sda4 is gentoo system mounted on /. Everything works fine.
Now, I would like to install the second system (ubuntu) on /dev/sda5. The problem is that when I run ubuntu graphical installer (from live-usb) I get a message
Quote:
The attempt to mount a file system with type vfat in SCSI1(0,0,0), partition#1(sda) at/boot/efi failed


The vfat is fat32 so does it mean that /dev/sda1 should be formatted as fat32? But it is only 2 MB, so it cannot be done. How do I correct this to be able to install ubu?


Last edited by ups on Sun Sep 23, 2018 3:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Sep 23, 2018 3:55 pm    Post subject: Reply with quote

Your ESP partition is sda2, the flag is set incorrectly on sda1.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ups
n00b
n00b


Joined: 06 Sep 2018
Posts: 14

PostPosted: Sun Sep 23, 2018 4:04 pm    Post subject: Reply with quote

Jaglover wrote:
Your ESP partition is sda2, the flag is set incorrectly on sda1.

Thanks for quick replay.
So you mean I need to change this flag? I had to misunderstood something in the handbook. Why does my system works correctly with wrong settings? And if I change this flag to /dev/sda2 do I still need /dev/sda1 at all? It is empty partition without any flags, without filesystem and not mounted anywhere...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Sep 23, 2018 4:12 pm    Post subject: Reply with quote

sda1 is Grub partition, Grub needs it to store its code. I don't think it is even needed for EFI boot. It is needed for MBR boot when GPT partition table is used.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum