HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - clone a small HDD to a bigger one
 
Operating System - Linux
        1840169
        Members
    
    
        2759
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-27-2009 12:41 PM
11-27-2009 12:41 PM
			
				
					
					
						hi
I'm looking for a tool to clone a small HDD with Linux Ext3 to a bigger one and resize partitions.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
I'm looking for a tool to clone a small HDD with Linux Ext3 to a bigger one and resize partitions.
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-27-2009 02:27 PM
11-27-2009 02:27 PM
Solution
			
				
					
					
						Hi,
have a look at this one : GParted
http://gparted.sourceforge.net/features.php
Really great tool ...
hope it help,
Regards
		
		
	
	
	
have a look at this one : GParted
http://gparted.sourceforge.net/features.php
Really great tool ...
hope it help,
Regards
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-27-2009 03:20 PM
11-27-2009 03:20 PM
			
				
					
						
							Re: clone a small HDD to a bigger one
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thx, but have U already tried to resize with GParted without losing data?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
11-27-2009 03:59 PM
11-27-2009 03:59 PM
			
				
					
						
							Re: clone a small HDD to a bigger one
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I don't remember doing it with an ext2/3 filesystem as I don't see the need for it : 
if you have a bigger disk available, why don't you partition the new disk with right size partitions and copy the content of the old partitions in the new/larger ones ???
There may be something better but i've cloned hundreds of (ext2/3, reiser ...) mixed partitions with something like :
# ( cd /mnt/src/ && tar c . ) | ( cd /mnt/dst/ && tar xv . )
where /mnt/src/ is old partition/filesystem and /mnt/dst/ is new one.
It works great with multiple destination partitions like :
/dev/sdb1 on /mnt/dst/ and
/dev/sdb2 on /mnt/dst/usr and
/dev/sdb3 on /mnt/dst/home and ...
mounting multiple partitions that way you clone your system in 1 time, and easilly change one partition from ext2 to xfs and another one from ext3 to ext4 ...
Concerning mbr, I use to chroot in the newly cloned filesystem and use my distro's native systemtools to re-install it (I generally use Suse and use grub-install)
Hope it helped
		
		
	
	
	
if you have a bigger disk available, why don't you partition the new disk with right size partitions and copy the content of the old partitions in the new/larger ones ???
There may be something better but i've cloned hundreds of (ext2/3, reiser ...) mixed partitions with something like :
# ( cd /mnt/src/ && tar c . ) | ( cd /mnt/dst/ && tar xv . )
where /mnt/src/ is old partition/filesystem and /mnt/dst/ is new one.
It works great with multiple destination partitions like :
/dev/sdb1 on /mnt/dst/ and
/dev/sdb2 on /mnt/dst/usr and
/dev/sdb3 on /mnt/dst/home and ...
mounting multiple partitions that way you clone your system in 1 time, and easilly change one partition from ext2 to xfs and another one from ext3 to ext4 ...
Concerning mbr, I use to chroot in the newly cloned filesystem and use my distro's native systemtools to re-install it (I generally use Suse and use grub-install)
Hope it helped
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP