cancel
Showing results for 
Search instead for 
Did you mean: 

terminal problem

Basso_1
Advisor

terminal problem

helo i have a linus red hat 8 install in a laptop.
i tried to mount the usb when i accidently deleted the /etc/fstab file when i have returned the missing file i got a problem on the terminal: I cannot access the terminal in user mode it is a white window only ( it is working correctly in ROOT mode).
THANKS IN ADVANCE
3 REPLIES
Ivan Ferreira
Honored Contributor

Re: terminal problem

Maybe your /home partition is not mounted, post the contents of your /etc/fstab file and the results of the mount command.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sheriff Andy
Trusted Contributor

Re: terminal problem

Can you telnet into this machine?

I have to wonder if any other files besides the fstab were deleted.

When you run mount -v, what output do you get?

You might also try running a mount -a. This will mount all filesystems.
Bill Thorsteinson
Honored Contributor

Re: terminal problem

Check the contents of the /etc/mnttab or
/etc/mtab. This should list the mounted
partitions. Start rebuilding your fstab
by copying this to fstab. Fix the formatting,
and remove any automount entries.

Check fdisk -l /dev/hda, and repeat for
all your disks. This will list available
partitions. Check and see if they are all
mounted. Mount any unmounted partions
on /mnt and see if you want them mounted.
If so add them to /etc/fstab.

Mount any additions with mount -a.