Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I change my fstab file?
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
bulletbutter
n00b
n00b


Joined: 28 Oct 2005
Posts: 12

PostPosted: Fri Oct 28, 2005 8:18 pm    Post subject: How do I change my fstab file? Reply with quote

I finished installing and rebooted. I used exactly what was on the Handbook. When it started loading it game me some error...fsck.ext3: not found no such directory. Through a quick search I found out that I need to alter my fstab file because instead of changing the defaults I just added what I was supposed to at the bottom of the ftab file. How do I get back in to change the fstab? I put in the liveCD and rebooted to it. Got into #liveCD gentoo but I can't get chroot. When I try chroot /mnt/gentoo /bin/bash it says:
Code:

chroot: cannont run command '/bin/sh' : No such file or directory



Help wanted :P
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Fri Oct 28, 2005 8:21 pm    Post subject: Reply with quote

you have to mount your drives first then chroot
1. mount /
2. mount boot
3. mkswap and activate
4. mount proc
5. chroot
6 ecit fstab
Code:
nano -w /etc/fstab


there you go
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Oct 28, 2005 10:05 pm    Post subject: Reply with quote

Hi.

@davascript
You don't need to create the swap again, you just need to use it - swapon /dev/???.
To edit a file you also don't need to chroot. The live-cd includes nano, so you can just edit it - nano -w /mnt/gentoo/etc/fstab.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
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