Monday, May 5, 2008

partition using gparted on ubuntu live cd

When you buy a laptop, you mostly get it with windows installed. (Monopoly you see...;) ) . So if you want to install Linux without loosing the existing windows, then you have to resize the existing partition. Well, you can do this using partition Magic. But when I tried, I kept getting one error consistently, it looked something like this: " error 1161 bad system file name" .

what next?

Ubuntu Live CD has a tool called gparted which can be used to do this.
If the disk does not have bad sectors, you can simply resize by dragging the slider in gparted.
I had to use ntfsresize first to resize the ntfs filesystem before using gparted to resize the partition.
So boot the live CD. run ntfsresize to resize your filesystem, use gparted to resize your partition.
you can as well create other partitions to install linux here itself.

The resizing is a bit tricky. You need to first resize filesystem using "ntfsresize" and then the partition with gparted. So search the web and find the right instructions to do this

useful link...
http://www.nishants.net/articles/ntfsresize.htm

No comments: