Shoutbox

Use Ubuntu Live to backup data - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Use Ubuntu Live to backup data (/showthread.php?tid=58565)

Use Ubuntu Live to backup data by rav0 on 04-21-2006 at 07:55 AM

My computer is screwed, as some of you might know.

I'm using it now, using a Ubuntu Live CD, as some of you will also know.

I don't know how to get to the data on my hard disk. Any help?

Also, to burn a DVD do I just put in the blank, and then follow the screen?


RE: Use Ubuntu Live to backup data by ddunk on 04-21-2006 at 07:56 AM

How is your hard drive formatted? NTFS or FAT32?


RE: Use Ubuntu Live to backup data by rav0 on 04-21-2006 at 10:00 AM

I have two disks. Each has two partitions.

One partition is FAT32. One partition is NTFS. Two I can't remember.


RE: Use Ubuntu Live to backup data by Mike on 04-21-2006 at 10:44 AM

You might also want to try those "Windows XP Live CDs".

However, there isn't any particular place where you can find them...


RE: Use Ubuntu Live to backup data by brian on 04-21-2006 at 07:13 PM

Make a directory for the mount:
mkdir /mnt/win

Change hda1 with corresponding hdd, usually the a is the hard drive "id" and the 1 is the partition number so lets say you want to make parition one & two, just create other dirs but instead of hda1, try hda2.

If your filesystem is fat32:
mount -t vfat /dev/hda1 /mnt/win

If your filesystem is ntfs:
mount -t ntfs /dev/hda1 /mnt/win

Check if it is mounted:
cd /mnt/win
ls -al



RE: Use Ubuntu Live to backup data by Apatik on 04-21-2006 at 10:19 PM

to know where your partitions are and how they are named (hdax, hdbx, whatever), you should use fdisk.


RE: Use Ubuntu Live to backup data by rav0 on 04-21-2006 at 10:57 PM

With fdisk, I've figured out 3 of my partitions, bu the leftover is this:

code:
   Device Boot      Start         End      Blocks   Id  System

/dev/hda2           12504       14592    16779892+   f  W95 Ext'd (LBA)
/dev/hda5           12504       14592    16779861    7  HPFS/NTFS

Do I want hda2 or hda5?
RE: Use Ubuntu Live to backup data by brian on 04-21-2006 at 11:58 PM

Both.  hda2 is probably your FAT32 & hda5 is your NTFS.


RE: Use Ubuntu Live to backup data by Apatik on 04-22-2006 at 12:01 AM

hda5 :)

hda2 is an "extended" partition, where you can store many logical partitions (whereas you can only create 4 primary partitions on a drive). thus it's not directly used to store data.


RE: Use Ubuntu Live to backup data by rav0 on 04-22-2006 at 03:40 AM

Thanks for your help guys.

I have another problem now.

When I tried to follow nvez's instructions, I wasn't sure what I was doing. I Went to Applications>System Tools>Terminal, and used the commands he gave. I got some error message, so I exited Terminal, and went to Root Terminal. Everything worked then. Now, when I browse to the folders where I've mounted everything, three of them give me an access denied error when I try to view them.

[Image: attachment.php?pid=637900]

I'm probably using the wrong terminology for a few things becasue I'm just figuring everything out as I go, sorry.


RE: Use Ubuntu Live to backup data by Adeptus on 04-22-2006 at 06:02 AM

In your case, you should first see if you can log on to the X11 GUI as root.

If not, here are some instructions on remounting the NTFS file systems, so that they are readable to all users:

http://www.linuxforum.com/linux_tutorials/1/1.php

You will, at least, need to launch a root shell to do this.  su and sudo commands may help there, depending how your LiveCD works.


RE: Use Ubuntu Live to backup data by Apatik on 04-22-2006 at 12:32 PM

I think it has something to do with the rights you have on these devices.
See the fstab part on the page adeptus gave :)


RE: Use Ubuntu Live to backup data by rav0 on 04-24-2006 at 04:02 AM

I've got that working, but I really need write access. How would I do that? I don't need to create files, just delete and move.


RE: Use Ubuntu Live to backup data by surfichris on 04-24-2006 at 06:50 AM

Linux doesn't _really_ support writing to NTFS partitions. If you want to try to, you can use the Linux-NTFS stuff from http://www.linux-ntfs.org/ (Haven't played with it in Ubuntu however)

You should be able to write to your FAT32 partition perfectly fine.


RE: Use Ubuntu Live to backup data by rav0 on 04-24-2006 at 06:54 AM

Yeah, I can write to my FAT32 partition fine.

I normally use Windows, but Windows screwed up, The only way I can boot this computer is using a Ubuntu Live CD. I have 18 GiB of video which I want to burn then delete, to make room for a fresh installation of Windows. That video is on a NTFS partition.


RE: Use Ubuntu Live to backup data by Hank on 04-24-2006 at 07:12 AM

quote:
Originally posted by Chris Boulton
Linux doesn't _really_ support writing to NTFS partitions. If you want to try to, you can use the Linux-NTFS stuff from http://www.linux-ntfs.org/ (Haven't played with it in Ubuntu however)

You should be able to write to your FAT32 partition perfectly fine
the latest kernels 2.6.15 or was it 2.6.14 does have NTFS support. as far as i know of it just wont support 64bit yet
RE: Use Ubuntu Live to backup data by rav0 on 04-24-2006 at 07:14 AM

Well I'm using version 5.04, which is fairly old (April 2005). How do I find out the kernel version?


RE: Use Ubuntu Live to backup data by Hank on 04-24-2006 at 07:19 AM

grep it? go to Terminal an do this, it'll tell u how to grep it..  man grep ( space between man an grep ) or this ( # uname -r )


RE: RE: Use Ubuntu Live to backup data by rav0 on 04-25-2006 at 04:54 AM

quote:
Originally posted by Animal
grep it? go to Terminal an do this, it'll tell u how to grep it..  man grep ( space between man an grep ) or this ( # uname -r )

That's really complex.

What I want to do right now: get read/write NTFS access.
RE: Use Ubuntu Live to backup data by ddunk on 04-25-2006 at 05:12 AM

quote:
Originally posted by rav0
That's really complex.

What I want to do right now: get read/write NTFS access.

What's complex about it?

Also, it'd be a whole lot easier to just stick the drive into a friend's computer and copy/burn what you need from there if possible.
RE: RE: Use Ubuntu Live to backup data by rav0 on 04-25-2006 at 05:16 AM

quote:
Originally posted by Ddunk
What's complex about it?
The complex part is that I have no idea what to do. Feel special?

I might use a friends computer, but I don't live near anybody, so it's hard.
RE: Use Ubuntu Live to backup data by Hank on 04-25-2006 at 05:27 AM

borrow a HDD from a PC shop or something an transfer files over to that , that you need an then format your HDD an reinstall windows


RE: Use Ubuntu Live to backup data by rav0 on 04-25-2006 at 05:32 AM

Yeah, but that's all things that I can't do myself, at home.


RE: Use Ubuntu Live to backup data by Hank on 04-25-2006 at 05:54 AM

next best thing/way is to ring a comp shop an get them to do it


RE: Use Ubuntu Live to backup data by Mike on 04-25-2006 at 11:13 AM

As I said earlier, you could try using one of these "Live CDs"
They can usually access NTFS/FAT32 partions and they usually have CD/DVD burning tools ;)


RE: Use Ubuntu Live to backup data by Hank on 04-25-2006 at 11:45 AM

what about trying a Knoppix LiveCD ?


RE: Use Ubuntu Live to backup data by surfichris on 04-25-2006 at 11:52 AM

quote:
Originally posted by rav0
I normally use Windows, but Windows screwed up, The only way I can boot this computer is using a Ubuntu Live CD. I have 18 GiB of video which I want to burn then delete, to make room for a fresh installation of Windows. That video is on a NTFS partition.
So then wouldn't you burn it then use fdisk or similar in the Windows setup to delete the entire partition?
quote:
Originally posted by Animal
the latest kernels 2.6.15 or was it 2.6.14 does have NTFS support. as far as i know of it just wont support 64bit yet
They have limited write support which also happens to be buggy and a pain in the ass to get to work properly.
quote:
Originally posted by Mike
As I said earlier, you could try using one of these "Live CDs"
They can usually access NTFS/FAT32 partions and they usually have CD/DVD burning tools ;)
I really wish people would learn to read the threads.
quote:
Originally posted by Animal
what about trying a Knoppix LiveCD ?
And yet another stupid suggestion?

How about instead of wasting rav's bandwidth on downloading things which won't solve the problem.

Before posting - a general bit of advice to everyone - know what the hell you're replying to as well as give good decent support instead of wasting everyones time.
RE: Use Ubuntu Live to backup data by Hank on 04-25-2006 at 12:02 PM

quote:
Originally posted by Chris Boulton
And yet another stupid suggestion?

Not neccereally  ( however u spell it ) .. some people find Knoppix LivCD's easier to fix things than other LiveCD's
RE: Use Ubuntu Live to backup data by Adeptus on 04-25-2006 at 01:37 PM

quote:
Originally posted by rav0
I normally use Windows, but Windows screwed up, The only way I can boot this computer is using a Ubuntu Live CD. I have 18 GiB of video which I want to burn then delete, to make room for a fresh installation of Windows.
Perhaps we have been going about this the wrong way.  Instead of trying to figure out how to back it up with a Linux LiveCD, perhaps we should be talking about fixing Windows. 

If the file system mounts under Linux, I am sure any problems with it could be repaired, to get to the point where you can reinstall Windows -- without formatting and losing data.  Do you want any help with that?  Have you tried that?  If yes, why did it not work?




RE: Use Ubuntu Live to backup data by rav0 on 04-27-2006 at 06:02 AM

Windows wouldn't load the Welcome Screen. I tried reinstalling Windows, but Windows Setup would freeze when there were "34 minutes remaining".

The Windows partition would mount under Linux, but as read only. Even when I mounted it as read/write, it would be read only.

Now I'm using miniPE. I've made room for a new installation, and I'm ready to install, but I'd like to see if anybody can help me with my new question, about how Windows Setup detects existing Windows installations.