LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-21-2004, 04:49 PM   #1
SuSE_User
Member
 
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 04:53 PM.
 
Old 02-21-2004, 07:29 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

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

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
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:05 PM.

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