Tuesday, October 11, 2005

Disk Partitioning with Knoppix

One of the many good things you can do wih a Knoppix bootable CD is repartition your hard drive. It’s a fairly quick and easy process but remember to always backup your data before messing around with your hard drive partitions.

If you don't have a copy of knoppix head over to knopper.net and download the ISO image.

What I’m going to do is resize one of my partitions so that I can create a second partition from the new unallocated space. The first thing you do is boot to your Knoppix CD. The boot process can take a couple of minutes since you are running entirely off your CD-ROM drive which is considerably slower than your hard drive but once you get knoppix up and running you’ll need to open up a console…
Click this button on the bottom of the screen.

When the console opens type SU and hit enter. This logs you on as super user.

Then type qtparted and hit enter.

The program will load showing a list of your hard drives on the left. I’ve selected my primary partition. The partitions details show up on the right. Next you’ll want to click on the Operation menu and select Resize.



In the resize dialog you can click and drag a new partition size at the top or manually specify the size of the partion on the bottom. When you are finished click OK.

After resizing the partition then you can go back and select the unallocated space. Then click
on the Operation menu and select Create.

The Create dialog will display. For a windows partition I’ve chosen to create a Primary NTFS partition. Click OK to close the dialog.

At this point no changes have been made to the hard drive. To apply the changes choose Commit from the file menu.

It may take a few minutes to apply the changes.

8 Comments:

At 5:04 PM, Anonymous Anonymous said...

nice quick and easy guide.
thanks for posting

 
At 1:17 PM, Anonymous Anonymous said...

I just booted the CD with Knoppix 4.0.2 and followed your steps. I recieved the following messages after entering the qtparted command:
"Unable to open /UNIONFS/dev/hda read-write (Read only -file system): /UNIONFS/dev/hda has been opened read-only"

I have a NTFS partition I wish to shrink. Any idea what might be wrong here?

 
At 2:51 PM, Anonymous Anonymous said...

had the same issue at first -- make sure you have typed SU before you run qtparted

 
At 10:34 PM, Anonymous Mike N said...

Thank You... as a new knoppix user this post greatly helped with making a swap partition

 
At 8:08 PM, Anonymous Julia said...

Thanks for the great explanation. I found that just typing SU didn't work, but typing sudo su did.

 
At 3:05 PM, Blogger William said...

Fantastic little guide, thanks so much.

 
At 1:42 PM, Anonymous Anonymous said...

Very nice tip, but I'm trying to do exactly the opposite of what your guide helps me do. Can anyone tell me how to remove ALL partitions on the disk and reformat it as one big drive with no partitions? I have found it's really easy to find instructions on how to chop your drive up into tiny little pieces, but surpriseingly hard to find help to put it back together again...

 
At 5:00 PM, Anonymous Anonymous said...

im tring to resize my windows partiotion in order to make a partition for Linux. I also made a disk defragmentation befor booting with Knoppix. When i make the new size and press ok, a message ; "This software has detected that the disk has at least bad sectors". And the changes i've made are ignored.
What is the solution ?

 

Post a Comment

<< Home