LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Increase the Linux partition (https://www.linuxquestions.org/questions/debian-26/increase-the-linux-partition-529919/)

giraf 02-17-2007 10:26 AM

Increase the Linux partition
 
Hi ,
I have two OS in my PC, Windows and Linux, on one hard disk.
How do I increase the Linux partition over the Windows partition ? Can I do it just from the Linux side ? Is there a Howto on this ?
I tried the qtparted but it gives me an error about not knowing NTFS .
Thanks.

RHLinuxGUY 02-17-2007 10:37 AM

If you have access to the internet on a computer that has a cd burner... use this: gparted

I'm almost 99% sure it is able to resize NTFS partions, and almost 125% sure it is able to do the same with FAT32 and older. Other (*nix) partitions are a given.

It is very trivial to use. Just follow the directions (there is only one or two ways to do what you want to do), and you should be on your way. (it is just dragging a bar across a window to show how much space you want a partition to take up)

hitest 02-17-2007 10:39 AM

Quote:

Originally Posted by giraf
Hi ,
I have two OS in my PC, Windows and Linux, on one hard disk.
How do I increase the Linux partition over the Windows partition ? Can I do it just from the Linux side ? Is there a Howto on this ?
I tried the qtparted but it gives me an error about not knowing NTFS .
Thanks.

I've used gparted before to successfully re-size Linux partitions. It may be an option for you.

war1025 02-17-2007 11:38 AM

I tried to partition my friend's computer with gparted.... I think... maybe it was the ubuntu installer. Either way I ended up killing his windows partition and then linux didn't work with his wireless. Luckily, he had the windows reinstall disk otherwise I probably would have felt bad.

Moral of the story: Just be careful.

hitest 02-17-2007 02:53 PM

Quote:

Originally Posted by war1025
I ended up killing his windows partition and then linux didn't work with his wireless. Luckily, he had the windows reinstall disk otherwise I probably would have felt bad.

Moral of the story: Just be careful.

Agreed. Back-up anything you can not afford to lose in the event that re-sizing your partitions goes awry.

Dutch Master 02-17-2007 03:02 PM

I second that. And don't forget your data on the Win-OS partition!

However, if you want to get rid of the latter altogether, remove the NTFS partition with fdisk (or derivatives like cfdisk, parted, etc) and create a Linux filesystem on the partition with mkfs.<fs-type> where <fs-type> is the filesystem you want to use (ext2, ext3, ReiserFS, XFS, JFS, etc) Check the man-page for mkfs to learn more about it's options and possibilities.


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