Parted Not Found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 28, 2010 at 09:32:41AM -0400, trev.saunders at 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 <new size>G /dev/sda1 # note that <new size>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 at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkvYkRwACgkQ7s9z/XlyUyASeQCfY19pEEcTaY6rsMLlExi3vhY0
6IsAn0LkufziLpfiqsIb3G9y4nTbguBg
=u0Nc
-----END PGP SIGNATURE-----



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux