LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-24-2014, 10:16 PM   #1
mahabalesh
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Rep: Reputation: 0
Fstab


Hi,
I have started Linux,
can somebody help me in explaining fstab.
I have studied but just want to know more.

Thanks
Mahabalesh
 
Old 08-24-2014, 10:33 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The link below gives an explanation of fstab and what the different fields are for:

http://www.debianhelp.co.uk/fstab.htm
 
Old 08-28-2014, 03:46 PM   #3
andrew.sharp3
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Rep: Reputation: 0
Instead of using /dev/sd* to label partitions, many modern linuxes use UUID=9efdfa59-d05a-49bf-a158-a92de1d56f24 and such to identify drives, which means you need to note which partition does which. You can overwrite the UUID= information with /dev/sda5 or whatever for clarity and it should still work. This is a handy tip when a computer goes into administration mode on boot after you have been playing with your hard disks.
Use blkid /dev/sda* as root to list all of your UUID information for your first hard disk if you want to correct the UUID number.
 
Old 08-28-2014, 08:20 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
This is an excellent tutorial on using UUID in /etc/fstab.

http://www.cyberciti.biz/faq/linux-f...-update-fstab/

I would suggest you start by learning how to configure fstab, then move on to UUID.
 
Old 09-02-2014, 12:03 PM   #5
mahabalesh
LQ Newbie
 
Registered: Sep 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks.. it helped me lot..
and can anybody help me with how to delete partition ?
 
Old 09-02-2014, 02:41 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Some Linux distributions will include GParted or another disk partitioner. You haven't indicated which of the hundreds of different distributions you are using so there is no way for us to know if you have it. The link below has a detailed tutorial on using GParted and other partitioners are similar.

http://www.dedoimedo.com/computers/gparted.html
 
  


Reply



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
\vi/etc/fstab works fine . vi /etc/fstab throws bash command not found in Rescue mode jsaravana87 Linux - Server 1 05-13-2013 02:08 PM
Suse won't boot after fstab changes - fstab not editable baking-a-77 Linux - Newbie 10 06-02-2007 10:51 AM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

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