View previous topic :: View next topic |
Author |
Message |
bulletbutter n00b
Joined: 28 Oct 2005 Posts: 12
|
Posted: Fri Oct 28, 2005 8:18 pm Post subject: How do I change my fstab file? |
|
|
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 |
|
Back to top |
|
|
davascript l33t
Joined: 07 Apr 2004 Posts: 618 Location: Pennsylvania
|
Posted: Fri Oct 28, 2005 8:21 pm Post subject: |
|
|
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
there you go |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Oct 28, 2005 10:05 pm Post subject: |
|
|
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 |
|
|
|