LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   moving space in harddrive from windows to linux (https://www.linuxquestions.org/questions/linux-software-2/moving-space-in-harddrive-from-windows-to-linux-148888/)

SuSE_User 02-21-2004 04:49 PM

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

jailbait 02-21-2004 07:29 PM

"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

Present 02-21-2004 07:39 PM

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


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