From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vw0-f42.google.com (mail-vw0-f42.google.com [209.85.212.42]) by speech.braille.uwo.ca (Postfix) with ESMTP id 9BFDFC1A21B for ; Wed, 28 Apr 2010 09:33:20 -0400 (EDT) Received: by vws8 with SMTP id 8so1313787vws.29 for ; Wed, 28 Apr 2010 06:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:message-id:to :subject:in-reply-to:references:comments:date:from; bh=4moj9X9d3S4KJjnpCrqbJusMfRdjaltmZqVSxXPeJrQ=; b=ngpGOILzQLZA19qCNgH/bmJsf0tM48dQCdMOZkVHf4WQ7Ekr72B1VB4sCNEor7QDb/ HtgQ2re8g+ptOQnuSggu9Vrv9UoFxrrRIlNvtUirW69G2Pa7VSnqmuZyJwSvVdoHezgp eet24sIydNZxfW+NQHxTC44Q4NtxqE+bZSRjc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:subject:in-reply-to:references:comments:date:from; b=CXhQjEshngYp378mPLQYmXC6EE0LWAY2IT8Eue0DUW3DsdRFrePrYge+EKSq8V/Uvo W/k3C4bwN3ZzLbuQXLgMihwuHWYNpEhyJOyniBlnYk/6IiOhulXHStkOd5IEwwN5VhqM ZcSNNhK3EkRHk1ABYtMF1SU0M+Q74g/jbEslM= Received: by 10.220.108.79 with SMTP id e15mr5243070vcp.141.1272461566025; Wed, 28 Apr 2010 06:32:46 -0700 (PDT) Received: from main (TBSAUNDE-FRISBEE.WV.CC.CMU.EDU [128.237.233.96]) by mx.google.com with ESMTPS id v12sm8905521vch.9.2010.04.28.06.32.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 28 Apr 2010 06:32:42 -0700 (PDT) Received: from tbsaunde (helo=main) by main with local-esmtp (Exim 4.71) (envelope-from ) id 1O77NZ-0003uB-Cl for speakup@braille.uwo.ca; Wed, 28 Apr 2010 09:32:41 -0400 Message-Id: To: speakup@braille.uwo.ca Subject: Re: Parted Not Found In-reply-to: References: <2622AA5A21514BDD897999DABA0F800A@lima> Comments: In-reply-to "JP Jamous" message dated "Wed, 28 Apr 2010 08:36:16 -0400." Date: Wed, 28 Apr 2010 09:32:41 -0400 From: trev.saunders@gmail.com 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 13:33:20 -0000 Hi, > You are correct. I typed help after accessing parted, but the help is more > of a reminder. An Admin must know how the arguments work correctly. > > I cannot seem to find a good tutorial on how to use parted or fdisk. I would > like to learn the switches and what the various commands mean such as > commas, slashes, etc. you don't need to give commands arguments, if you don't give them, parted or fdisk will ask the questions one at a time like the following example. you type resize. parted replies what partition would you like to resize you enter 1 parted asks you how big you want make partition 1 be, and you say 40G parted resizes the partition, and asks what you'd like to do next. This is a rough sketch, its been a month or so since I needed to partition a disk. I remember them being fairly self explanatory so long as you let it ask the questions instead of supplying arguments, but if you want a explanation, the gentoo handbook at http://www.gentoo.org/doc/en/handbook/handbook.xml has a decent description of how to use fdisk in chapter 5. > > My current problem is that I have an 80GB hard drive. I installed XP Pro SP3 > on it using a primary NTFS. Now, I want to resize that to make room for the > ArchLinux installation. Resize seems my best bet, but it has so many > arguments that must be entered correctly. I know I am diving too deep for a > beginner, but I am only a beginner in Linux. I know the rest very well from > administering Windows for the last 12 years. 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. HTH Trev > > Any good tutorials or articles would be great. Bare with me folks. I will > catch up very quickly. Thank you. > > -----Original Message----- > From: trev.saunders@gmail.com [mailto:trev.saunders@gmail.com] > Sent: Wednesday, April 28, 2010 7:12 AM > To: Speakup is a screen review system for Linux.; JP Jamous > Subject: Re: Parted Not Found > > Hi, > > yes, speakup is part of the kernel, but parted etc are just normal > executables. > wrt your original problem you seem to have been missing the space between > the name of the program (parted) and the argument, (/dev/sda the drive you > wanted to partition). > > HTH > Trev >