How to Increase the size of fixed sized disk in Virtualbox - Any format

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • Increase the size of any fixed sized disk in Virtualbox.
    In this tutorial I show you how to increase the size of a fixed sized disk in Virtualbox.
    This method should work with any of the following virtual disk image formats: VDI VMDK HD QED and QCOW
    The live Linux distro used was Ubuntu Desktop
    www.ubuntu.com/download/desktop/
    Virtualbox download:
    www.virtualbox.org/wiki/Downl...
    Blog: www.linuxleech.com
    Twitter: / linuxleech
    Facebook: / linuxleech
    Google+: www.google.com/+linuxleech
    ~-~~-~~~-~~-~
    Please watch: "virtualbox vs vmware virtual machine in virtual machine?"
    • Virtualbox vs Vmware I...
    ~-~~-~~~-~~-~
  • НаукаНаука

Комментарии • 83

  • @jkscheah
    @jkscheah 8 лет назад +1

    Excellent tutorial. Much simpler and clearer than reading written ones. Crucial details explained too. Thanks!

  • @akshitkhajuria4362
    @akshitkhajuria4362 2 года назад

    It's 2021, I'm using Ubuntu 20.04 LTS and this tutorial is still relevant! Thanks a bunch !

  • @nietzschebietzsche
    @nietzschebietzsche Месяц назад

    Brilliant video! Despite having a slightly different setup with a Windows 10 virtual hard drive, I was able to follow along with this to create an expanded Win 10 copy. Much quicker than starting all over! The one part that might be tricky for some is if they don't know how to attach a Linux ISO as a disk for live booting. If they only have a SATA controller, for example, they would need to attach the ISO as an optical disk and change it to the first SATA port to get it to boot automatically. Anyway, really appreciated this video as it saved me a lot of time.

  • @DeithWX
    @DeithWX 8 лет назад +1

    Worked perfectly, saved my life

  • @mugwhynz
    @mugwhynz 8 лет назад

    yeah man! All good here! My guest was Windows 10. Just used the Computer Management app within Windows 10 to re-occupy the new un-allocated space. Didn't have enough disk space to copy old VM to new VM drive so just gave it a path to an external USB drive and a name and copied to there. Then deleted the original thereby making space for the new and copied it back to the main internal drive. Worked like a charm. Sweet!

  • @MrVoam
    @MrVoam 8 лет назад +1

    Worked like a charm! Thanks!

  • @jmoranretana
    @jmoranretana 6 лет назад

    Great video man, a real "cut to the chase" and does teach a lot, keep the good work.

  • @hitechglobalsolutionsinc8247
    @hitechglobalsolutionsinc8247 8 лет назад +1

    Very clear instructions. Thanks

  • @2Cool4Games
    @2Cool4Games 7 лет назад +1

    Thanks for the help. I feel cooler now that I fixed this problem! :D

  • @mirzashafi
    @mirzashafi 6 лет назад +1

    Wow! Thanks a lot. Much better than other cmd way to do this. Really appreciate it.

  • @johannkruger228
    @johannkruger228 4 года назад

    Thnkx a mil for this, It is still working perfectly as at May 2020. I used the process to resize a 60GB Win10 VDH to 150GB. I am running Virtual box 5 on Linux Mint as host and used a linuxmint live iso in stead of Ubunto live but the rest of thhe process works great.

  • @tradingbills4178
    @tradingbills4178 6 лет назад

    Thanks , Great Great, Easy to follow and worked as smooth as silk

  • @ThierryBitz
    @ThierryBitz 6 лет назад +5

    that was a perfect tutorial!

  • @0x25
    @0x25 Год назад

    Very nice, thank you! This worked as you showed it. Oddly enough I have never gotten `dd if=/dev/sdX of=/dev/sdY` to work on physical disks ever so I was suprised that it worked with no options in this example :)

  • @lubisummer207
    @lubisummer207 3 года назад

    Absolutly great for Linux and VB beginners like me!

  • @Hotmustardgas20
    @Hotmustardgas20 7 лет назад +2

    Thanks! This was a big help

  • @IB-fz2oq
    @IB-fz2oq 4 года назад

    Thank u! great detailed explanation! easy and working (Ubunut 18.04)
    I recommend using the dd utility with progress status, because it might take a while and u might get frustrated without seeing any progress:
    dd if=/dev/sda of=/dev/sdb bs=1024k status=progress

  • @eva01993
    @eva01993 9 лет назад +1

    This video was really helpful, you saved me a lot of time!

  • @LaurenKJones
    @LaurenKJones 9 лет назад +1

    Thank you! Very helpful.

  • @BinaHejazi
    @BinaHejazi 8 лет назад

    absolutely fantastic tutorial, thanks a million mate.

  • @user-nf6ri5hb5c
    @user-nf6ri5hb5c 7 лет назад +1

    Great tutorial. Thanks!

  • @dbneel
    @dbneel 7 лет назад +1

    Very helpful! Thanks.

  • @AbdulrahmanMajash
    @AbdulrahmanMajash 4 года назад

    Thanks a lot!! Very easy to follow

  • @oleksandrs1102
    @oleksandrs1102 8 лет назад +1

    Thank you.

  • @MarcPawlowsky
    @MarcPawlowsky 3 года назад

    Should mention that the smaller disk can now be deleted.
    I had to tweak it for mint, but was more than easy enough. Thanks.

  • @benjacob5636
    @benjacob5636 8 лет назад

    Awesome. Thank you

  • @chintanpatel7178
    @chintanpatel7178 2 года назад

    nice , clean tutorial and also safe too cheers !!!!!!!!!!! very easy to shrink thanks man

  • @dipsgautam
    @dipsgautam 8 лет назад

    Great tutorial. Thank you :)

  • @davidowen6080
    @davidowen6080 8 лет назад

    This is a great video showing how to make the change. I have 1 question on it.
    I currently have a fixed disk which hosts Oracle Linux 5. It has a number of applications running on it. Can I use this approach with the ubuntu iso to increase the size? And then start the VM with its contents all ok?

  • @ismailox93
    @ismailox93 4 года назад

    Thank's, simple & fast (y)

  • @maplelist
    @maplelist 6 лет назад

    Thank you so much!

  • @ChrisCox-wv7oo
    @ChrisCox-wv7oo 9 лет назад +1

    worked perfectly

  • @rajcodes100
    @rajcodes100 4 года назад +1

    Thanks for this tutorial although I have not executed a change on my VM disk size yet. I noticed we moved from a fixed disk size now to a dynamically allocated modified one.Is there any other tutorial whereby you resize the disk and kept it as a fixed disk size ?

    • @linuxleech
      @linuxleech  4 года назад +1

      Process is the same just make sure the new fixed size disk is larger than the disk you are copying from.

  • @tankivilmos98
    @tankivilmos98 9 лет назад

    Thanks a lot mate!

  • @RC-Heli835
    @RC-Heli835 6 лет назад

    Does this work for dynamic disk installs as well? I can run the vboxmanage resize command and the larger size .vdi shows up in virtualbox but is never recognised by live cd with gparted.

  • @EngelHamer
    @EngelHamer 6 лет назад

    thanks a lot for this!

  • @StijnCornelissen
    @StijnCornelissen 9 лет назад

    Thanks for the nice video! Should this method also work on a Windows guest? I have every step of your tutorial working except the resizing of the NTFS partition. That fails with Error(2): Failed to check /dev/sdb mount state

    • @beefybeef1326
      @beefybeef1326 3 года назад

      Hi. Did you ever manage to get this working for windows?

  • @samabunuwara217
    @samabunuwara217 7 лет назад +1

    thanks, great tutorial ;)

  • @aynurabdurazik1915
    @aynurabdurazik1915 8 лет назад

    Thanks!

  • @aameraftab8767
    @aameraftab8767 6 лет назад

    Wao video. Superb.Its solved my big problem.

  • @patrickguth3796
    @patrickguth3796 7 лет назад

    I used your method and it worked like a charm, thank you for that. But now I have a problem I can't solve: Booting my Ubuntu Machine now takes more than a Minute - why (probably) is that?

  • @MarcPawlowsky
    @MarcPawlowsky 3 года назад

    You should change the dd block size to a larger value, it will make a big difference since the default is so small

  • @roronoa_d_law1075
    @roronoa_d_law1075 4 года назад

    thanks

  • @joaosalvado2122
    @joaosalvado2122 9 лет назад

    When you put the ubuntu 12 in empty disk, it will ask me to install it again it suposed to ?

  • @singsarav
    @singsarav 8 лет назад +1

    wow u r excellent man

  • @Gamer212Xtreme
    @Gamer212Xtreme 4 года назад

    Thank you Sir

  • @sgtfoose8842
    @sgtfoose8842 5 лет назад

    I tried this in kali Linux 4.17.0 but after hitting enter (after DD command) nothing happend? In gpart I got an error. I deleted all my drives and added a new dynamic big drive with a clean install of Kali. I still have my backup, how to copy my files from my backup?

  • @fatihhguvenn
    @fatihhguvenn 8 лет назад +1

    awesome tutorial.. thanks a lot :)

    • @linuxleech
      @linuxleech  8 лет назад

      +Fatih Güven Thanks Fatih. :)

  • @LeonidSaykin
    @LeonidSaykin 2 года назад

    Can I assume that fixed memory has an ability to shrink itself when the memory on it is freed?
    I wish I knew about this tutorial earlier

  • @nancynaguib1
    @nancynaguib1 7 лет назад

    it was worth saying that gparted in not found by default and to install it write "sudo apt-get install gparted" in the terminal

  • @ferjanisalma5139
    @ferjanisalma5139 6 лет назад

    didn't work for me , after i tape thouse lines in the termianl , it closes and write aborded

  • @estudiocaribe1
    @estudiocaribe1 9 лет назад

    Hi. In my case I use a mac, and the hard disk is under IDE controller, and I don't have an empty disk under IDE controller in order to boot the VM from there and do what you did. Any suggestions?

    • @linuxleech
      @linuxleech  9 лет назад

      Click once on your IDE controller so it is highlighted. You should see two icons appear with plus symbols. Click on the one that looks like a cd. A message box will pop up with three options: cancel, choose disk and leave empty, click leave empty and you should now have an empty disk under your IDE controller.

  • @padudle1
    @padudle1 5 лет назад

    Also, remember that the old multi-gigabyte .vdi file is still stored on the host filesystem. Most will probably want to delete that after testing the new one.

  • @FefeldGaming
    @FefeldGaming 7 лет назад

    Mine is vmdk but is a Dynamically allocated storage can this still work?

  • @scc1314
    @scc1314 7 лет назад

    my unity launcher at the left and the top panel became missing after doing everything you said, what should i do?

  • @DenverProphitJr
    @DenverProphitJr 7 лет назад

    0:36 You should have just told them to take a snapshot right?

  • @RantingRob
    @RantingRob 9 лет назад

    Hi, What do I do if I do not have an Empty disk under Controller:IDE? If I need one, can you show me how to create one?

    • @linuxleech
      @linuxleech  9 лет назад

      Hi Robert, all you have to do is create a new disk in the same way shown in this tutorial and then add it to the IDE controller instead of the SATA controller.

  • @maksymkoval9816
    @maksymkoval9816 6 лет назад

    Plz help, how would i get the .iso image

    • @nurudeensoremekun6556
      @nurudeensoremekun6556 5 лет назад

      He has given the link for that up there.
      The live Linux distro used was Ubuntu Desktop
      www.ubuntu.com/download/desktop/

  • @LateNightCrypto
    @LateNightCrypto 4 года назад

    I literally cannot click on anything. all settings are greyed out. So I cannot do this or the other step!

  • @mindlessgreen
    @mindlessgreen 9 лет назад

    Why does it have to be such a big process just to increase disk space?

  • @larrojos
    @larrojos 9 лет назад

    Hi, i followed your instructions but i can't increase the size of the biggest partition in /dev/sdb, i believe it is because it have a LVM format (contains an ubuntu server)

    • @linuxleech
      @linuxleech  9 лет назад

      José Luis Larroque If you are using LVM you can just create a new disk in virtualbox, add it to the controller in your storage tree for your servers VM, so your server can see it and then just use LVM management tools to add it to your volume group.

    • @larrojos
      @larrojos 9 лет назад

      I'm trying, but i couldn't.
      Should i use the gui or command line to do it?

    • @linuxleech
      @linuxleech  9 лет назад

      José Luis Larroque You could just use LVM command line tools within your ubuntu server VM. Should take less than a minute to do. Out of interest what are you using the server for?

    • @larrojos
      @larrojos 9 лет назад +1

      The server is used for building a small cluster, to simulate aws-ec2 in a local environment. Thanks for the help

    • @linuxleech
      @linuxleech  9 лет назад

      José Luis Larroque cool

  • @nikowalski9569
    @nikowalski9569 8 лет назад

    funny story: video is 9:20 min, took me 6:17 min to install a new virtual machine with ubuntu and a new drive.

    • @maximilianorivadeneira3398
      @maximilianorivadeneira3398 4 года назад +1

      But how much time does it take to reinstall all your stuff? There's the added value

  • @Gorkid0
    @Gorkid0 3 года назад

    i'll wait 3 - 5 hours for 100 gb :( rip

  • @augustsbautra
    @augustsbautra 7 лет назад

    NB, deleting and recreating swap mandates updates in /etc/fstab for it to work correctly, see this discussion for details askubuntu.com/a/810203