element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum the way of expand rootfs
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 5 replies
  • Subscribers 676 subscribers
  • Views 1320 views
  • Users 0 members are here
  • raspberry pi b
  • expand rootfs
  • wolfson_3.10_master.img
Related

the way of expand rootfs

Former Member
Former Member over 9 years ago

Please tell me the wayt o expand  the way of expand rootfs.

 

I use the woifson audio card for hi-resolution audio sources.

I installed  "wolfson_3.10_master.img" into my Raspberry pi B board.  I want to expand rootfs to store various hi-resolution audio sources in SD card.

But I could not use expand_rootfs(respi-config) at "wolson_3.10_master.img".

 

I checked a lot of blogs  to do it.

It seemed popular to delete heidden Linux partion and make new partion and use resizefs2x.

 

I tried it as below ,but I could not expand rootfs,

 

(1)I chcked the status of partions by fdisk , p.

        sudo fdisk /dev/mmcblk0

         Command : p

(2)I got the result as below.

image

(3) I deleted /dev/mmcblk0p6 and made new partions:mmcblk0p4 and mmcblk0p6.

(4) I did "Reboot", but the Kernel was halted during the booting.

(5) I never expanded rootfs.

 

I'd really appriciate it if anyone tell me the way to expand rootfs.

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 9 years ago

    yoshiki kato

    Ok I see you did not use contiguous partitions.

     

    1. Reimage the card with original wolfson_3.10_master.img
    2. print the partitions like above.
    3. create a new partition at the end with a mount point "/audio" as big as you can.
    4. reboot Pi
    5. You now have extra storage in "/audio" to use as you wish.

     

    Let me know if this works by marking this "correct" or post errors comments otherwise. Use sd card - How can I resize my / (root) partition? - Raspberry Pi Stack Exchange  as a reference only for howto.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to clem57

    Dear Clem Martins

     

    Thank you for your advice.

     

    To make sure, I do some questions?.

     

    (1) Do I have to make new partion which start from 15415296  by fdisk -n ?

    (2) Do I need to modefy /etc/fstab for new partion?

     

    I'd really appriciate it if you will give me the detail of proceedures of creating new partion.

     

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago in reply to Former Member

    yoshiki kato wrote:

     

    Dear Clem Martins

     

    Thank you for your advice.

     

    To make sure, I do some questions?.

     

    (1) Do I have to make new partion which start from 15415296  by fdisk -n ?

    (2) Do I need to modefy /etc/fstab for new partion?

     

    I'd really appriciate it if you will give me the detail of proceedures of creating new partion.

     

    Regards,

    1. Yes Linux fdisk command and examples
    2. Yes if you want it to mount on bootup.

     

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mconners
    0 mconners over 9 years ago

    If you are new at this and are unfamiliar with the fdisk command, you might be better suited using gparted.

     

    gparted is a graphical partition editor.

    It will show you the unused space on your disk/sd card an allow you to expand it.

     

    On a debian/raspbian based system, it can be installed using

     

    sudo apt-get install gparted

     

    and then you would run it like

     

    sudo gparted diskdevice

     

    and example would be

     

    sudo gparted /dev/mmcblk0

     

    the web site is here if you need more info.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to mconners

    Dear Michaael

    Thank you fpr your advice.

     

    I could make new partition and expand it before getting "gparted".

     

    But I installed "gparted" into my Raspberry-pi.

    It  is very useful tool !

     

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube