Ubuntu Installation :: Restore Accidental Delete Of Home.disk?

Oct 8, 2010

I think I did something dumb. I was trying to increase the space allocation to my /home virtual disk on my wubi installation of Ubuntu. I ran the wubi-add-virtual-disk utility (as I had done before the first time I increased my space), but I received the message "The target virtual disk /host/ubuntu/disks/$virtual_disk already exists, aborting." So, thinking that all my data was in a different path and that the file home.disk was probably just some configuration file of little importance (I should've checked and I should've made a backup of it myself), I browsed to /host/ubuntu/disks and ran "rm home.disk", then reran the wubi-add-virtual-disk utility (stored in my still existing /home/cportiz/Downloads directory), and I thought I had successfully increased my space.

To my horror, upon restarting my computer, my desktop was empty and basically unusable as there is nothing to click on. I rebooted on recovery mode and logged on in terminal mode, then browsed to /home and found an EMPTY folder. I ran locate home.disk and found a file at /host/ubuntu/disks with the size that I specified when I ran the virtual disk utility, but I don't know where my old contents are. I didn't just delete all that stuff. it is still somewhere on my hard drive and that all I need to do is modify the home.disk file in this or that way or hit restore. There is not a home.backup file at /host/ubuntu/disks/.

Anyhow, if indeed I've lost everything, I can probably restore most of the work I'd done (only a couple of weeks worth) pretty quickly. Some of the files were backed up in other computers, etc... How to restore my wubi installation to a functional one? I would prefer not to have to reinstall ubuntu altogether since I believe the majority of the packages I've installed were housed on /opt meaning I can get back up and running compiling certain programs from source fairly quickly and most of the recovery effort is in rewriting some of the files that were stored in /home.

View 4 Replies


ADVERTISEMENT

General :: Accidental Installation Of Ubuntu 11.04 Overiding NTFS On External Hard Disk?

Aug 10, 2011

I really need some help here. I was installing Ubuntu 11.04 supposedly on a Desktop but I had my external hard disk connected via USB. This external hard disk had two NTFS partitions with lots of important personal and my works.

I accidentally installed Ubuntu upon it and I believe I had created new Linux partition for the Ubuntu installation. Is there any way to undo everything?

View 6 Replies View Related

CentOS 5 :: Accidental Delete Of "adm" User?

Jun 17, 2010

One of our admins accidentally deleted the adm userin the following way,#userdel -r admi recreated the "user" from the /etc/passwd- & /etc/shadow- files and added to its groupand created the /var/adm directory but is there more that needs to be done ?Lot of files were written, so i have not yet tried debugfs or any file recoverybecause i couldnt get any google info on what adm does.OS Details:CentOS release 5.2 (Final)Can anyone scale the damage that could have occured?

View 5 Replies View Related

Ubuntu Installation :: Restore The Home/username File To A Default State?

Jul 1, 2010

System Specs:

CPU: Intel Core2 Quad Extreme X9450
Memory: 4GB, Patriot DDR3 PC3-10666 1333Mhz
MoBo: ASUS P5E3 Delux
OpSys: Ubuntu 10.4 (64Bit)

Short Description: I wanted to see what would happen if I upgraded from Kubuntu 8.04 (32bit) to Ubuntu 10.4 (64bit) by copying my home directory then restoring it after the upgrade. It almost worked sans a few interesting problems that I'm hoping might teach me a bit more about how Ubuntu works.

Detailed Description:

1. I copied my home directory to another hard disk.

2. I let the installation disk for Ubuntu 10.4 (64bit) reformat and overwrite the disk that contained Kubuntu 8.04 (32bit) and chose to maintain the partition and swap size for that disk.

3. Once I worked out some bugs in the hardware and got the OS up and running smoothly, I "merged" my home directory with the backup I had created in step one. (Merge was an option given to me when I was attempting to paste the files copied from the backup disk.)

