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

Thread: How do I get my files?

  1. #1
    Join Date
    Apr 2010
    Beans
    14
    Distro
    Ubuntu 10.04 Lucid Lynx

    How do I get my files?

    I installed Ubuntu on a secondary HD. I ran sudo fdisk -l and got:


    Disk /dev/sda: 40.0 GB, 40020664320 bytes
    240 heads, 63 sectors/track, 5169 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    Disk identifier: 0xc06e7af3

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 2690 20336368+ 7 HPFS/NTFS
    /dev/sda2 2691 5169 18741240 f W95 Ext'd (LBA)
    /dev/sda5 2691 5169 18741208+ 7 HPFS/NTFS

    Disk /dev/sdb: 163.9 GB, 163928604672 bytes
    255 heads, 63 sectors/track, 19929 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xcae973e7

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 19929 160079661 7 HPFS/NTFS

    Disk /dev/sdc: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xc39ef0f3

    Device Boot Start End Blocks Id System
    /dev/sdc1 * 1 38913 312568641 7 HPFS/NTFS

    Disk /dev/sdb is where Ubuntu was installed under Windows. How do I reach the files that are on that disk? Should I have put Ubuntu on its own partition?

  2. #2
    Join Date
    Feb 2009
    Location
    Baja Oklahoma
    Beans
    1,652

    Re: How do I get my files?

    Did you install with wubi? It appears you must have, since all the disks are NTFS. Wubi is a Windows program, so you need to boot Windows, then run wubi as you would any other Windows program, which launches Ubuntu.
    Asus EEE 900 with Linux Mint Debian Edition
    Linux user 497460

  3. #3
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: How do I get my files?

    +1 It looks like Wubi is installed. There aren't any EXT partitions.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  4. #4
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: How do I get my files?

    Wubi installs Ubuntu on a virtual disk x:\ubuntu\disks\root.disk

    So you can either mount it from a live CD and copy the data, or install a tool to view it from windows (see https://wiki.ubuntu.com/WubiGuide).

    To mount it after booting a live CD (assuming it's on /dev/sdb1):
    Code:
    sudo mkdir /media/win
    sudo mount /dev/sdb1 /media/win
    sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
    nautilus /mnt

  5. #5
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How do I get my files?

    Quote Originally Posted by sgosnell View Post
    Wubi is a Windows program, so you need to boot Windows, then run wubi as you would any other Windows program, which launches Ubuntu.
    Not quite.
    What makes a wubi install different from a normal install is that ubuntu is installed from within windows to a file on a windows file system instead of to a real partition. Ubuntu's boot loader (grub) is also installed in this file instead of on the mbr of the hard drive and have to be loaded from the windows boot loader. This results in a ubuntu system that can be uninstalled like if it was a windows program.
    But even with a wubi install, you boot ubuntu directly on the real hardware (except the virtual hard drive file instead of a real hard drive) without loading any part of windows.

    I think what the op really meant to ask was how can you access the files that are saved within the ubuntu system from windows. I don't know enough about the format of the wubi virtual hard drive file to know if this is possible, but I think it is at least theoretically possible to mount it in some virtual disk manager and access the files from there. But I also guess that since the file system in that virtual disk is a linux file system (probably ext3 or 4), you would need to install some ext file system driver in windows.

  6. #6
    Join Date
    Apr 2010
    Beans
    14
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I get my files?

    I installed Ubuntu through Wubi on a HD (call it D:\) So D:\Ubuntu. When I open Windows, I can go to the HD and get to all the files, for example: D:\pictures. When I boot into Ubuntu, I do not know how to get to those Windows created folders.

  7. #7
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: How do I get my files?

    Quote Originally Posted by james.euless View Post
    I installed Ubuntu through Wubi on a HD (call it D:\) So D:\Ubuntu. When I open Windows, I can go to the HD and get to all the files, for example: D:\pictures. When I boot into Ubuntu, I do not know how to get to those Windows created folders.
    The easiest way is to go to click on Places and select each partition. A browser window (nautilus if you're using ubuntu) will let you browse the partition and find the one with /ubuntu/disks/root.disk. Then find the path the partition is automounted on by hitting CTRL+L. It should show you something like /media/XXXXXXX

    Then just use that:
    Code:
    sudo mount -o loop /media/XXXXXXX/ubuntu/disks/root.disk /mnt
    nautilus /mnt
    If your drives have labels, typing XXXXXXX will be easier. If it's a UUID just type in the first two letters and hit [TAB] to autocomplete.

  8. #8
    Join Date
    Apr 2010
    Beans
    14
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I get my files?

    I can see the root dir, but it is "X" and says I do not have permission. How do I open and view it? I'm using Ubuntu 9.10 is that makes a diff.

  9. #9
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: How do I get my files?

    In a terminal, run
    Code:
    gksu nautilus
    to open a file browser with root permissions. WARNING: Moving deleting, or altering these files can easily kill your system!
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  10. #10
    Join Date
    Apr 2010
    Beans
    14
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I get my files?

    No luck. I ran gksu nautilus and got this in the terminal:


    ** (nautilus:2657): WARNING **: No marshaller for signature of signal 'DownloadFinished'

    ** (nautilus:2657): WARNING **: No marshaller for signature of signal 'ShareCreateError'
    Initializing nautilus-gdu extension
    Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
    Please ask your system administrator to enable user sharing.

    Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
    Please ask your system administrator to enable user sharing.

    Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
    Please ask your system administrator to enable user sharing.

    Looking at root, I don't see anything like you describe. Ctr + L shows only "Location: \Root"

    Any ideas? Did I miss a step?

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
  •