
我的 Windows 分割區感染了病毒,因此無法在 Windows 中啟動。我正在嘗試透過在雙重開機系統上引導 Ubuntu 來從 Windows 分割區還原一些文件。我成功地從桌面輕鬆恢復了一些文件。但是,我無法從圖片資料夾中取得文件。這是我看到的(阻止用戶名後):
root@ubuntu:~# ls -alth /host/Users/XXXXX/Documents/My*
lrwxrwxrwx 2 root root 116 2010-12-06 09:09 /host/Users/XXXXX/Documents/My Videos -> /root/Users/XXXXX/Videos
lrwxrwxrwx 2 root root 124 2010-12-06 09:09 /host/Users/XXXXX/Documents/My Pictures -> /root/Users/XXXXX/Pictures
lrwxrwxrwx 2 root root 112 2010-12-06 09:09 /host/Users/XXXXX/Documents/My Music -> /root/Users/XXXX/Music
root@ubuntu:~# cd /host/Users/XXXXX/Documents/My\ Pictures
bash: cd: /host/Users/XXXXX/Documents/My Pictures: No such file or directory
root@ubuntu:~# cd /root
root@ubuntu:~# ls
root@ubuntu:~#
如果我嘗試透過在 Ubuntu 的位置窗口中單擊它來打開它,它會顯示一個窗口,顯示
「我的圖片」連結已損壞。將其移至垃圾箱?
無法使用此鏈接,因為其目標“/root/Users/XXXXX/Pictures”不存在。
我如何存取我的照片?
更新:
我有一個五筆安裝。此外,如果我查看/host/Users/XXXX/Pictures
:
root@ubuntu:~# cd /host/Users/XXXXX/Pictures/
root@ubuntu:/host/Users/XXXXX/Pictures# ls -alth
total 29K
drwxrwxrwx 1 root root 28K 2011-08-13 13:58 ..
drwxrwxrwx 1 root root 0 2011-05-01 16:07 .
-rwxrwxrwx 1 root root 504 2011-05-01 16:07 desktop.ini
root@ubuntu:/host/Users/XXXXXPictures# cat desktop.ini
��
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconResource=%SystemRoot%\system32\imageres.dll,-113
IconFile=%SystemRoot%\system32\shell32.dll IconIndex=-236
答案1
連結應指向
/host/Users/XXXXX/Videos
/host/Users/XXXXX/Pictures
/host/Users/XXXX/Music
所以看看那裡。
另外,你有一個 WUBI 安裝,你應該要提到這一點。
編輯
如果您在那裡找不到您的圖片,您可以使用以下命令查找它們
find /media/data -iname '*.jpg' | sed 's|/[^/]*$||' | sort | uniq -c | sort -nr | less
這將列出包含圖片的目錄,並按包含的圖片數量排序。
另外,您應該檢查是否還有其他分割區可以存放您的圖片。首先,您可以sudo fdisk -l
查看磁碟和分割區。
答案2
我建議你使用Ubuntu 直播光碟。五筆可能沒有足夠的存取權限。
如果您使用 Live 光碟啟動,請輕鬆點擊X GB disk
GNOME 中的地點菜單。這將安裝您的硬碟。(如果顯示任何錯誤訊息,請在此處評論該訊息!)
然後,按Alt+ F2,輸入gksudo nautilus /media
。如果您在安裝過程中沒有收到錯誤訊息,則您的硬碟必須在那裡。
F3如果您想顯示 2 面瀏覽,可以選擇按。
按一下 中的資料夾/media
,然後將資料複製到 USB 裝置或 LAN 中的其他位置。
我希望,它有幫助。評論,如果您有任何疑問。