LinuxCOM

"fstab" Questo Sconosciuto!


 Non e’ infrequente apportare modifiche alle partizioni dei dischi del proprio PC, con la conseguenza che al boot se i parametri delle partizioni non sono adeguatamente descritti nella tabella delle partizioni, il sistema si rifiuti di montarle. E’ necessario quindi, apportare le dovute modifiche alla tabella delle partizioni che il sistema legge all’avvio. E’ necessaria un’azione preliminare per verificare gli UUID appropiati. Verificate con:ls -la /dev/disk/by-uuidtotale 0 drwxr-xr-x 2 root root 160 2010-05-13 21:05 . drwxr-xr-x 6 root root 120 2010-05-13 21:05 .. lrwxrwxrwx 1 root root 10 2010-05-13 19:05 092E2AA1EA262D2D -> ../../sdb5 lrwxrwxrwx 1 root root 10 2010-05-13 19:05 1bf3a198-49d5-451a-96a8-00427d675849 -> ../../sda5 lrwxrwxrwx 1 root root 10 2010-05-13 19:05 81318bc7-e7d1-449c-9cf2-4a584bee20b2 -> ../../sda2 lrwxrwxrwx 1 root root 10 2010-05-13 19:05 E4D44678D4464CCC -> ../../sdc5 lrwxrwxrwx 1 root root 10 2010-05-13 19:05 ea316383-af48-4e56-befb-5af165ca26c3 -> ../../sda3dopodiche’ leggendo il file fstab consudo gedit /etc/fstab# /etc/fstab: static file system information. # # Use ‘blkid -o value -s UUID’ 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). # # proc /proc proc defaults 0 0 # / was on /dev/sda3 during installation UUID=ea316383-af48-4e56-befb-5af165ca26c3 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID= 1bf3a198-49d5-451a-96a8-00427d675849 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 UUID=81318bc7-e7d1-449c-9cf2-4a584bee20b2 /media/sda2 ext4 defaults 0 0 UUID=092E2AA1EA262D2D /media/sdb5 ntfs-3g users 0 0 UUID=E4D44678D4464CCC /media/sdc5 ntfs-3g users 0 0apportate le modifiche, avendo cura che gli UUID siano identici a quelli effettivamente assegnati dal sistema.Al riavvio tutto tornera’ funzionante a dovere.