4. It should also be noted that I was trying for a while last night to install TrueCrypt. In order to do that I had to check its "sig" file. The GUI for the gpg installation was complaining that I didn't have gtk+-2.0 installed so I installed gtk (I think it might have been 2.4 or whatever the most recent one was) from source without any errors. It got late so I gave up on attempting to install TrueCrypt any further.

The Results: This morning the computer seemed to boot faster than it had been before, but I was left without a functioning Theme manager. It will open, and I can click on all of its features, but nothing seems to do anything. For example: If I right click on the desktop and choose "Change Desktop Background" Then select "Get more themes online", nothing happens. Also if I select the "theme" tab, there are only two themes listed when there used to be about 9 by default.

Questions: 1.) Is there a way to restore the files that are important for correct system operation (possibly all the files starting with a dot ".*") in my home directory to there default state like they would have been from a fresh install, but without doing a fresh install and without loosing any of the documents or archives in my home file?

2.) Is this even the correct approach or might this cause more problems? For example, if your computer had this problem would you try and restore the home directory, or would you troubleshoot each problem as it arises one at a time until everything became stable?

3.) What could I do next to continue troubleshooting the theme manager?

I'll keep researching and trying to find some links that can help while I wait for your responses. If I find anything that helps I'll post the fix here.

View 1 Replies View Related

Ubuntu Installation :: Can't Restore A Root.disk After Reinstalling Wubi

Sep 5, 2010

Since the partition of windows7 (C: ) where wubi was installed was too small, I decided to reinstall wubi into another larger partition (E: ), keeping the old root.disk. Sadly when I replaced the root.disk ubuntu cannot boot, the loader says that there is no root.disk file, although it's there... I guess there is some kind of checksum about the virtual disk toward the loader is poiting... So how can I have my old ubuntu installation back?? I still have the old root.disk.

View 9 Replies View Related

Ubuntu Installation :: Restore Wubi After Windows Reinstall - Error: No Such Disk

Jul 4, 2011

I decided it was time to reinstall Windows 7 because it became increasingly slow. I know that there's a different solution to solve this problem, but as a user I'm just more satisfied with the noob friendliness of Windows. However, I know that it has its drawbacks so I had a dual boot setup with Wubi (30GB). My old configuration was as follows:

C: partition of size ~80GB with Windows 7 x64 installed
D: partition of size ~400GB with data and a wubi ubuntu at D:/ubuntu

So what I did was this:

- Backup all my personal files and D:/ubuntu on a external hdd
- Wipe the partitions using the windows installer
- Create a C: of 100GB and a D: of 380GB
- install windows 7 x64 on the C: partition

Now I would like to restore my backup of the old D:/ubuntu to a working dual boot system. I realize I may have missed some opportunities and the data may be gone, but I only found out about that when it was too late. I have tried installing wubi, and replacing the new ubuntu folder with the old one, but this did not work.

error: no such device: 9054698454696DC2
error: no such disk

I have also tried replacing only the root.disk file, with the same result. I searched for other people's solutions, but they did not seem to work in my case.

View 8 Replies View Related

Ubuntu :: Restore A Wubi Root.disk File Backup To A Real Installation?

Mar 9, 2010

I worked everyday during 1.5 years on a Wubi installation of Ubuntu 8.10.

Before quitting my job I have made a simple copy of the root.disk file, thinking I could restore it easily later.

Now I would restore this system on a Virtual Machine (with Virtual Box)

Have you got an idea how i could do this??

