Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-21-2004, 05:49 PM   #1
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 74

Rep: Reputation: 15
moving space in harddrive from windows to linux

Alright so this is the thing, YaST says this about my harddrive space:

Name l Disk Usage l Used l Free l Total l

/ - 32% - 5.29GB - 11.07GB - 16.37 GB

/windows/D - 22% - 636.3MB - 2.10GB - 2.72 GB

/windows/C - 0% - 16.0KB - 8.40GB - 8.40GB

However, I don't even have a windows OS on my computer, only Linux. So how can I move the
/windows/D and /windows/C space over to / (which I think is Linux's space on the harddrive)?

PS. Sorry if the data is hard to read

Last edited by SuSE_User; 02-21-2004 at 05:53 PM.
Old 02-21-2004, 08:29 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"However, I don't even have a windows OS on my computer, only Linux. So how can I move the /windows/D and /windows/C space over to / (which I think is Linux's space on the harddrive)?"

I would just leave three partitions on your hard drive and use the space for something other than Windows. To do this:

edit /etc/fstab and comment out the lines for /windows/D and /windows/C by putting a # in the first column of the lines. Make a mental note of what the partition addresses are (for example's sake I will assume /dev/hda1 and /dev/hda2). Then either:
umount /windows/D
umount /windows/C
or reboot.

Now you can format the two partitions, for example:
mke2fs /dev/hda1
mkfs.ext3 /dev/hda2
If you don't understand then see:
man mke2fs
man mkfs.ext3

Then you can use the two partitions for whatever you want. For example you could place /home on /dev/hda1 and keep backups on /dev/hda2.

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 02-21-2004, 08:39 PM   #3
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 281

Rep: Reputation: 30
yes, the suggestion to have a separate partition for /home is a good idea. that is where all your personal user data (text files, spreadsheets etc) are stored. if for some reason you have to reinstall your OS, remember the partition and keep it as /home (and don't format) during reinstall. you will then retain all your personal files.

It might even be a good idea to use both partitions as one large one (if you have a lot of personal data like MP3's, video's, or anything else that uses a large amount of space).

Good Luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Moving from Windows to Linux dlublink Linux - Distributions 3 10-04-2005 10:44 AM
Data lost/changed when moving harddrive to another computer mdb Linux - Hardware 1 05-06-2005 01:59 AM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 10:33 AM
Moving Disk Space in Linux ALF Linux - Software 6 11-27-2003 07:19 AM
Moving /home to a new harddrive vwaldoguy Linux - Hardware 1 05-26-2003 04:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 AM.

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