Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Installation of Lubuntu 12.10 deleted Windows XP without warning!

  1. #1
    Join Date
    Nov 2012
    Beans
    4

    Installation of Lubuntu 12.10 deleted Windows XP without warning!

    Today I installed Lubuntu 12.10 to my girlfriends old laptop (which had Windows XP) to use it for web browsing and some pdf viewing and so. My plan was to have both OS's alongside each other, and I had read through documentation which clearly showed that there should be such option, as in this page:
    http://launchintolinux.wordpress.com...-dual-booting/

    I started install, and there was NO option "Install Lubuntu alongside Windos XP". First option was to overwrite Windows completely, and had appropriate warnings about losing all data. Second option gave some information about new partitions or so, and third was manual partition.
    So, I thought maybe the second option is good because it does its thing automatically, and there was no warning that it will erase everything.
    Installation started, there was never any questions about partitioning or anything, no warning about deleting current information and after installation finished, I noticed that Windows and all the data it contained is totally gone! Wheeewww, was my girlfriend happy!!!

    Basicly, I want to criticize this installation procedure. As far as I (retrospectively) understand, all three options would have lead to losing all data (except maybe third one in capable hands), and yet only first had appropriate warning.
    Secondly, there should be easy option to install alongside Windows, as I believe is in normal Ubuntu.
    Thirdly, if installation is about to delete all information, there should be STRONG warning about that before anything is deleted. And this applies whether the person or installer software has decided to delete files.
    All these issues are basic usability and user friendliness, which every programmer should be aware off!

    Ok, the data is lost, and Lubuntu occupied the hard drive. Now comes the hard part:
    is there any way to get data back? Can some program read the whole disc physically through, and try to identify files from there, and maybe save them to my (Windows) external USB hard drive?
    Can this be done while Lubuntu itself is running, or should I run the recovery software from boot CD, and is there something suitable in this package: http://ubuntu-rescue-remix.org/

    I am grateful of every piece of information, and if there is some software with easy-to-use GUI, I would be happy with it, because I am very new to Linux, especially using command line. Thus the software should be very user friendly.

    Thank you!

  2. #2
    Join Date
    Jan 2008
    Location
    Nappanee, IN
    Beans
    602
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    The documentation you read is not the official Canonical documentation. That said, are you attempting to recover your girlfriend's data files or Windows? You are unclear on that point. To reverse the installation of Lubuntu is not possible. Period, end of discussion.

    You can re-install Windows, but the data will be gone, and your Lubuntu installation with it.

    There are file recovery programs to attempt to recover SOME of the data, but I would NOT, repeat NOT, try them from withing Lubuntu. They would also have lost most of the capability to recover the data when you repartitioned and reformatted the entire drive.

    You may not have had the option to install Lubuntu alongside Windows if you did not have at least 20 G free space on the drive before attempting an installation. That is in the Canonical documentation.

  3. #3
    Join Date
    May 2012
    Beans
    291
    Distro
    Ubuntu Development Release

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    Warning: Don't to use the hard drive that you used to have Windows XP on! Then find good software to recover the data.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    Testdisk and photorec.

    Testdisk will look for old partitions, and if it can find the file table show files. But some have to be damaged. Ubuntu install is not large and writes to various places on drive, but will have overwritten some data.

    If testdisk does not work, photorec can scan a drive for anything that looks like a file. Since file table is gone, you will not get file names, just extensions based on file type. Takes a very long time and then takes a long time to sort thru files.

    Some other similar programs:
    https://help.ubuntu.com/community/DataRecovery

    repairs including testdisk info & link to testdisk, testdisk is in repository and on most repairCDs
    http://members.iinet.net.au/~herman546/p21.html
    http://www.psychocats.net/ubuntucat/...rdeletedfiles/

    Testdisk & photorec
    http://www.cgsecurity.org/wiki/PhotoRec
    http://www.psychocats.net/ubuntucat/...rdeletedfiles/
    http://ubuntu4beginners.blogspot.com...otorec-in.html

    Use scripts to help sort and rename files:
    http://www.cgsecurity.org/wiki/After_Using_PhotoRec
    use flac tags to rename files
    http://lglinux.blogspot.com/2008/10/...ame-files.html
    http://system-tricks.com/index.php/d...overy-results/
    Best GUI Indexing/Search Tool for Local Files?
    http://ubuntuforums.org/showthread.php?t=1739701

    Hard drives also fail, any major system change can cause problems as you found. So we always suggest backups and regular backups of most important data.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    In my experience, Windows utilities do a better job of recovering Windows partitions; Linux utilities, a better job of recovering Linux partitions.

    If you want to use Windows utilities, you will have to remove your drive and connect it to a Windows PC. Then, download and install RecoverMyFiles from Runtime Software. Run the scan in deepest recovery mode -- will take HOURS.

    When done, look to see what it found.

    IF it found what you wanted, you will then need to go online to purchase a License.

    Your data -- your money -- your choice.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  6. #6
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    If you were following the guide you linked to and ended up NOT seeing exactly what the picture showed then why would you proceed with the install without definite knowledge that it wasn't going to overwrite windows xp. There's nothing wrong with the Ubuntu's install process, this is a case of "user error", NOT Ubuntu's.
    Your data is most likely gone if you did repartitioning and reformating.

  7. #7
    Join Date
    Nov 2012
    Beans
    4

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    Quote Originally Posted by cwsnyder View Post
    That said, are you attempting to recover your girlfriend's data files or Windows?
    ...
    You may not have had the option to install Lubuntu alongside Windows if you did not have at least 20 G free space on the drive before attempting an installation.
    I am only trying to get data files back, Windows was anyways very slow and old.

    At the time of install there was around 40 gb of free space on the disk.


    Dannyboy79, maybe there is nothing exactly wrong in the installation procedure, but it is definately not very logical, as I pointed out three issues in my first post. Of course, this is said from perspective of Linux/Lubuntu newbie, and general usability.

    Oldfred, thank you for the links! I'll try Photorec and Testdisk using some liveCD (Parted magic, Trinity rescue kit, etc.).

    One question though, would it be possible to make low level copy (image?) of laptops hard drive to external USB hard drive, and use some Windows tools to operate on that image? What software would be recommended to that?

  8. #8
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    Quote Originally Posted by Flixter View Post
    I am only trying to get data files back, Windows was anyways very slow and old.
    a very annoying thing. i hope you manage to recover some data.
    At the time of install there was around 40 gb of free space on the disk.
    what they mean is you would need 20+ GB unformatted disk space. means no format on the drive. anyway manual parittioning would be better in this case.

    Dannyboy79, maybe there is nothing exactly wrong in the installation procedure, but it is definately not very logical, as I pointed out three issues in my first post. Of course, this is said from perspective of Linux/Lubuntu newbie, and general usability.
    that's why there is documentation and you have to backup the data before repartitioning or creating dual boot. you are not the only one that fell for that trap. but dual boot is not newbie stuff. they tried to make it as simple as possible, but sometimes....

    One question though, would it be possible to make low level copy (image?) of laptops hard drive to external USB hard drive, and use some Windows tools to operate on that image? What software would be recommended to that?
    you could have a look at clonezilla if it can do that kind of image, though i am not sure this is possible.

    too bad you didn't use a simple backup like Redo Backup to create a disk image (or at least to backup the data) before installing new OS. that way you could easily restore it now.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

  9. #9
    Join Date
    Nov 2012
    Beans
    4

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    I ended up running PhotoRec from Parted Magic LiveCD. After half an hour the estimated time to completion ranges from 15-20 hours. Data is stored to external USB hard drive. Lets see how it goes!

  10. #10
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Installation of Lubuntu 12.10 deleted Windows XP without warning!

    It's now too late but testdisk would have been the better and first option. As oldfred said, photorec only in case testdisk can't help.

    Testdisk usually can bring your partitions back and you will lose only the files that were directly overwritten by the ubuntu files (same physical sectors). You get all of your folder structure and files with complete filenames. Most of it anyway...

    Photorec will scan the whole disk and try to recover everything it finds but without any file names. Not only that you will wait 20 hours to see how it did, after that you will have to spend double that to go through each file with a generic filename and rename it to something that makes sense to you.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •