# /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
/dev/sda1 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda2 during installation
UUID=816c484e-f601-4f84-8696-848f95d78a3e /home ext4 defaults 0 2
# $HOME/Documentos was on /dev/sdb1 during installation
UUID=ed90e7f8-527b-4714-832c-5b3590e03ecf /home/tracker/Documentos ext3 defaults 0 0
# swap was on /dev/sda3 during installation
UUID=c5b35394-2092-48c3-a9f6-f93731443046 none swap sw 0 0
Y reemplazarlo por esto
# /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=f93f9172-4b0c-4289-8a12-5e6fb4a1289c / ext4 errors=remount-ro 0 1
# /home was on /dev/sda2 during installation
UUID=816c484e-f601-4f84-8696-848f95d78a3e /home ext4 defaults 0 2
# $HOME/Documentos was on /dev/sdb1 during installation
UUID=ed90e7f8-527b-4714-832c-5b3590e03ecf /home/tracker/Documentos ext3 defaults 0 0
# swap was on /dev/sda3 during installation
UUID=c5b35394-2092-48c3-a9f6-f93731443046 none swap sw 0 0
y para saber cual es la UUID de disco lo hacemos con los siguientes comandos
#fdisk -l ### con este comando vemos las particiones asi sabremos donde esta montado el fichero raiz de nuestro SO###
Disco /dev/sda: 80.0 GB, 80026361856 bytes
255 cabezas, 63 sectores/pista, 9729 cilindros, 156301488 sectores en total
Unidades = sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
Tamaño E/S (mínimo/óptimo): 512 bytes / 512 bytes
Identificador del disco: 0x0002b4cf
Dispositivo Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 2048 43055103 21526528 83 Linux
/dev/sda2 43055104 152102911 54523904 83 Linux
/dev/sda3 152102912 156301311 2099200 82 Linux swap / Solaris
Disco /dev/sdb: 500.1 GB, 500107862016 bytes
255 cabezas, 63 sectores/pista, 60801 cilindros, 976773168 sectores en total
Unidades = sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
Tamaño E/S (mínimo/óptimo): 512 bytes / 512 bytes
Identificador del disco: 0x00037990
Dispositivo Inicio Comienzo Fin Bloques Id Sistema
/dev/sdb1 2048 976773119 488385536 83 Linux
# ls -l /dev/disk/by-uuid/ ###con este vemos el UUID de los discos###
total 0
lrwxrwxrwx 1 root root 10 2012-03-12 11:44 816c484e-f601-4f84-8696-848f95d78a3e -> ../../sda2
lrwxrwxrwx 1 root root 10 2012-03-12 11:44 c5b35394-2092-48c3-a9f6-f93731443046 -> ../../sda3
lrwxrwxrwx 1 root root 10 2012-03-12 11:44 ed90e7f8-527b-4714-832c-5b3590e03ecf -> ../../sdb1
lrwxrwxrwx 1 root root 10 2012-03-12 11:44 f93f9172-4b0c-4289-8a12-5e6fb4a1289c -> ../../sda1
Bueno espero que le sirva lo hice solo porque cuando busque en la web no encontré nada.
..::Tracker::..
No hay comentarios:
Publicar un comentario