(I already tryied to install another wubi on a virtualized Windows 7, the install complete but I can't see ubuntu in the boot loader...)

View 1 Replies View Related

Ubuntu Installation :: Delete The Ext And Swap Partitions From Disk Management On Windows7?

Oct 11, 2010

Can I delete the ext and swap partitions from disk management on windows 7 ? Because I want to install a fresh new copy of ubuntu 10.10 . I know it would affect windows 7 boot up.I can handle it by system restore Anyway can I do it or not ?

View 5 Replies View Related

Hardware :: Won't Accept CTRL-ALT-Delete With The Installation Disk In The Drive Either

Dec 24, 2010

I just bought an Asus P50IJ-X3 NoteBook which came with Win7 pre-installed. On booting it up, it is taking me through a Win7 setup routine and won't let me get to the BIOS so that I can run my Ubuntu installation disk. It won't accept CTRL-ALT-Delete with the installation disk in the drive either.

Is there any way to get to the BIOS so that I can change the boot order and install Ubuntu WITHOUT setting up WIN7? At this point, I havn't done anything with the machine so aside from return shipping and the re-stocking fee, I should be able to return it. I'm afraid that if I go through the whole setup routine and write stuff to the disk, the vendor (Newegg) may not be willing to take it back.

View 7 Replies View Related

Ubuntu :: Add Hard Disk Expand Disk Space For /home

May 23, 2010

ran out of space in my /home dir. Have a second hard drive to install and would like to designate it as additional space for /home. I do not want to mount it as a dir inside my home I would like it to simply work as though my /home simply has more space available to it.

View 1 Replies View Related

Ubuntu Installation :: Saved Home Directory To Another Machine, And Proceeded To Install From A 9.10 USB Disk \ Error: Out Of Memory?

Mar 16, 2010

I've been running my Dell Mini 9 with the latest alpha for 10.04 since January, but over the weekend I botched things pretty badly and decided to go back to 9.10.I saved my home directory to another machine, and proceeded to install from a 9.10 USB disk. Things didn't go terribly well (I kept seeing "devkit-disks-daemon" crashing) but the install did complete. I shutdown the netbook, yanked the USB drive and powered it back on only to be greeted the grub menu. Choosing any option yields: Code:error: out of memoryPress any key to continue...I did a little searching in places like:HTML there is no mention of that problem there, and running though the command line instructions has the same results. (the linux command seems to be the problem)I've tried re-installed grub from the directions on the page but it is failing with:

Code:
cp: cannot stat '/mnt/boot/grub/ufs1.mod': Input/output error
When I look up that file I see:

[code]...

View 9 Replies View Related

Security :: Site Definitely Hacked - Can't Delete Files To Restore Backup

Apr 9, 2010

I've discovered that after restoring my site's backup this has happened to me again. How to delete the hacked /home/crocbits directory so that I can restore the backup under the same username. When I try to delete /home/crocbits I get this message when logged in as root:

[Code]...

View 9 Replies View Related

Ubuntu :: Restore My Old /home Folder From 9.10 ?

May 23, 2010

I installed ubuntu 10.04 LTS few weeks ago, I formated old system file to ext4 but I didnt format my old /home (in ext3 format). So after, the installation I went to Home folder.. the ubuntu created defaults folders (Pictures, Documents, etc) But there isnt my old files!, all my pictures or settings gone!..

Now, I thougth all my old data gone forever. But watching my /home partition in gparted, I see have the same Used space like before. Means the files are there but cant see them, even with Ctrl + H.

And my account name is the same like old Distro's.

View 3 Replies View Related

Ubuntu :: How To Restore Home Folder

May 14, 2011

I followed this guide: [URL]...to customize my launcher. When I tried to add an smb share, my home folder disappeared from the launcher, as did my /usr/share/applications/nautilus-home.desktop file.I can't get my nautilus-home.desktop file working again. I have replaced it with:

[Desktop Entry]
Name=Home Folder
Comment=Open your personal folder
TryExec=nautilus
Exec=nautilus --no-desktop
Icon=user-home
Terminal=false

[Code]...

but it has no effect. When I sign out of Ubuntu and sign back in, the Home Folder icon is still missing from the Unity Launcher. I realize I can open Nautilus and then right-click it and select "Keep in Launcher", but this would not enable me to add the customizations I want from the link above.

I have also tried "unity --reset" and "unity --reset-icons", but this doesn't return my default home folder to the launcher. How can I restore my original home folder to the launcher?

View 2 Replies View Related

Ubuntu :: Restore A User For A Home Folder ?

Mar 13, 2010

I messed up, and was forced to reinstall the system. my user data ws stored on another partition /home/Andre I installed as a new user "test" How do I make a new user "Andre" such that it uses /home/Andre ?

View 9 Replies View Related

Ubuntu :: Restore Home Icon On 11.04 Launcher

Aug 9, 2011

After installing Ubuntu 11.04, I removed the Home Icon from the launcher by right clicking on the Home Icon and chosing the - Keep In Launcher option. Then it disappeared. Now I am wondering how do I restore it, because I think it was not a good idea and I need it now.

View 3 Replies View Related

Ubuntu :: How To Restore File Deleted From Home Folder

Jun 25, 2011

By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.

View 2 Replies View Related

Ubuntu :: Restore Disk From Pc Running On Windows?

Jan 18, 2010

I have a notebook with no disk drive. How do I use restore disk from my pc running on windows?

View 1 Replies View Related

Ubuntu :: Program To Restore Disk Image?

May 3, 2010

I am having a problem finding a piece of software. I've searched a lot and still have not come up with an answer. My situation is as follows: I have an image file the I wish to restore to my USB flash drive but so far I've had no luck doing this. I was wondering if there was a program/command that could help me restore the disk image.

View 4 Replies View Related

Ubuntu :: How To Restore NTFS Disk Data

Sep 27, 2010

I've occasionally changed HDD filesystem type in Disk Utility from NTFS to Linux Extended . It created an extended partition containing some other partitions instead of NTFS.

View 3 Replies View Related

Ubuntu :: Recover Delete User Home Directory

Mar 7, 2011

I run a server where multiple people can access it via SSH and have access to the same folder. Someone recently decided to stop using my server so I deleted their login account inside the User and Group GUI inside gnome. I accidentally selected delete files owned by this user. I didn't think much of it because the user didn't actually own any of the files since it was shared among all of them. Anyway, ALL the files in that shared home directory vanished, including the home directory. How can I recover this? It didn't move all the files to the root trash or my local user's trash folder. Are the permanently deleted?

View 6 Replies View Related

General :: Best Way To Backup And Restore / Home Directory And Reinstall Kubuntu

Dec 3, 2009

So I've finally given up on saving my kubuntu install that wont boot. I've searched, and looked, but couldn't find a thing.My delema now is to make sure that I:

a) get all of the user data safely packed up onto my external USB drive. I believe it's all in the home directory. I'm not sure about getting hidden files though...

b) get the new install to go smoothly, and not mess up grub or the parralell XP install on the same hard drive.

c) get the user data back on the computer and recreate the user structure. Permissions were messed up already, so setting those up again is not an issue.

So, I've been poking around, and this is how I think things should go:

a) tar cvpjf backup.tar.bz2 /home to get my home directory backed up. Not exactly sure how to get from here to my external hd, but I'm sure I can figure it out

b) just run a live cd of kubuntu, delete the old partitions, and reinstall over them?

c) unzip the tar into by /home directory.

That's all I've been able to find so far. How do I set up the users? Will they show up as soon as I untar? Will the resinstall play nice with my windows install? Will I get all the hidden files too? Is there anything I'm missing?

View 2 Replies View Related

Ubuntu Servers :: Samba - Access Folder To Delete Or Restore From The Recycle Bin Folder

Apr 24, 2010

I'm using ubuntu server 9.10 for a home build NAS. Everything is working great just have one more thing to figure out. I have Samba set up to access my files and I set up a recycle feature so anything deleted will get moved to a Recycled folder. (I learned this the hard way after hitting delete key by accident while browsing the shares in windows. Lost 100 GB of data)

Now it is for the most part working but the permissions on folders isn't getting set right. If I delete a file in a share I can go to Recycle bin folder and delete the file for good. But if I delete a folder I can not access that folder to delete or restore from the Recycle bin folder. I have to chmod the folder before I can do anything with it. Anything I can change to get folders deleted via windows to have the right permissions when it is moved to the Recycle bin folder?

