Pagina 1 di 1

Encrypted private directory is not setup properly

Inviato: giovedì 14 giugno 2012, 10:51
da tmaius
ho rimensionato la partizione su cui era istallata ubuntu lasciando 5 GB in più del minimo
ma ora ubuntu non mi parte più
posso fare qualcosa?

Re: gparted live

Inviato: giovedì 14 giugno 2012, 12:03
da ronin117
ciao
quando modifichi la partizione di Ubuntu devi aggiornarne il relativo uuid (è una stringa alfanumerica che contraddistingue univocamente la partizione e che cambia ad ogni ridimensionamento) all'interno del file /etc/fstab pena la mancata partenza del sistema. Avvia da livecd, apri un terminale e posta il riultato di questi comandi

Codice: Seleziona tutto

sudo blkid

Codice: Seleziona tutto

cat /etc/fstab

Re: gparted live

Inviato: giovedì 14 giugno 2012, 12:52
da tmaius
ubuntu@ubuntu:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="f009afa0-8cc7-441d-b303-0b4d1ce429e4" TYPE="ext4"
/dev/sda3: LABEL="simo7" UUID="513E50EE46192B4A" TYPE="ntfs"
/dev/sdb1: LABEL="simo2" UUID="53AB-E584" TYPE="vfat"

-----
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0


nell-attesa di una risposta ho ripristinato,come letto in un altro post, il grub ma niente
domanda 2 se voglio una partizione visibile sia da windows che da ubuntu quale conviene?
ho pure provato dal live ad entrare nelle mie cartelle ubuntu[per salvare i dati e formattare] ma non mi fa entrare

Re: gparted live

Inviato: giovedì 14 giugno 2012, 12:54
da tmaius
quale mi conviene nel senso del formato
come si vede io ho impostato ntfs [simo7]...e' la migliore?

Re: gparted live

Inviato: giovedì 14 giugno 2012, 14:39
da tmaius
forse avrei dovuto scrivere fstab di dove e' istallato ubuntu
# /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=f009afa0-8cc7-441d-b303-0b4d1ce429e4 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#UUID=2a1bdd9a-a0f6-41c0-8835-4f65265b071d none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0

tmpfs /home/simo/temp_d tmpfs nodev,nosuid 0 0

Re: gparted live

Inviato: giovedì 14 giugno 2012, 14:43
da tmaius
ho letto un po in giro

se scrivo:
UUID=f009afa0-8cc7-441d-b303-0b4d1ce429e4 /home ext4 defaults,noatime,data=writeback 0 2

va?

Re: gparted live

Inviato: giovedì 14 giugno 2012, 15:32
da tmaius
ora il mio tentativo e' di entrare nel mio desktop e salvare i miei file

ho modificato un po di permessi,sono entrato nel mio utente e mi trovo questi file:
Access-Your-Private-Data.desktop README.txt

readme dice:
THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on:
"Access Your Private Data"

or

From the command line, run:
ecryptfs-mount-private


facendo dal terminale mi dice
Encrypted private directory is not setup properly
la cartelle non mi apre niente
ho cercato in giro ma niente
aiutooooooooo

Re: Encrypted private directory is not setup properly

Inviato: giovedì 14 giugno 2012, 23:25
da ronin117
hai la home criptata a quanto vedo. Prova a vedere qui
http://goshawknest.wordpress.com/2010/0 ... in-ubuntu/
se hai problemi chiedi pure

Re: Encrypted private directory is not setup properly

Inviato: giovedì 14 giugno 2012, 23:27
da ronin117
visto che ci siamo posta anche il risultato di

Codice: Seleziona tutto

sudo fdisk -l

Re: Encrypted private directory is not setup properly

Inviato: sabato 16 giugno 2012, 1:34
da tmaius
ti prego dimmi dove sbaglio

Codice: Seleziona tutto

ubuntu@ubuntu:/$ ls
bin    dev   initrd.img  media	proc  run      srv  usr
boot   etc   lib	 mnt	rofs  sbin     sys  var
cdrom  home  lib64	 opt	root  selinux  tmp  vmlinuz
ubuntu@ubuntu:/$ cd home/
ubuntu@ubuntu:/home$ ls
bin    dev   initrd.img  lib64	     mnt   root  selinux  sys  var
boot   etc   lib	 lost+found  opt   run	 simo	  tmp  vmlinuz
cdrom  home  lib32	 media	     proc  sbin  srv	  usr
ubuntu@ubuntu:/home$ cd home/
ubuntu@ubuntu:/home/home$ ls
simo
ubuntu@ubuntu:/home/home$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000abfd5

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   567504895   283751424   83  Linux
/dev/sda2       968667134   976771071     4051969    5  Extended
/dev/sda3       567504896   968665087   200580096    7  HPFS/NTFS/exFAT
/dev/sda5       968667136   976771071     4051968   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 1008 MB, 1008762880 bytes
32 heads, 61 sectors/track, 1009 cylinders, total 1970240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          61     1969567      984753+   c  W95 FAT32 (LBA)
ubuntu@ubuntu:/home/home$ sudo mount /dev/sda1 /home/home
ubuntu@ubuntu:/home/home$ ls
simo
ubuntu@ubuntu:/home/home$ cd simo/
ubuntu@ubuntu:/home/home/simo$ ls
examples.desktop
ubuntu@ubuntu:/home/home/simo$ cd ..
ubuntu@ubuntu:/home/home$ ls
bin    dev   initrd.img  lib64	     mnt   root  selinux  sys  var
boot   etc   lib	 lost+found  opt   run	 simo	  tmp  vmlinuz
cdrom  home  lib32	 media	     proc  sbin  srv	  usr
ubuntu@ubuntu:/home/home$ cd home/
ubuntu@ubuntu:/home/home/home$ ls
simo
ubuntu@ubuntu:/home/home/home$ cd simo/
ubuntu@ubuntu:/home/home/home/simo$ ls
Access-Your-Private-Data.desktop  README.txt
ubuntu@ubuntu:/home/home/home/simo$  ecryptfs-mount-private
ERROR: Encrypted private directory is not setup properly
intanto avevo creato un utente amministratore simo

non sono perche' ci sono tutte queste home...le altre volte non me lo faceva
grazie

Re: Encrypted private directory is not setup properly

Inviato: sabato 16 giugno 2012, 1:57
da tmaius
quelli di boot repair mi dicono che devo liberare spazio(anche se con gparted credo di aver lasciato 12 gb)

cmq se riuscissi a trovare il modo di eliminare file...quali posso togliere senza fare danni e senza eliminare i miei dati...o cmq quelli di minore importanza?