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

Thread: Retrieve Data from Ubuntu

  1. #1
    Join Date
    Jun 2009
    Beans
    56
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Retrieve Data from Ubuntu

    I am not able to boot into Ubuntu for some reason. Is it possible to retrieve the files through windows that I have saved on Ubuntu? Or is there any other method?

    Thanks.
    Last edited by GeorgeOfTheBush; December 23rd, 2009 at 09:45 AM.

  2. #2
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: Retrieve Data from Ubuntu

    Quote Originally Posted by GeorgeOfTheBush View Post
    I am not able to boot into Ubuntu for some reason. Is it possible to retrieve the files through windows that I have saved on Ubuntu? Or is there any other method?
    Yes. You can install the Ext2/3 IFS drivers from fs-drivers.org in Windows to access your Ubuntu partitions (if they exist).

    Install ext2/3 IFS drivers in Windows (which will allow you access to linux partitions in Windows; be sure to enable "read-only" mode).

    Alternately, you can use a live CD to boot to, then use that to access your Ubuntu partitions and copy your files.
    Last edited by prshah; December 23rd, 2009 at 10:00 AM. Reason: Corrected location for IFS drivers
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  3. #3
    Join Date
    Oct 2007
    Location
    Japan
    Beans
    637
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Retrieve Data from Ubuntu

    Live CD is easiest I think then copy to a USB drive.
    "Don't Panic"

  4. #4
    Join Date
    Jun 2009
    Beans
    56
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Retrieve Data from Ubuntu

    Thanks a lot for your replies.

    I forgot to mention that I have installed ubuntu through wubi on my winxp system on C:\ drive, on the same partition as windows. I have not created any partitions. Can I still access the linux files?

    Thanks again.
    Last edited by GeorgeOfTheBush; December 23rd, 2009 at 10:13 AM.

  5. #5
    Join Date
    Jul 2009
    Location
    Mentakab, Malaysia
    Beans
    1,864
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Retrieve Data from Ubuntu

    Quote Originally Posted by GeorgeOfTheBush View Post
    Thanks a lot for your replies.

    I forgot to mention that I have installed ubuntu through wubi on my winxp system on C:\ drive, on the same partition as windows. I have not created any partitions. Can I still access the linux files?

    Thanks again.
    since its through wubi, i guess installing the ext driver will not work as ubuntu is not on a ext filesystem. you can try the live cd though.
    what error comes up when you boot ubuntu? have you tried doing a chkdsk?
    Keep your important files in HOSTS when ubuntu is installed with WUBI
    How to install ANYTHING in Ubuntu!
    'No PUB KEY' error? Try this!


  6. #6
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: Retrieve Data from Ubuntu

    Quote Originally Posted by GeorgeOfTheBush View Post
    I have installed ubuntu through wubi on my winxp system on C:\ drive
    Follow this guide How can I access the Wubi files from Windows? and How can I access my Wubi install and repair my install if it won't boot? on tips on how to access your files either through Windows or through the live CD.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  7. #7
    Join Date
    Dec 2009
    Location
    Netherland
    Beans
    16
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Retrieve Data from Ubuntu

    The whole ubuntu filesystem is in the filesystem.squashfs file, but i don't know exactly where. You can try C:\wubi\casper\.
    Once you have found the file (the whole filesystem of the wubi installation) you need a live cd to recover the files.

    So boot with the liveCD.
    Then you have to open a terminal (Applications>Accessories>Terminal).
    Type in the following lines and press enter after each line:
    Code:
    sudo mkdir /mnt/mydir
    sudo mount filesystem /mnt/mydir -t squashfs -o loop
    If this succeeds (nothing happens) you can recover your files easily.
    If it fails (for example, it says it can't mount a squashfs file system), then you have to report what exactly fails (copy the whole output).
    If it says the file system is broken, there is anything serious wrong. It will be hard to recover.

    If it succeeds, go to Locations>Computer.
    If there's an icon called 'mydir', double click it and you can browse your files.
    If not, Double click "filesystem", "dev", "mydir".

    Now you are in a folder with directory's with short names (dev, root, usr etc.)
    Double click "home".
    And one of the directory's there should contain your files (I think there's only one).
    Backup your files, for example, copy them to a USB stick, and shut down the computer.

    you can also say what exactly doesn't work in Ubuntu. That may be much easier.

    Now you have your files back, and can reinstall the wubi installation.
    But wubi is not for daily use, only to test Ubuntu. If you want, you can try a "dual-boot".
    That is, Ubuntu and Windows are really apart from each other.
    But it's a bit hard to make a dual boot, and there is a very small change that you lose your files. But don't be afraid! It is better than a wubi installation. I have also a dual boot installation, just to save my Windows installation or if ubuntu doen't work.

  8. #8
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: Retrieve Data from Ubuntu

    Quote Originally Posted by avl555 View Post
    The whole ubuntu filesystem is in the filesystem.squashfs file, but i don't know exactly where. You can try C:\wubi\casper\.
    The correct disk images are in \wubi\root.disk, home.disk, etc. They are not squashfs filesystems, but disk images.

    Contents on squashfs filesystems are readonly.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  9. #9
    Join Date
    Jun 2009
    Beans
    56
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Retrieve Data from Ubuntu

    ok. so is it possible to retrieve the linux files?

  10. #10
    Join Date
    Jun 2009
    Beans
    56
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Retrieve Data from Ubuntu

    output of sudo mount filesystem /mnt/mydir -t squashfs -o loop

    Code:
     
    filesystem: No such file or directory
    Other posts in the forum talk about fixing the sh:grub error as below.

    Code:
    sh:grub>set root=(loop0)
    sh:grub>linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
    sh:grub>initrd /boot/initrd.img-2.6.31-14-generic
    sh:grub>boot
    Unfortunately I am unable to find any vmlinuz-* entry inside /boot directory.
    Please help.

Page 1 of 2 12 LastLast

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
  •