Author Topic: Linux Machine Start Issues (FASTAB)  (Read 992 times)

0 Members and 1 Guest are viewing this topic.

Offline osama.mansoor

  • Jr. Member
  • **
  • Posts: 28
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Linux Machine Start Issues (FASTAB)
« on: June 02, 2016, 11:18:06 am »
Hi All,

I am using Oracle Linux 6.5. Due to BAD ENTRIES in FSTAB , when machine is trying to start FSTAB error occurred on startup and Linux machine is unable to login.

its ask me for ROOT password to enter in maintenance mode so when i enter in FSTAB it does not allow me to WRITE or make any changes.

Emegra

  • Guest
Re: Linux Machine Start Issues (FASTAB)
« Reply #1 on: June 02, 2016, 09:42:37 pm »
Hi osama.mansoor

when you enter Maintenence mode

Code: [Select]
sudo nano /etc/fstab

You should then be able to edit your fstab file



Graeme

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16886
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Linux Machine Start Issues (FASTAB)
« Reply #2 on: June 02, 2016, 09:52:44 pm »
If it's starting in recovery mode, you'll need to remount the partition containing fstab read/write .. it will likely have been mounted in read only mode

let's assume fstab is a suddirectory of the / partition .. try running
Code: [Select]
mount -o rw,remount /
now see if it's mounted read/write
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal