LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-21-2014, 02:18 PM   #1
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Rep: Reputation: 1
edited /etc/fstab now the desktop doesn't come up


I must have done something wrong when I edited /etc/fstab. I was trying to get a second hard drive to mount automatically so I added a line to /etc/fstab per instructions here: http://askubuntu.com/questions/99548...nal-hard-drive . Now my desktop won't come up.
 
Old 08-21-2014, 02:19 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
If an entry in fstab isn't marked noauto, it can hang the system. You need to make sure that your mount command works before you add it to fstab.

So, for now, boot into single user mode, and comment out the entry in fstab.
 
Old 08-21-2014, 02:27 PM   #3
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Original Poster
Rep: Reputation: 1
Thanks for the quick reply. How do I boot into single user mode?
 
Old 08-21-2014, 02:32 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,664

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
the instructions are different for grub 1 or 2

for 2
during the 3 sec countdown in the preboot ( select the kernel to boot into)
hit the " e" button

then use the down arrow key to navigate to the kernel line in the grub.conf that pops up
ad a blank space and a 1 to the end of the kernel line
and hit f10
 
Old 08-21-2014, 02:45 PM   #5
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Original Poster
Rep: Reputation: 1
so I have a choice at startup: openSuse 13.1 or Advanced Options for openSuse 13.1. I select openSuse 13.1 and then hit "e". I see black screen that says GNU GRUB version 2 and under that is what looks like a script or file with "setparams openSuse..." Is this the kernel line that I add a space and a 1 at the end? All the way at the end of this file?
 
Old 08-21-2014, 03:38 PM   #6
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Original Poster
Rep: Reputation: 1
This is starting to look like another thread. I'm using openSuse 13.1. GRUB doesn't present the menu list. There is a list of commands, one of which I can append "single" to the end and then F10 to boot but this isn't working either.
 
Old 08-21-2014, 10:44 PM   #7
Birdman48
Member
 
Registered: Aug 2008
Location: Southern Maryland
Distribution: ubuntu 14.04 LTS
Posts: 113

Original Poster
Rep: Reputation: 1
ok its fixed. just for the record the corrupted fstab was in sda2. navigating to /etc I then found it. You couldn't just go vi /etc/fstab.

Thanks for all the help!
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Printer doesn't print edited text in PDF files Linux.Blue472 Linux - Software 13 09-24-2013 10:24 PM
I edited /etc/fstab to practice rescue operation, but I am Stuck it is not mounting AnApproach2DigestLinux Linux - Newbie 2 12-06-2012 11:52 PM
[SOLVED] Edited crypttab and fstab, now system doesn't start. 1937 Linux - Newbie 3 05-04-2012 03:02 PM
just edited fstab and quick question cjae Linux - Newbie 1 08-12-2005 02:24 PM
I edited my fstab for ntfs, I can open the drive, but no files xephyr Linux - Newbie 7 10-26-2004 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:37 PM.

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