Ubuntu Installation :: Can't Find The Command To Recover The Passkey?
Jul 21, 2010
I have encrypted my home directory during a fresh install, after I booted up for the first time is asked me to write down my /home passkey paraphrase for emergency recovery. I chose to do it later. Now I cant find the command to recover the passkey. Does anyone know how to do this?
View 3 Replies
ADVERTISEMENT
Apr 1, 2010
I created a key for an ssl site with a passphrase. Worked really well and enjoyed doing it. I then shut down the lpatop and drove back to my parents for easter...
Now Fedora won't fully boot, and I'm just have the line that creeps along the bootom. I've tried a few things, but not having any joy. I obviously need to enter this passphrase, but how should I do this?
Do I go out any get some CD's to make a boot disk? Or is there a way to disable the graphical boot options from grub?
View 1 Replies
View Related
Aug 31, 2010
I rsync the filesystem where I have my server to another HD. Now, when I try to boot I'm dropped at initramfs with an error. It looks like it's still looking for the root in the previous HD even tough I already changed /etc/fstab. It says it can't find the device with a certain UUID, and that UUID is from the previous HD.
Here's the full details: I'm running Ubuntu server 10.04 It has 2 hard drives. Every night it backups one to another with the command
Code:
rsync --archive --one-file-system --hard-links --numeric-ids --delete
I moved the HD where I have the backup to another machine and rsynced them with the same command I then changed /etc/fstab in the new machine. I also installed Grub on it When I boot in the new machine I get a error about not finding root. It says that a device is not present. It says the UUID of the device is looking for, and it's the UUID of the first HD.
I thought I only had to change /et/fstab but seems I am wrong.
View 5 Replies
View Related
Jul 9, 2010
How to recover a removed file under linux
Is there any free undelete software for the Mac?
I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.
Is there any way to recover it?
View 6 Replies
View Related
Apr 5, 2009
Bash shell could not find "kfontview" command, although kdebase-4.2.1-2.fc10.i386 already installed?
View 2 Replies
View Related
May 25, 2010
I wiped out 60% of my VirtualBox .vdi files on one of my partions. The file sizes ranged from 3gb to 9gb files. (I did have some backups but 4 months ago). Needless to say I'll be backing my files up more often (especially my Virtual Image .vdi files). So here are the steps...: [ Look, I know it seems like allot of steps, but its worth it in the end!!]
(By the way, these are all ext3 filesystems, I would imagine you could recover fat32 [windows} type filesystems too, but I just did this under Linux filesystems) 1--> If you've found yourself deleted any files, try to unmount the partition. ( In my case it was an external 2 1/2 hard drive, command used to unmount is sudo umount /dev/sda3)
1b--> If you only have one partition, then I'd suggest shutting down your computer and putting a Live CD in it (preferably the Ubuntu Live CD).
2--> Whether 1 or 1b applies to you, install ext3grep from Synaptic or any package manager. (if you had to reboot via a live CD, make sure you unmount the partition that has the deleted files.(example umount /dev/sda1 or in my case it was umount /dev/sda3). If you're on the LiveCD of Ubuntu, I believe it will let you install the ext3grep package using Synaptic Package manager and it will put it in RAM under the Live Desktop Session.
3--> Now here's the important part before you proceed any further. If the partition that has the deleted files is taking up 30gb (yes 30gb used space), then you have to mount an existing partition GREATER than 30gb ***FREE*** SPACE. I happened to have another partition /media/sda7 already mounted that had 50 gb free.
So at this point, you must go to any directory under your (recovery partition, i'm referring to my 50gb partition /media/sda7). To do this, run the command cd /media/sda7, now you're in your (recovery partition). You can make a new directory if you want, or just use any existing directory on the /media/sda7 partition. (I made a directory something like mkdir ./Yikes ) So I get into the directory by cd /media/sda7/Yikes then run the following command....:
ext3grep --restore-all /dev/sda3
4--> ***Keep in mind, you just ran that command from the /media/sda7/Yikes directory on your recovery partition. ***This will create a folder called "RESTORED_FILES" under/in the Yikes Directory.*** The ext3grep command you just submitted will try to recover every single file on that partition that has the deleted files (i.e. /dev/sda3). There is a way to restore single files and their paths, but I got frustrated and just did a full restore.
5--> Depending on the partition size and number of files, it could take 30 minutes to 2 hours or more before you start to see messages in the terminal screen saying "Restored file... Abc.txt or sam.jpg". Let it finish!!! At first you will see it saying "Group 1, Group 2 and crazy characters going across the screen, that's normal." You know it's begining the actual restore process when you start to see "Restored file...".
6--> At this point you can open a DIFFERENT terminal screen and do cd /media/sda7/Yikes/RESTORED_FILES to see the files being restored under the various directories. This does work because I was able to restore at least 25gb worth of files. Again, file sizes ranged from 3gb to 9gb!!
7--> Final step when the 1st terminal screen is done restoring the files, you can either open them up from the /media/sda7/Yikes/RESTORED_FILES directory to check them out, or you can copy them back to where they were deleted before. BUT I WOULD SAY TO MAKE A BACKUP OF THE RESTORED FILES, or keep the restored files in the /media/sda7 partition.
-->Again, I did a "ext3grep --restore-all /dev/sda3" command from the partition that had plenty of free space (i.e. 50gb) to restore the 30 gb worth of deleted files (and that ext3grep --restore-all /dev/sda3 command was run in the following directory /media/sda7/Yikes ).
-->Remember to unmount the /dev/sda3 partition (i.e. the partition that has the deleted files). DO NOT MOUNT /devs/sda3 when running the ext3grep --restore-all command. The ext3grep documentation states you don't want to write anything to that partition because you run the risk of writing over files or directories that could be recovered.
-->This ext3grep utility saved me Big Time!! 4 to 5 months of work restored because of this utility. You can get it from Synaptic Package Manger searching for ext3grep.
View 6 Replies
View Related
Feb 27, 2010
i accidently hit this command inside my /var/www folder. im screwed big time.I need to recover my files back. is there any chance ?
View 1 Replies
View Related
Oct 17, 2009
I have just accidently deleted /usr/lib as root, how do I restore it from the trash can from command line? Seeing as how no programs will now run. I can't seem to find /root/.Trash, no such folder seems to exist ,or did I just royally screw myself?
Edit:
First off where is the Trash folder for root in Fedora 11 I have googled and looked everywhere I can't get a straight answer. It is not in /root/.Trash for one.
View 2 Replies
View Related
Oct 4, 2010
I had written a source code of C++ and complied it with the same name using the following command line.For example: c++ source-code.cpp -o source-code.cpp.Now my source code has been replaced by the executable program.Is there any way to retrieve my source-code.
View 9 Replies
View Related
Oct 4, 2010
Today I accidentally removed my home directory which contains no. of other directories having my work done in last 3 years. I used the command rm -rf * . I looked for the problem in the google got some links pertaining to my problem, but got no solution. One among these links is: [URL]. Can I get back my lost data (so many directories in my home)
View 6 Replies
View Related
May 7, 2010
I have a server x86 architecture and my problem is lost my username & password. Hope anyone can help about this matter as i need to log in to the server for maintenance purpose.
View 1 Replies
View Related
Sep 7, 2010
I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
more /etc/inet/file.example1
182.23.2.4
255.255.0.0
10.10.1.1
View 1 Replies
View Related
Sep 11, 2009
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;
View 10 Replies
View Related
Jul 15, 2011
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
View 2 Replies
View Related
Mar 19, 2011
want to know if Ubuntu provides a command to search for a command having a specific word.e.g.If I know a command contains editor as a substring but don't know exactly what the command is,then is there a way to find that command or the list of commands having editor as a substring.
View 1 Replies
View Related
Aug 9, 2011
The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing
View 4 Replies
View Related
Jan 25, 2009
I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
View 1 Replies
View Related
Aug 3, 2010
am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
View 14 Replies
View Related
Jul 30, 2010
Is there any way to find the core files with out using the FIND command?
View 1 Replies
View Related
Nov 24, 2010
I installed Ubuntu 10.10 alongside my Windows 7 installation. The installation was successful, but, now when I try to boot Windows nothing happens (apart from an indefinitely blinking '_'). I tried to do startup repair from my Windows 7 DVD but it is not detecting the hard disk. When I tried to run chkdisk /f from the command prompt it said that the disk is write protected. Later, on using diskpart and list volume the only volume detected is the CD/DVD ROM.
The initial GRUB window points to /dev/sda2 for Windows 7. The Volumes snapshot from Disk Utility is attached!Any idea as to how I can recover Windows 7?
View 9 Replies
View Related
Oct 17, 2010
so I just installed Ubuntu 10.10 a couple of days ago and used my whole hard drive.Thing is, I decided that although I loved Ubuntu, I stll want to have dual-boot for some cases.. But now that the disks filesystem is not NTFS, Windows cannot regognise the disk as installable and cannot convert the filesystem. Gosh, Windows is a piece of junk, but I still need them for some occasions.
View 1 Replies
View Related
Oct 23, 2010
I have tried many methods but still didn't succeed in rebooting Win Vista (blank page after selecting it in boot menu). The main problems were that GRUB was installed also on Windows partition, and Win partition appears as FAT16 and not NTFS Here is the output of boot_info_script, I would say that everything seems OK.
[Code]....
View 9 Replies
View Related
Jan 5, 2011
I installed a bunch of updates on one of my 10.04 systems before the holidays and then shutdown. Upon my return the initial boot greeted me with the "low resolution graphics" dialog and no functional mouse or keyboard. I dual booted to 8.04 and replaced /etc/X11/xorg.conf with the contents of the xorg.conf.failsafe in the same directory and rebooted. Got the 800x600 VESA Gnome desktop but still no mouse or keyboard. I tried booting with a different brand mouse (was MS, tried Logitech trackball) but still no good. I have to press the reset button to reboot
It is not a hardware issue as mouse, keyboard and 1920x1200 graphics all work fine when I boot 8.04, 6.06 or Windows 2000. None of the four 10.04 kernels listed in my boot menu makes any difference.
View 3 Replies
View Related
Jan 25, 2011
I installed Windows after installing Ubuntu. But Ubuntu is still intact in its partition.
I'm trying to run the Ubuntu LiveCD to recover grub, but the LiveCD no longer works. It stops the boot process and does not load completely.
I can not run Ubuntu in live mode to recover grub.
Is there any way to recover the grub/grub2 without the LiveCD?
View 2 Replies
View Related
Nov 6, 2010
How to recover grub2 after windows7 installation ?
View 9 Replies
View Related
Sep 8, 2010
I want to scan a particular directory recursively and run a particular command with each file as input. For this I am using "find /dir/path". I dont want to write any long script containing loop on the output of "find". I want a single command which will allow me to run a command on each file of the "find" command output.
View 3 Replies
View Related
Jul 26, 2010
before i proceed,I'll like to say that I'm a complete newbie, but enjoying my time with Ubuntu.
Recently, due to hard disk failure, some of the System files got corrupted, I have no idea to which files, but booting Ubuntu from the latest kernel is not working, instead I have to select the previous version from the grub screen.
How to recover these files? Is there a way by which Ubuntu automatically scans and repairs the system files.
View 2 Replies
View Related
Sep 19, 2010
I just installed Ubuntu in full installation. But then my Windows 7 file went bye-bye. I tried to see if everything were really erased from my drive. But then it showed that I'm still using 40G out of 250G of my disk. Why is it like that? Can those file still be recovered? My Windows 7 loader was actually erased. Can I still install Windows 7 even if Ubuntu already used the whole drive? And also, how can I delete partitions to make my HDD turn into a whole and single Drive before I install Windows 7?
View 1 Replies
View Related
Jan 6, 2011
I downloaded Ubuntu 10.10. Initially, I had the problem on the "Who are You" screen and was told that lower case letters were needed. Long story short, I was given a work-around since there was a partition on my hard drive. Ubuntu installed correctly - works just fine. However, upon booting up, if I choose Windows 7, it takes me to Recovery and wants to reinstall factory specs. What's the best way to resolve this? Is going back to factory specs and then reinstalling Ubuntu a viable option? This is brand new computer and I've downloaded nothing - wanted to make sure everything was working fine before I did that - so I would have no problem with doing that.
View 9 Replies
View Related
Apr 29, 2011
So I glossed over the fact that installing Gnome3 from the PPA would break Unity for some reason, and now it's broken, and I can't even check it out. Is there a way to recover it and/or remove Gnome3, or is it a case of being out of luck unless I do a full reinstall?
View 4 Replies
View Related