LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2012, 10:43 AM   #1
Latman
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Rep: Reputation: Disabled
Resize linux image


Not sure if anyone here can help me with this, but we have a 450GB linux image (Hyper-V).
Only 20% of this is being used.
I am trying to re-size this and keep it as a master image, but not able to with Hyper-V.

I'm hoping someone here knows how this can be done?
Thanks.
 
Old 08-21-2012, 10:53 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I had a problem with this in the past. Its quite easy to do with a windows host. But I was unable to do it with a linux host.

I ended up bringing another linux image up, using a bootable linux on both, and dd'ing data from one to the other. it was not an easy process and did not work the first couple of times i did it. There was a fair amount of trial and error.

Of course, by now, there may exist an actual process to shrink a linux host.
 
1 members found this post helpful.
Old 08-22-2012, 04:51 AM   #3
Latman
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
I had a problem with this in the past. Its quite easy to do with a windows host. But I was unable to do it with a linux host.

I ended up bringing another linux image up, using a bootable linux on both, and dd'ing data from one to the other. it was not an easy process and did not work the first couple of times i did it. There was a fair amount of trial and error.

Of course, by now, there may exist an actual process to shrink a linux host.
I thought so. Thanks for your quick reply.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resize filesystem (image file)? how to truncate the image? nikov3 Linux - General 4 06-27-2006 03:02 AM
image resize oldstinkyfish Linux - Software 4 12-16-2004 06:00 AM
Resize Image using ImageMagick mddolloff Linux - Software 1 11-20-2004 05:07 PM
Resize image mikeshn Linux - General 5 11-15-2003 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration