Ubuntu :: Accidentally Shift-deleted A 6gb Avi File A Minute Ago?
May 12, 2010i just accidentally shift-deleted a 6gb avi file a minute ago. is it possible to recover it and how? im using lucid and ext4.
View 1 Repliesi just accidentally shift-deleted a 6gb avi file a minute ago. is it possible to recover it and how? im using lucid and ext4.
View 1 RepliesI need to know where the /usr/bin/X11 link goes to. If someone can post the ls of that directory that would be just as helpful. It is currently referring to /usr/bin/ which means its a recursive link and I do not think that is correct. A speedy response would be nice
I wish to have this resolved before I need to reboot.
I have accidentally deleted the contents of sudoers file (while trying to add a line through CLI).Anyway, I'm still logged in and can please someone paste me the default contents of the sudoers file on Lucid Lynx
View 3 Replies View RelatedI've a little experience about Ubuntu. I'm using Ubuntu with Windows 7 as dual boot for 1 year. Three days ago I decided to upgrade my Ubuntu version to 10.10. I've created a live version of installer on my USB stick and I've successfully logged into live version.After some time I clicked install and accidentally I gave a command like install Ubuntu to all hard drive. Installer have given error and denied to continue but it has removed the partitioning records from hard drive. So as you guessed everything within hard drive have got unreadable everything until here is the story part. I've written in order to inform the reader.
After a few hours of searching around, I've discovered a miracle called Testdisk. Following the instructions carefully I've managed to return partitions except the System Allocated space of Windows 7 which exists on the starting 100MB of memory. But I'm able to see my files within C: drive of Windows 7Then my problem has became logging into Windows. Somehow I skip following the instructions on the website of Testdisk and I've used the command called 'Write TestDisk MBR code to first sector' so at that moment my first sector was the C: drive of Windows 7 where OS was originally installed and where my files are kept. So I cannot see the files within C: because the starting bytes set to something else and I want to undo what I've done so far.
Just like the title said, I was fooling around with different workspaces - seeing if I could close a program in one workspace while working in another - and I seem to have either deleted or hidden all of my workspaces!I've already tried the gconf commands and they don't seem to work at all.I'm running 11.04.TYOK... a quick update. I can get to my other workspaces using ctr+alt+ right arrow, so the workspaces are still there, I've just hidden or removed the switcher applet!
View 3 Replies View RelatedNot sure what I did, but the nice widget showing my desktop on my new Kubuntu install is no longer on my desktop (the widget showing a window of the current desktop contents). How can I add it back?I've looked through widgets and panels, not sure what I did
View 2 Replies View RelatedI'm a Ubuntu 10.04 user.I accidentally deleted the Help Icon that is near to the Applications/Places/System tab and I can't find a way to add it again. I tried to right click on the panel, then I clicked "Add to Panel" and tried to find that icon, but it was not there.
View 2 Replies View RelatedI accidentally deleted /usr/lib/libz.so.1. Now I am unable to bring up GUI(I can get into command line prompt) and also not able to create this symlink file.How can reinstall/create this package/file?
View 9 Replies View RelatedI was messing around with the windows 7 install and wiped a valuable partition on a drive, I ripped the sata cable out afterwards... is there a way to reconstruct the table?
View 2 Replies View Relatedi accidentally deleted the shortcut for rhythmbox from sound & video.and cant restore it i don't know where the location and etc is.i tried uninstalling it properly from the software centre and synaptic manager and reinstalling it didnt restore the shortcuts.
View 9 Replies View RelatedWhat exactly I did here to aid in attempting to recover my Windows system. My laptop was dual Wubi-boot with Windows 7 and Ubuntu, and after encountering issues booting into my Wubi Ubuntu, I went in to recover important files to do a reinstall. Using an Ubuntu livecd, I created a directory called "win" (sudo mkdir /win) and then mounted my Windows 7 partition (sudo mount /dev/sda1 /win) to that folder name. However, after encountering some issues there, I made the mistake of removing the "win" folder without unmounting the Windows 7 partition using "rm -rf /win". After that, my Windows system appears to be missing. Can anyone tell me what exactly I did? Did I delete the partition?
View 9 Replies View RelatedI was on Windows and I accidentally deleted my Ubuntu install. Now when I boot I have Windows 7 and Ubuntu, and it's corrupt. So I went to add remove programs in Windows 7 and it just deleted the Ubuntu uninstaller (cause i deleted it) and now i'm stuck with a corrupt boot, how to remove it because I want to re install Ubuntu and it's annoying having 2 Ubuntu systems (one corrupt) and Windows 7 on my boot screen.
View 3 Replies View RelatedI had two accounts. One was an admin and I set the other as an admin as well, but left it without a password since I wanted the new user to enter it themselves. I went into the new admin account and deleted the old, passworded one.
However, this new account doesn't have a password that I explicitly defined on it. How do I change that? The account is the only one and still 'disabled'.
I have a dual boot system - vista & fedora.I was cleaning my hard disk drive, using a partition manager for windows.I moved the swap partition without much thinking about the consequences - and now I can't boot into fedora. It gives the following error mount: error mounting /dev/root on /sysroot as ext3 No such file or directory.
View 6 Replies View RelatedI accidentally deleted my root ext4 partition, which I had encrypted. I am unable to log into any os since I am blocked by a Error 17. Is it possible to retrieve an encrypted ext4 partition, does it even matter that it was encrypted.
View 6 Replies View RelatedI accidentally deleted the messaging menu (little envelope) and volume (little speaker) icons from my top panel, and I'm having trouble putting them back. I'm running Lucid.
View 2 Replies View RelatedI have accidentally deleted the soundmenu in the panel that comes with the new ubuntu 10.10. After going through various posts all I can see, is that the solutions provided only provide the applet for sound control and does not have any integration with any of the music players (in my case Rhythmbox).I really want that menu back as it made listening to music while using multiple desktops very easy.
View 7 Replies View RelatedDeleted the Ubuntu partition by accident. Now at a loss as how to get Windows working again. I had all my files saved, and did a full format and reinstall to Windows. Thinking that it would just overwrite grub but this thing is like a virus.. I cant do **** at the grub rescure command prompt... it just sits there with a cursor... Even stuff like reboot and quit or exit don't even work... what the hell? So I pop my Win7 install cd in and I find that for some reason I have no recovery console... just the option to install. I install but no grub, the little virus is still there and I just wasted an hour of my life while Win7 installed again because I still cant view it.
I deleted all the partitions and wiped the entire disc and grub is still there.. I was thinking that Windows would just replace grub automatically. Heh the Bootsector always seems to get owned on Windows and I expected grub to be just as useless but in it's own way, it's worse.
I had a win7 installed on my system first. Then I installed Ubuntu and added grub2 boot option with win7 utility program EasyBSD. But then I accidently deleted win7 boot option from windows loader menu. Now I can only chose to load Ubuntu. How can I restore Win7 loading option? I have Win7 option in grub2 but it returns me to the previous screen, from which I have deleted win7.
View 2 Replies View RelatedI'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?
View 2 Replies View RelatedI was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.
I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.
In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:
pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0
Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:
vgcfgrestore --file /etc/lvm/backup/raid5 raid5
This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!
When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.
Following bad instructions too fast to reset the default keyring password I deleted the file .gnome2/login.keyring ! I can still login and get to a terminal and do instructions from there. I can also still login with root and a guest account. But my desktop is just blank and I can't, even as a root, access my files.
View 5 Replies View RelatedI deleted the card from my 'network settings' in YaST. How do I get it back?
View 2 Replies View RelatedIm using slackware64 13 and I accidentally rm one of the java plugins for mozilla when I was trying to just mv it.
/usr/lib64/mozilla/plugins/libnpjp2.so
While screwing around with my settings trying to get 11.3 setup the way I wanted it, I accidentally removed the portion of the bottom panel which displayed the titles for all the current open windows....and I can't for the life of me figure out how to get it back.Can anyone tell me how to add it again? I'm sure its something incredible simple, but I haven't been able to find it
View 5 Replies View RelatedI accidentally deleted my 1 tb external hard dire using startup disk creator. I would like to be able to recover it. How can I do this?
View 1 Replies View RelatedI was trying to delete a menu item that I no longer needed because its referenced application was uninstalled, but I ended up deleting the "Search for Files" item under Applications > Accessories instead. I hit the revert button but no dice (go figure). Anyone know where I can get another copy of the *.desktop file, or perhaps would someone care to attach it for me?
View 1 Replies View RelatedMy laptop came with Windows 7 on it and a while back I dual installed Ubuntu on it. A few days ok I was looking for some more space and accidentally deleted my Ubuntu partition. Now when I boot up all I get is grub rescue. I've tried reinstalling Ubuntu but whenever I click to install or try Ubuntu it eventually ends up with an "initramfs" prompt.
View 9 Replies View RelatedI want to be able to enter multiple filenames after this bash file on the command line--- file1.rm, file2.rm by putting a shift command in this file?Or even better, for this bash file to take a line by line pipe from a text file. Excuse my atechnicalness.
file: rm2avi.sh:
#!/bin/bash
cd /media/212EXT/data/download/convert
[code]....
I am new to shell script and to this form as well, I did try to search for a similar post like mine here, but could not find one.
Here is what I'm trying to do:
I am trying to grep server logs to find a specific string and then capture the time stamp and the value of that grep string in them. The log file prints out messages on per sec basis.
My script is able to grep the server logs for the entire period of my load runs and then outputted it to a .csv file too.
Unfortunately this .csv file is too large to extract it on my PC and to generate graphs as it exceeds the excel limit. I need some help on how to read this .csv file in a shell script and then take an average on per min basis before I can export it out on my desktop and generate graphs for analysis. example of the out in my .csv file: