We help IT Professionals succeed at work.
Get Started

How to edit fstab in ubuntu server after failed boot

5,315 Views
Last Modified: 2013-11-15
I am new to linux and setup an ubuntu 10.04 server for samba sharing. The initial 80gb disk was too small so I added a pc sata card, install a 1tb drive and powered on. All went well so I modified the fstab file to auto mount the drive (I got it working on the command line first). After the change, I rebooted and now it pauses with an error along the lines

fstab line 14 bad code...

I can't remember the error exactly but the problem is that I cannot boot to get in and edit it?

I tried the slax live cd but can't figure out how to mount the right disk/volume to get to the fstab file to fix it?

I would really appreciate some help, ta
Comment
Watch Question
Software Developer
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 5 Answers and 27 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE