Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Does fstab still matter?
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
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6172
Location: /usr/lib64/lv2

PostPosted: Fri Feb 02, 2018 3:12 am    Post subject: Does fstab still matter? Reply with quote

I did an install and mistakenly set fstab to use /dev/sda2-4 as per the standard example, even though my actual drive is /dev/sdd. Why does it still boot correctly? When I changed it to use /dev/sdd, it continued to boot correctly. It's like fstab doesn't matter any more.
_________________
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 4938

PostPosted: Fri Feb 02, 2018 3:49 am    Post subject: Reply with quote

The root partition is already set in the bootloader, so it doesn't care about that. If the others don't mount it'll just put all files in there instead and carry on like nothing happened (until next reboot you find out the wrong kernel's running, or whatever).
_________________
*.ebuild // /etc/service/*
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3538
Location: Hamburg

PostPosted: Fri Feb 02, 2018 8:54 am    Post subject: Re: Does fstab still matter? Reply with quote

audiodef wrote:
I did an install and mistakenly set fstab to use /dev/sda2-4 as per the standard example, even though my actual drive is /dev/sdd. Why does it still boot correctly? When I changed it to use /dev/sdd, it continued to boot correctly. It's like fstab doesn't matter any more.
Do you speak about the /boot entry ?
Back to top
View user's profile Send private message
grumblebear
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2008
Posts: 108

PostPosted: Fri Feb 02, 2018 10:14 am    Post subject: Reply with quote

Note that it is sometimes possible to go without fstab, using systemd and a GPT partitioned disk with carefully chosen partition types. See here.
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