I have an old PC given by a friend. And I installed Debian etch 4.0 via network. I installed NFS server with postgresql 7.4 . I wanted the NFS server and not postgresql . But the NFS server didn’t work even with these lines.
# /etc/init.d/nfs-common restart
# /etc/init.d/nfs-kernel-server restart
When I tried to mount, it says:
mount.nfs: mount to NFS server ‘rpcbind’ failed: RPC Error: Program not registered
mount.nfs: internal error
I wanted to expand the /tmp partition (On a Logical Volume.) on Fedora 9. So seeing 3 GB free space on /usr and /var in total, I tried to reduce them in single user mode. But it doesn’t let me unmount them.
I messed up for a long time. But someone said why I didn’t edit /etc/fstab for not mounting the file systems. So I did like this.
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
#/dev/VolGroup00/LogVol05 /home reiserfs defaults 1 2
#/dev/VolGroup00/LogVol04 /tmp reiserfs defaults 1 2
#/dev/VolGroup00/LogVol03 /var reiserfs defaults 1 2
#/dev/VolGroup00/LogVol02 /usr reiserfs defaults 1 2
UUID=eb422228-006b-488e-8aa2-78e211ec5667 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
Restarting in the single user mode after that, I could resize the file systems. But it’s not recommended since you can fail. Someone advised me to use a rescue CD and someone advised me to use Knoppix.