From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from linserver.romuald.net.eu.org (linserver.romuald.net.eu.org [63.228.150.209]) by speech.braille.uwo.ca (Postfix) with ESMTP id 7A863C1A314 for ; Wed, 28 Apr 2010 15:49:16 -0400 (EDT) Received: by linserver.romuald.net.eu.org (Postfix, from userid 1000) id 6EE37269263; Wed, 28 Apr 2010 12:48:45 -0700 (MST) Date: Wed, 28 Apr 2010 12:48:45 -0700 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Subject: Re: Parted Not Found Message-ID: <20100428194844.GA23186@romuald.net.eu.org> References: <2622AA5A21514BDD897999DABA0F800A@lima> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.romuald.net.eu.org/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.13 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 19:49:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Apr 28, 2010 at 09:32:41AM -0400, trev.saunders@gmail.com wrote: > Ok, I take it you didn't use the windows installer to set up partitions with a spare partition for linux? Unfortunitely, that would have been slightly simpler, because ntfs support in linux isn't the simplest thing. > > What I believe you'll have to do is use ntfsresize to resize the ntfs filesystem that windows uses, then use parted to shrink the partition that the ntfs filesystem was on, and make file system's on the new partitions for linux. > > This will look something like the following: > 1. #ntfsresize --size G /dev/sda1 # note that G is the number of gigabytes you want the file system to be, where a gigabyte is 10^9, not 2^30 > I would probably use about 40G for windows, maby 50 or 60 depending on my exact needs, in that case you would do ntfsresize --size 40G /dev/sda1 if windows is on the first partition of the first harddrive. > then use parted to resize that partition to 40G, and create new partitions for linux. Yeah, it probably would have been a better idea to partition the disk when installing windows in such a way, so that windows doesn't take the whole drive. It's also worth mentioning that if you're going to attempt what Trevor described above, you want to take a backup of the drive, unless you don't mind the possibility of losing everything on it, and starting everything, including windows from scratch. Come to think of it, if starting from scratch is an option, I'd say you're probably better off wiping the drive, and starting from scratch by installing windows to a smaller partition that doesn't take the whole disk. You don't need to create partitions on the rest of the disk, leaving the part unused by windows unpartitioned is just fine, and I'd say the best choice. Greg - -- web site: http://www.romuald.net.eu.org gpg public key: http://www.romuald.net.eu.org/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) - -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvYkRwACgkQ7s9z/XlyUyASeQCfY19pEEcTaY6rsMLlExi3vhY0 6IsAn0LkufziLpfiqsIb3G9y4nTbguBg =u0Nc -----END PGP SIGNATURE-----