Terminus Logo  Secured by phpPhobos

Shadow Family   
  Login  - No Account?  Create One   
Search 
Friday, 26 April 2024  -
News FeedRSS Feed
rss rdf  
  Home 
  Authentication 
 Documentation 
    Site Documentation 
    About me 
  Legal Notice 
 Applications 
    Web Links 
 Hobbies 
    RC Models 
    RC Batteries 
    Build blogs 
 Modules 
    Downloads 
    Weblinks 
 Blacklists 
    Blacklist 
    Blockout 
    DNS Blacklist 
 Registered Bloggers 
  Joerg's Blog 
 Gallery [Listing]
  > Diving 
  > Steampunk 
  > RC Planes 
  > FPV Drones 
  > Indy travels 
 FAQ  [ Topics  ]
 Common Linux problem... 
 Routerboard RBxxxAH 
 Apple Mac-mini 
 PHP Phobos 
 Stargate's Backup sc... 
 eBook Reader / PRS-5... 
 RC Models 
 Server in SolLan 
Question ? Can I resize (grow) a NTFS Partition under Linux ?   [
View DetailsView details
|
Print ViewPrint view
]

 It's quite easy to do so. You just require fdisk and ntfsresize (Check your software repositories to have both installed. fdisk usually is).

With fdisk -l /dev/sda you can make a backup of start/end points of your actual setup. As long as you don't format the partitions - all is safe. Example output would be

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/sda2            2551        7415    39078112+  af  Unknown
/dev/sda3            7416       10000    20764012+  83  Linux
/dev/sda4           10001       24321   115033432+   5  Extended
/dev/sda5           10001       10262     2104452   82  Linux swap / Solaris
/dev/sda6           10263       13041    22322286   83  Linux
/dev/sda7           13042       19121    48837568+  83  Linux
/dev/sda8           19122       24321    41768968+  83  Linux

In this case - delete partition 2 - and replace the end boundary of partition 1:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2550      39078112+ 7  HPFS/NTFS

After that - just run ntfsresize with:

ntfsresize /dev/sda1

It will automatically adapt the ntfs journal and size informations to the new size and schedule a filesystem check for the next Windows XP Start.
Windows - after starting up - will want to restart as it has discovered new hardware (the bigger disk). After that restart - you're done.  

Entered by smurphy on Thursday, 19 March 2009 @ 10:23:06  
Configuration - Common Linux problems, # Hits: 94014
  Back Back  
 
Problems to  webmaster(-AT-)solsys(-DOT-)org  - best viewed @ 1920bpp
This site is powered by phpPhobos v2.0b446
© J. Mertin smurphy(-AT-)solsys(-DOT-)org 
Icons - Copyright Breeze artists GPL 2+