LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 11: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, 11:33 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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, 04: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, 09:20 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,352
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
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, 01: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, 03:41 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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


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 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 03:08 PM
Suse won't boot after fstab changes - fstab not editable baking-a-77 Linux - Newbie 10 06-02-2007 11:51 AM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 06:55 PM


All times are GMT -5. The time now is 08:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration