LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2014, 01:01 PM   #1
sidharthlinux
LQ Newbie
 
Registered: Sep 2014
Posts: 2

Rep: Reputation: Disabled
Post Removing windows xp and installing linux....a doubt.....help please


If I remove my XP completely and install vectorlinux/puppylinux,etc,can I retrieve my old files,those I saved on hard disk when I was using XP ?

Also can anyone give a small description of how hard disk is divided in linux,like in windows it is C:,D:,E:,(local disks).

Also, I cant find files that I created using windows 7,after I rebooted Ubuntu. (In another computer)
 
Old 09-23-2014, 01:39 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
1) If you remove XP, that means you're replacing it with Linux, which means your files are gone. You'll want to back them up to an external drive so you can copy them back. Alternatively you can shrink XP, install Linux in the free space, copy the files from the XP partition to the Linux partition, then remove XP and expand the Linux partition, but that requires a lot more work.

2) They're not divided like Windows. This is one area where Linux and Windows are completely different. In Linux, your root partition is mounted in "/". EVERYTHING falls under this location...files, directories, devices, even other drives/partitions. For example, by default user accounts are placed in "/home". Now "/home" could simply be a directory called "home" that lives on "/", your root partition, in which case everything placed in "/home" will be taking up space on your root partition. Or "/home" could be the mount point for a different drive entirely, in which case everything placed in "/home" will go into the root of your other partition. The operating system doesn't care, it writes to "/home" and it goes where it goes.

This approach to filesystem management makes sharing data between disks, migrating directories between partitions, etc. incredibly easy. If your root partition starts to fill up and you notice that "/var" is the culprit, then you can simply copy the contents of "/var" onto another drive, delete the original "/var", and then mount your other drive at "/var" (Note: since "/var" is always in use, this process would need to be performed from a live CD or the like). The OS still works like normal, but that directory now lives on another drive and the space has been cleared off of your root partition.

3) We'll need more details. Did you replace Windows 7, or did you simply boot an Ubuntu live CD? If you just booted a live CD, then chances are you just need to mount the Windows partition somewhere (like /mnt or /media) to access the drive. You may need to install the ntfs supporting utility package in order to mount it, I'm not sure if the Ubuntu live CD has those pre-installed.
 
Old 09-23-2014, 01:40 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
If I remove my XP completely and install vectorlinux/puppylinux,etc,can I retrieve my old files,those I saved on hard disk when I was using XP ?
I'll answer the first one. If you remove XP completely you will lose your files on that hard disk (the one that XP used to inhabit). First back up all the file you want to keep onto an external drive or USB stick. Once you have installed your Linux system you can then copy them back onto the hard drive to an appropriate folder.
Quote:
Also can anyone give a small description of how hard disk is divided in linux,like in windows it is C:,D:,E:,(local disks).
As for the Linux file system, here is a pretty thorough description.
Quote:
Also, I cant find files that I created using windows 7,after I rebooted Ubuntu. (In another computer)
We would need far more details and far more clarity about what you did exactly. What you wrote doesn't make much sense to me.
jdk
 
Old 09-24-2014, 08:49 AM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
The advice will be to copy out all the files that are important to you onto an external hard drive. Then you can install any linux distribution of your choice, then copy back all the files into the hard drive of your machine with the new operating system and you are all set.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Slackware without removing Windows. ReaperX7 Slackware - Installation 7 11-12-2012 03:16 PM
Linpus lite removing and installing windows. ralfsz Linux - Newbie 6 09-24-2011 03:35 AM
Removing linux, installing windows 2000 (gasp) soulseraph General 10 07-13-2007 02:23 PM
installing Red Hat without removing Windows... aunwit Red Hat 4 03-22-2006 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration