View Single Post
  #44 (permalink)  
Old 9th March, 2013, 02:29 AM
ThunderRd's Avatar
ThunderRd ThunderRd is offline
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

Dan:

Open a terminal and su to root.

First:
Code:
rm -R /etc/fstab
You might get an error message , you can ignore it. Somehow, you created a folder named fstab, instead of a file, so we should remove it.

Then:
Code:
gedit /etc/fstab
This should open gedit with an empty file called /etc/fstab, which we will now create.

Then paste this text into the empty file:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=09a6e84f-7267-4640-9d9e-a746a95e5507 / ext4 errors=remount-ro,noatime,nodiratime,discard 0 1
# swap was on /dev/sda5 during installation
UUID=c4f836ea-24a4-4254-a852-37feb4531e33 none swap sw 0 0
/dev/sr0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
Save it, and exit gedit.

Then:
Code:
exit
This will exit root, and make you a regular user again.

Then, to make sure all is well:
Code:
ls -la /etc
If you see fstab and fstab.old in the output [you should], then:

Code:
gedit /etc/fstab
If you see the text we pasted, close gedit and reboot.
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com

Last edited by ThunderRd; 9th March, 2013 at 12:00 PM.
Reply With Quote