[Code]///

View 1 Replies View Related

Networking :: Restore A Hard Disk From An Image Automatically?

Jun 17, 2011

I'd like to create a boot floppy or CD to restore an image from a harddisk over the network, and it should work possibly automatically.
A normal, non-IT user should be able to do it in our branch abroad.

View 1 Replies View Related

Ubuntu :: Permission To Upload / Delete / Edit All Files In / Home / Www / For Multiple Users?

Dec 16, 2010

I installed proftpd on my Ubuntu 10.10 install. I also run multiple websites that I want to allow ftp access to for 2 different users. The websites are located in /home/www/. This is where the guide I was following told me to put them. I also don't have a user named www.How can I give write permission to upload, delete, and edit all the files in /home/www/ for multiple users? They can connect to the ftp server and see the file, just not change them.

View 1 Replies View Related

Programming :: Create A Bash Menu Script For Home Server - Restore Files From A Backup?

Jan 19, 2011

I would like to create a bash menu script for my home server For instance if i were to type ./script It would then bring up 3 options

a. Create a backup
b. Restore files from a backup
c. Quit

If you were to select a or b it should then ask you were you want to backup or restore from. And if i were to type in an incorrect letter i should get an error and take me back to menu. I have attepmted this a view time now and have magaged to get the menu up using parameters

View 9 Replies View Related

Ubuntu Servers :: Restore Image Via Clonezilla-drbl Smaller To Larger Disk?

Jun 21, 2011

I have an Ubuntu server and i've installed drbl-clonezilla to clone and restore pc, I have a 40 gigabyte image to be deployed on other pc's with larger hard drive ex. 160 GB or 240giga, my problem is that when I deploy the image on a larger disk I end up with a disk with a partition of 40 GB and the rest unallocated, how can i restore the the disk and use full disk space, the goal is to automate the process. In clonezilla-drbl there is the possibility to start a "prerun" and "postrun" fonction that could help complete the deployment process.

View 2 Replies View Related

Ubuntu :: Delete 1 Of 2 Operating Systems On One Hard Disk?

Aug 31, 2010

i have installed ubuntu today and i am enjoying it so far but there is still some problems am having i will explain from the start ,,,i have a hp laptop it has 1 hard disk c,d the d am not planing to mess with it because it has the hp recovery and it might be helpful one day ,,,,so i downloaded ubuntu to an external hard disk then when i was installing it i selected it to be installed on C i thought it would automatically delete vista but it didn't when the restarted the computer i saw 2 options vista and ubuntu so i was wondering if anyone can tell me how do i delete the vista and keep only 1 operation system and btw i have no CD or DVD or floppy available so i cant download it on a cd then format c and install ubuntu again so i need away to delete vista from c while keeping ubuntu in c

View 5 Replies View Related

General :: Can't Boot From My Hard Disk / Unable To Restore GRUB - Fix It?

Feb 4, 2010

After completing the installation of Fedora-FEL edition, I cant boot from my hard disk. "No bootable device found " error appears.

I have one Windows XP & 2 Linux installation in my disk.
I tried to restore grub using "setup (...)" command.but same error repeats.
Even I cant restore Windows XP using "fxmbr" command in... recovery console .

But I can boot from that drive by "chainloader" command in grub. code...

Running above command in grub terminal boots my hard disk ("hd1" is my "unbootable disk")

View 2 Replies View Related

General :: How To Restore System To Factory Settings On Acer On With No Disk

Jan 14, 2010

I bought a used Acer Aspire one with Linux on it and it works great. I want to restore it to factory settings but I do not have a restore disk. (not to mention that the unit doesn't have a CD drive anyways.)

I have read on other sites that Alt-F10 works but I think that is only for WIN because I can not get that to work. Is there an equivalent function with Linux.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved