RharryR
Posts: 1
Joined: Mon Dec 28, 2015 12:25 am

Raspbian wont boot after resizing sd card partition.

Mon Dec 28, 2015 1:48 am

Howdy.
I have been using raspbian on my new pi I got for xmas. It was not until today I saw that the file partition was tiny, and didn't extend to fill the SD card. I used GParted to expand the filesystem partition up to its max. The operation was successful but after that my pi was unable to boot. How can I expand the filesystem partition without this annoying problem of not booting??? I am using a 16gb SD card with Jessie.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Raspbian wont boot after resizing sd card partition.

Mon Dec 28, 2015 2:48 pm

Code: Select all

sudo raspi-config

─────────┤ Raspberry Pi Software Configuration Tool (raspi-config) ├──────────┐
│                                                                              │
│    1 Expand Filesystem              Ensures that all of the SD card s        │
│    2 Change User Password           Change password for the default u        │
│    3 Boot Options                   Choose whether to boot into a des        │
│    4 Wait for Network at Boot       Choose whether to wait for networ        │
│    5 Internationalisation Options   Set up language and regional sett        │
│    6 Enable Camera                  Enable this Pi to work with the R        │
│    7 Add to Rastrack                Add this Pi to the online Raspber        │
│    8 Overclock                      Configure overclocking for your P        │
│    9 Advanced Options               Configure advanced settings              │
│    0 About raspi-config             Information about this configurat        │
│                                                                              │
│                                                                              │
│                     <Select>                     <Finish>                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘


Use option 1

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: Raspbian wont boot after resizing sd card partition.

Mon Dec 28, 2015 4:50 pm

How did you check that the "file partition was tiny"? Your SD card should have at least 2 partitions; the first one is a FAT formatted partition that is necessary to get the Pi to boot, and the second is a EXT4 partition containing the rest of the Jessie files, including those that complete the boot process. This larger partition is not seen when you put your SD card in a Windows computer.

Which partition did you change using gparted? If it is the small 'boot' partition, you might have damaged the other partition. You might be better to redo your SD card, unless there is stuff on it that you want to keep. It might be difficult to rescue the card. Can you tell us what you did in more detail?

You can check this post for what might be wrong with the card (it is unlikely to be the Pi itself): viewtopic.php?f=28&t=58151&sid=c0c0e386 ... cf99ef5a0a

Return to “Troubleshooting”