Find the answer to your Linux question:
Results 1 to 3 of 3
I am trying to grow a partion on a raspberry pi but the partion is locked but when try to unmount it sais that it cannot unmount because other partions ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! SuperMeijin's Avatar
    Join Date
    Jun 2012
    Posts
    3

    Question Help with partition on drive


    I am trying to grow a partion on a raspberry pi but the partion is locked but when try to unmount it sais that it cannot unmount because other partions are on this mount point i am quite new to linux and not sure what to do.

    Thanks for your help

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,391
    I actually did resize a raspberry pi partition just two weeks ago.

    The easiest way is to connect the sd card to a PC or laptop.
    Then boot a linux (native or liveCD, doesnt matter)

    Once you have access to a console
    • become root
    • identify the sd card with
    • Code:
      fdisk -l
    • write down the device name /dev/sdX # (X will be depended on the system at hand)
    • It can be, that the sd card partitions have been auto mounted.
    • In that case: unmount them all
    • Code:
      mount |grep sdX
    • Code:
      unmount <any directory from the above command>
    • start "gparted"
    • *move* the forth partition to the end
    • *resize* the third partition


    After gparted has completed successfully, you are done.
    You must always face the curtain with a bow.

  3. #3
    Just Joined! SuperMeijin's Avatar
    Join Date
    Jun 2012
    Posts
    3
    Thanks for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •