I finally got rid of it.
In Ubuntu, use the GParted tool that comes with the system. In the upper-right corner, select your own SD card drive letter. The following two partitions are displayed: The Xbian system is only fat16 (34 M) and ext4 (7.37G), while the camera and win7 can only identify the 34 m space, that is to say, this 8G card, for the camera only 19 m space, too much waste, raspberry Pi cannot use 7 GB space ..
By default, neither partition can be operated. You must detach the two partitions before you can resize them.
First, we need to narrow down the partition that follows and leave 4 GB space in front.
Resize,
Then resize the first partition to MB to 4 GB space,
Then click the check mark to start executing the command.
OK. The subsequent partitions are successfully reduced, and the first partition is quickly resized.
For more details, please continue to read the highlights on the next page:
Recommended reading:
Raspberry Pi build LAMP Server
Install a game simulator on Raspberry Pi
Install Weston on Raspberry Pi
Linux OS for Raspberry Pi is available
Raspberry Pi (Raspberry Pi) trial note
Introduction to Raspberry Pi (Raspberry Pi) installation, IP configuration, and software source