Re: How to add /home to fstab?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: James Dugger
Date:  
To: Main PLUG discussion list
Subject: Re: How to add /home to fstab?
Joe,

The UUID stands for Universal Unique IDentifier and is the new (preferred)
way in which the Linux kernel identifies resources such as drive partitions
etc. This is because device name assignments such as /dev/sd_ can change.

Ubuntu (and other distos) now create UUID assignments. To list the UUID
for your drive partitions simply type:

blkid

If you are using gedit you can cut and paste the results of the appropriate
partiion UUID into the fstab file.

Or at the command line you can append the information to the fstab file in
the following way:

sudo cp /etc/fstab /etc/fstab.backup (backup fstab file)
blkid (this will list the UUID's of each device name, check that /dev/sda6
lists)
sudo su (you must become root sudo alone wont work)
blkid /dev/sda6 >> /etc/fstab (this will append the UUID to the end of the
fstab file)
vim /etc/fstab (edit appended new line to add mount points, filesystem, and
options).
:wq (in vim to save file and exit)
mount -a (to check that the new mount point is fucntioning)
logout (if mount passes leave root user account)



On Sat, Jan 5, 2013 at 1:32 PM, Derek Trotter <>wrote:

> I don't know why Ubuntu uses those long text strings instead of
> /dev/whatever, but /dev/sda6 /home still works.
>
> On 01/05/2013 01:20 PM, wrote:
>
> What is the procedure to add my previous /home partition that was on
> /dev/sda6 (I think)
> to fstab to replace the /home directory that was installed on /dev/sda1
> as shown below during the new installation of kubuntu 12.10 that I just did?
>
> $ cat /etc/fstab
> # /etc/fstab: static file system information.
> # / was on /dev/sda1 during installation
> UUID=23163f08-bdf2-4303-bdd7-61cf267a2ade /               ext4
> errors=remount-ro 0       1
> # swap was on /dev/sda5 during installation
> UUID=c0c7f1be-ff0f-4f18-a86d-a98bd91d0e62 none            swap    sw
>        0       0

>
> $ df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> /dev/sda1       12396968 3375776   8391448  29% /
> udev              469488       4    469484   1% /dev
> tmpfs             192240     784    191456   1% /run
> none                5120       0      5120   0% /run/lock
> none              480592      80    480512   1% /run/shm
> none              102400       8    102392   1% /run/user

>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> --
> "I get my copy of the daily paper, look at the obituaries page, and if I’m not there, I carry on as usual."
>
> Patrick Moore
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




--
James
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss