Accessing the Root file system for Ubuntu to backup files?

Asked by Andy Gibbs on 2012-11-06

Okay well i think i messed up something with dropbox install ....? When I log into Ubuntu it shows the start up background and has a couple of errors and kind of just sits there. At the moment I am using my ubuntu live cd to try to access the root or home part where my user account is. How do I access it from the live cd?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubuntu-meta Edit question
Assignee:
No assignee Edit question
Last query:
2012-11-06
Last reply:
2012-11-10

Why do you not have a backup of your data if it is worth your while to boot to liveCD to retrieve them?
How did you install Ubunt? Did you use Wubi or did you resize your NTFS and install to the freed space?

Andy Gibbs (gibbster01) said : #2

Well i didn't think to much about it and yeah messed up.

I resized the NTFS and installed to the free space.

Get a backup! You wouldn't be in this mess if you had a backup. USB HDDs cost next to noting nowadays so there is no excuse.

You can mount your Ext4 partition in the liveCD and access the data. All this can be done with nautilus.

Andy Gibbs (gibbster01) said : #4

Im getting there they have a good deal for either WD or Seagate 3TB around $150.

Can you explain this in more detail because I looked around online and found how to access the hard drive if your using NTFS format but not accessing ubuntu on a live cd? Is there any tutorials online? what is nautilus?

If you open nautilus, do you see the partition in the left hand panel?

Andy Gibbs (gibbster01) said : #6

That would be the computer that shows the hard drives right? Yeah

If you press ALT+F2 and run:

nautilus

It should show, if not then we can move from there

Andy Gibbs (gibbster01) said : #8

a window popped up and on the left side it shows ubuntu? Maybe i got you confused, I don't have access still. I have ubuntu installed on a laptop but something i did messed it up then here I am trying to access Ubuntu from a Ubuntu live cd. When i have access but there are these little X marks on the home and root folders is what I am trying to get into.

Can you give the output of:

sudo fdisk -l; mount

Thanks

Andy Gibbs (gibbster01) said : #10

ubuntu@ubuntu:~$ sudo fdisk -l;mount

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00035c19

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 4659 37419008 83 Linux
/dev/sda2 4659 4864 1648641 5 Extended
/dev/sda5 4659 4864 1648640 82 Linux swap / Solaris
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /media/10b7d587-bb48-4e3b-9fa8-2ece64109c42 type ext4 (rw,nosuid,nodev,uhelper=udisks)
ubuntu@ubuntu:~$

if you run:

nautilus /media/10b7d587-bb48-4e3b-9fa8-2ece64109c42

Then you can access your data

Andy Gibbs (gibbster01) said : #12

I pasted it into alt + f2 and enter but it still has a X on the folders?

ok then run:

gksudo nautilus /media/10b7d587-bb48-4e3b-9fa8-2ece64109c42

Can you help with this problem?

Provide an answer of your own, or ask Andy Gibbs for more information if necessary.

To post a message you must log in.