Oturum Açma Ekranı Gelmiyor (Ubuntu v12.04 Dizüstü Bilgisayar)

Başlatan DarkTooth, 09 Haziran 2012 - 11:13:18

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçi konuyu incelemekte.

if

@DarkTooth, alt satıra geçti ise komut işlemiş demektir. İster usb ister cd üzerinden devam edebilirsiniz.

DarkTooth


ubuntu@ubuntu:~$ sudo umount /dev/sda1
ubuntu@ubuntu:~$ sudo mount -t ext4 -o ro /dev/sda1 /mnt
ubuntu@ubuntu:~$ sudo find / -type d -iname '.Private' 2>/dev/null
/mnt/home/.ecryptfs/umbrella/.Private
ubuntu@ubuntu:~$ sudo ecryptfs-add-passphrase --fnek
Passphrase:
Inserted auth tok with sig [2af3eb8234da1502] into the user session keyring
Inserted auth tok with sig [e65535ab2e93533c] into the user session keyring
ubuntu@ubuntu:~$ sudo mkdir /home/umbrella
mkdir: cannot create directory `/home/umbrella': File exists
ubuntu@ubuntu:~$ sudo mount -t ecryptfs 2af3eb8234da1502 e65535ab2e93533c /home/umbrella
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
ubuntu@ubuntu:~$

7. adımda takıldım farklı çıktılar verdi. köşeli parantez içindekileri yan yana yazdım o doğrudur umarım.

if

@DarkTooth, şöyle yapalım: sudo mount -t ecryptfs /mnt/home/.ecryptfs/umbrella/.Private /home/umbrella

DarkTooth

#53
Ya ben bi hata yapmışım "kaynak" yerine köşeli parantezdeki kodları yazmıştım şimdi doğru çıktıyı yazdım.
Bir de
sudo mount -t ecryptfs /mnt/home/.ecryptfs/umbrella/.Private /home/umbrella
bu komutu yazmadım şu komutu yazdım çünkü hata benden kaynaklanıyordu.
sudo mount -t ecryptfs kaynak /home/umbrella
Ve şu aşamada takıldım:
ubuntu@ubuntu:~$ sudo umount /dev/sda1
ubuntu@ubuntu:~$ sudo mount -t ext4 -o ro /dev/sda1 /mnt
ubuntu@ubuntu:~$ sudo find / -type d -iname '.Private' 2>/dev/null
/mnt/home/.ecryptfs/umbrella/.Private
ubuntu@ubuntu:~$ sudo ecryptfs-add-passphrase --fnek
Passphrase:
Inserted auth tok with sig [bdfd5a752e5ed68b] into the user session keyring
Inserted auth tok with sig [43dc647890ad20c5] into the user session keyring
ubuntu@ubuntu:~$ sudo mkdir /home/umbrella
mkdir: cannot create directory `/home/umbrella': File exists
ubuntu@ubuntu:~$ sudo mount -t ecryptfs /mnt/home/.ecryptfs/umbrella/.Private /home/umbrella
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (loaded)
2) blowfish: blocksize = 16; min keysize = 16; max keysize = 56 (not loaded)
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
4) cast6: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
5) cast5: blocksize = 8; min keysize = 5; max keysize = 16 (not loaded)
Selection [aes]:

buraya ne yazacağım?

Bir de
sudo find / -type d -iname '.Private' 2>/dev/null
Bu komutun çıktısı biraz geç geliyor. Her yanlışımda terminali kapatıp komutları baştan yazdığım için biraz zaman alıyor. O nedenle cevaplarım gecikiyor.

if

@DarkTooth, 1'i seçin yani aes olanı. Her seferinde baştan başlamanıza gerek yok. En son nerede kaldıysanız oaradan devam edebilirsiniz.

DarkTooth

Köşeli parantezlerdeki kodları yan yana boşluk bırakarak mı yazacağım? Ben öyle yaptım ama yanlış oldu galiba.
Selection [16]: 16
Enable plaintext passthrough (y/n) [n]: n
Enable filename encryption (y/n) [n]: y
Filename Encryption Key (FNEK) Signature [bdfd5a752e5ed68b]: bdfd5a752e5ed68b 43dc647890ad20c5
Attempting to mount with the following options:
  ecryptfs_unlink_sigs
  ecryptfs_fnek_sig=bdfd5a752e5ed68b 43dc647890ad20c5
  ecryptfs_key_bytes=16
  ecryptfs_cipher=aes
  ecryptfs_sig=bdfd5a752e5ed68b
WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],
it looks like you have never mounted with this key
before. This could mean that you have typed your
passphrase wrong.

Would you like to proceed with the mount (yes/no)? :


Buldum tek tek yazmam gerekiyodu sanırım. 1sn.

if

@DarkTooth, sadece 43dc647890ad20c5 yazın. İkisini yazmayacaksınız.

DarkTooth

#57
ubuntu@ubuntu:~$ sudo mount -t ecryptfs /mnt/home/.ecryptfs/umbrella/.Private /home/umbrella
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (loaded)
2) blowfish: blocksize = 16; min keysize = 16; max keysize = 56 (not loaded)
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
4) cast6: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
5) cast5: blocksize = 8; min keysize = 5; max keysize = 16 (not loaded)
Selection [aes]: aes
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]: 16
Enable plaintext passthrough (y/n) [n]: n
Enable filename encryption (y/n) [n]: y
Filename Encryption Key (FNEK) Signature [bdfd5a752e5ed68b]: 43dc647890ad20c5
Attempting to mount with the following options:
  ecryptfs_unlink_sigs
  ecryptfs_fnek_sig=43dc647890ad20c5
  ecryptfs_key_bytes=16
  ecryptfs_cipher=aes
  ecryptfs_sig=bdfd5a752e5ed68b
WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],
it looks like you have never mounted with this key
before. This could mean that you have typed your
passphrase wrong.

Would you like to proceed with the mount (yes/no)? :

Yine bu çıktı.


Bu dosya isimlerini şifrelediğimden emin değilim. Özel bi ayar yapmadım ama şifrelemiş gibi
Enable filename encryption (y/n) [n]: y
y yazdım, o sorun olur mu?
Ubuntuyu kurduğumda başlangıçta kullanıcı adı ve parola oluşturdum, hepsi o kadar.

if

O zaman bdfd5a752e5ed68b yazmanız gerek sadece.

DarkTooth

Yine
passphrase wrong.

Would you like to proceed with the mount (yes/no)? :

diyor.

if


DarkTooth

Would you like to proceed with the mount (yes/no)? :

Would you like to append sig [bdfd5a752e5ed68b] to
[/root/.ecryptfs/sig-cache.txt]
in order to avoid this warning in the future (yes/no)? :

bu geldi

if


DarkTooth

#63
Successfully appended new sig to user sig cache file
Mounted eCryptfs
ubuntu@ubuntu:~$

12.04'ün olduğu partition (72gb'lık kısım) aygıtlar bölümünden kalktı.

Bitti mi?

if

@DarkTooth, cd /home/umbrella
ls
çıktısını alabilir miyim?

DarkTooth

ubuntu@ubuntu:~$ cd /home/umbrella
bash: cd: /home/umbrella: Permission denied
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
ubuntu@ubuntu:~$

İkisini birden kopyalayıp yapıştırdım böyle bi çıktı geldi.

if

@DarkTooth, Public adlı dizinde olması gerek verileriniz. Çıktıda görünüyor. Dosya yöneticisini açtığınızda Public dizinini göreceksiniz.

DarkTooth

Ben canlı cd'den giiriyorum yeniden başlatıp 11.10 olan kısma geçeyim mi? 12.04 olan bölüm şu an görünmüyor aygıtlarda.

if

@DarkTooth, yok geçmeyin. Soldaki panelde dosyalara ulaşmak için bulunan uygulama var ya Nautilus, dosya yöneticisi. Onu açınca ilk çıkan ekranda Public adlı bir dosya görüyor musunuz? sudo su
cd /home/umbrella/Public
ls

DarkTooth

Nautilus yazan yok ama Home yazan uygulamayı diyorsanız orda Public klasörü var ama içi boş.

sudo su
root@ubuntu:/home/ubuntu#
root@ubuntu:/home/ubuntu# cd /home/umbrella/Public
bash: cd: /home/umbrella/Public: No such file or directory
root@ubuntu:/home/ubuntu#
root@ubuntu:/home/ubuntu# ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
root@ubuntu:/home/ubuntu#

if

12.04'ün bağlı bulunduğu bölüm neden ayrıldı ki...Anlayamadım.

@DarkTooth, 12.04'ün yüklü olduğu bölüm dosya yöneticisinin solunda bulunan aygıtlarda da mı görünmüyor?

mount komutu ne çıktı veriyor?

DarkTooth

Alıntı yapılan: DarkTooth - 11 Haziran 2012 - 02:30:51
Successfully appended new sig to user sig cache file
Mounted eCryptfs
ubuntu@ubuntu:~$

12.04'ün olduğu partition (72gb'lık kısım) aygıtlar bölümünden kalktı.

Bitti mi?
bu aşamada belirtmiştim.
root@ubuntu:/home/ubuntu# mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt type ext4 (ro,commit=0)
/mnt/home/.ecryptfs/umbrella/.Private on /home/umbrella type ecryptfs (rw,ecryptfs_sig=bdfd5a752e5ed68b,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_fnek_sig=bdfd5a752e5ed68b,ecryptfs_unlink_sigs)
/dev/sda6 on /media/1c6d53d6-b614-48d5-9013-8e98c27cfe44 type ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sr0 on /media/Ubuntu 11.10 i386 type iso9660 (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)


root@ubuntu:/home/ubuntu#
Ayrıca bi önceki iletide ekleme yaptım, diğer  çıktıyı koydum.

if

Belirttinizde ben o davranışın nedenini anlamamıştım, kendi kendime söyleniyordum.

Bölümümüz bağlı görünüyor: /dev/sda1 on /mnt type ext4 (ro,commit=0)
/mnt/home/.ecryptfs/umbrella/.Private on /home/umbrella type ecryptfs


cd /home/ubuntu/Public
ls
cd /mnt/home/umbrella
ls
su umbrella
çıktılarına bakayım.

DarkTooth

bilgisayar donmuş yeniden başlatayım mı?
sadece fareyi oynatabiliyorum.

if

@DarkTooth, yeniden başlatın. USB'yi kullanın bu sefer. Daha kolay bir yöntem buldum. Aşağıda adımları yazılı. Onu da deneyebilirsiniz. Bu uykusuzlukta okuduğumu pek anlayamaz oldum.

Bir başka yöntem: Ubuntu canlı cd'yi açın; dosya yöneticisini açın; 12.04'ün kurulu olduğu alana tıklayıp bağlayın; sudo ecryptfs-recover-private --rw komutunu yürütün; sizden ev dizinini şifrelerken kullandığınız şifreyi isteyecektir, girin; şifrelenmiş ev dinini /tmp/ecryptfs.XXXXXXXX şeklinde bağlayacaktır.