Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No boot partition - fstab
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
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sat Jan 26, 2013 11:05 pm    Post subject: No boot partition - fstab Reply with quote

If i have just 2 partitions (/ and swap) what should i write on my fstab?
Quote:

# like a boot partt
/dev/sda1 / ext4 defaults,noatime 0 2
# normal partt
/dev/sda1 / ext4 noatime 0 1



thx
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Sat Jan 26, 2013 11:27 pm    Post subject: Reply with quote

See man fstab, it will be 0 1.
What's thx?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Sun Jan 27, 2013 12:16 am    Post subject: Reply with quote

/

just 1 partition is /

2 is

/
&
/boot

i run 3 with home as my format safe partition.....

/
/boot
/home

/dev/sda1 / ext4 noatime 0 1 should work for you
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Sun Jan 27, 2013 10:03 am    Post subject: Re: No boot partition - fstab Reply with quote

JuszR wrote:
If i have just 2 partitions (/ and swap) what should i write on my fstab?
Quote:

# like a boot partt
/dev/sda1 / ext4 defaults,noatime 0 2
# normal partt
/dev/sda1 / ext4 noatime 0 1

I would write something like:
Code:
/dev/sda1 none swap defaults 0 0
/dev/sda2 / ext4 defaults 0 1

Of course swap the two lines if you have root first and swap later.

Jaglover wrote:
What's thx?

I think it's an abbreviation for "thanks".
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