how grub.cfg under /boot/efi/EFI already has information about my root filesystem
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When I cat /boot/efi/EFI/ubuntu/grub.cfg
I can see that it already has information about my root filesystem including root filesystem uuid
.
I checked fstab
and it is indeed uuid
of a root filesystem.
I am trying to understand at what point it found and permanently wrote root filesystem uuid
to a file in efi filesystem, and why it needs to do it in the first place, since esp
is responsible for finding and loading a bootloader (grub
), and it has nothing to do with actual root
filesystem uuid
.
I have read this How does a kernel mount the root partition? and from my understanding initramfs
is used to find and mount root
filesystem but then why root filesystem uuid
is written into a file under efi
filesystem?
search.fs_uuid 31592224-ea65-4f8d-bbb8-4d370f306d62 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
filesystems grub
add a comment |Â
up vote
0
down vote
favorite
When I cat /boot/efi/EFI/ubuntu/grub.cfg
I can see that it already has information about my root filesystem including root filesystem uuid
.
I checked fstab
and it is indeed uuid
of a root filesystem.
I am trying to understand at what point it found and permanently wrote root filesystem uuid
to a file in efi filesystem, and why it needs to do it in the first place, since esp
is responsible for finding and loading a bootloader (grub
), and it has nothing to do with actual root
filesystem uuid
.
I have read this How does a kernel mount the root partition? and from my understanding initramfs
is used to find and mount root
filesystem but then why root filesystem uuid
is written into a file under efi
filesystem?
search.fs_uuid 31592224-ea65-4f8d-bbb8-4d370f306d62 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
filesystems grub
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I cat /boot/efi/EFI/ubuntu/grub.cfg
I can see that it already has information about my root filesystem including root filesystem uuid
.
I checked fstab
and it is indeed uuid
of a root filesystem.
I am trying to understand at what point it found and permanently wrote root filesystem uuid
to a file in efi filesystem, and why it needs to do it in the first place, since esp
is responsible for finding and loading a bootloader (grub
), and it has nothing to do with actual root
filesystem uuid
.
I have read this How does a kernel mount the root partition? and from my understanding initramfs
is used to find and mount root
filesystem but then why root filesystem uuid
is written into a file under efi
filesystem?
search.fs_uuid 31592224-ea65-4f8d-bbb8-4d370f306d62 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
filesystems grub
When I cat /boot/efi/EFI/ubuntu/grub.cfg
I can see that it already has information about my root filesystem including root filesystem uuid
.
I checked fstab
and it is indeed uuid
of a root filesystem.
I am trying to understand at what point it found and permanently wrote root filesystem uuid
to a file in efi filesystem, and why it needs to do it in the first place, since esp
is responsible for finding and loading a bootloader (grub
), and it has nothing to do with actual root
filesystem uuid
.
I have read this How does a kernel mount the root partition? and from my understanding initramfs
is used to find and mount root
filesystem but then why root filesystem uuid
is written into a file under efi
filesystem?
search.fs_uuid 31592224-ea65-4f8d-bbb8-4d370f306d62 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
filesystems grub
filesystems grub
edited 9 mins ago
asked 15 mins ago
MaverickD
1745
1745
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478299%2fhow-grub-cfg-under-boot-efi-efi-already-has-information-about-my-root-filesyste%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password