Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2013, 02:43 AM   #1
Registered: Jan 2013
Distribution: CentOS, RHEL 6.4
Posts: 79

Rep: Reputation: Disabled
Unhappy Changes in FSTAB now unable to login.

Dear all,

I have created a new partition and saved it in FSTAB with wrong information. Now i rebooted the machine but it is displaying as in black screen
Give root password for maintenance
(or type ctrl-D to continue):

I have given the root password then it is showing as
bash: /usr/bin/id: No such file or directory
bash: [: =: unary operator expected
(Repair filesystem) 1 #

Now what i have to do i am unable to login and also i haven't took backup of FSTAB file..
Please help me to get out of this issue..
Old 03-03-2013, 03:24 AM   #2
Senior Member
Registered: Jan 2011
Distribution: /LFS/Centos6.3/Debian
Posts: 2,221
Blog Entries: 1

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336

You will have to use a live cd.
As root mount your root partition hen you can edit or change your fstab file.
Umount partition and reboot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu/AD/KRB5/LDAP/NIS able to use domain user login with putty, unable in gui login Nitroglycerine Linux - Server 0 06-28-2012 05:17 AM
unable to login any user through the console but users can login in GUI p kumar Linux - Server 1 04-19-2012 07:09 AM
Unable to Mount through /etc/fstab rajaniyer123 Linux - General 1 02-26-2012 06:26 AM
Unable to restore /etc/fstab ragatinavin Linux - Server 6 10-13-2011 03:21 PM
unable login via GUI but can login via Putty (command line) linuxandtsm Linux - Newbie 10 06-09-2011 03:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration