Professional Documents
Culture Documents
Boot The Raspberry Pi From USB - 8 Steps (With Pictures)
Boot The Raspberry Pi From USB - 8 Steps (With Pictures)
Publish (/about/create.jsp)
(http://www.autodesk.com/)
Featured: Fidget Spinner Design Challenge (/contest/fidgetspinner/?utm_source=featurebar/)
License:
8 192,505 views
376 favorites
techno guy
(/member/techno+guy/)
KH-Labs (https://kh-labs.org)
Follow 198
(/member/techno+guy/)
(/id/Using-
(/file/FBU41MGIAJO1EAC/)
Multisystem-on-the-Second-Partition/)
Hello world, time for me to gift some raspberry pi to the people. So here's my
story, I recently graduated high school and I've been working with the school's IT (/id/Raspberry-Pi-2-
guy for my senior year. When I graduated, he decided to get me the latest
Raspberry Pi as a graduation present (at the time of writing this, the Raspberry
Pi 2 Model B). I thought it was really generous of him and I wanted to use it.
Here's the problem, I've only got 2 GB SD cards and the latest Raspbian image
(2015-05-05) was like 3.5 GB in size. No problem, I'm a technology guy, surely I
could figure this out, and I did. So now I'm here showing a step-by-step picture Quick-n-Easy-RCA/)
advertisement
(/file/FGTON5WIAJO1DV7/)
Type "sudo -s" to get into a root shell, so you don't have to type sudo again.
When the image is finished burning, the contents of the drive should look more
or less like they do in the picture of the GParted screen. It should have one fat16
partition and one ext4 partition and maybe some unallocated space if your drive
is big enough.
Add a new partition and make sure it is 56 MB in size while being labeled "boot"
and being a fat16 file system. The point is to clone the boot partition on the flash
drive over to the SD card because the Raspberry Pi can't completely boot from a
flash drive.
Then click "manage flags" and add the "lba" flag and you're done prepping the
SD card.
(/file/F8WLETUIAJO1E0C/)
Get back into your root shell to prepare the boot partition transfer.
Again, use "dd" to transfer the partitions, my boot partition is /dev/sdb1 for the
flash drive and /dev/sdc1 for the SD card. Notice the 1 at the end of each, that
signifies the first logical partition which I can see from the GParted screen.
The command for me is "dd if=/dev/sdb1 of=/dev/sdc1" but I used the "pv"
version because I like to see how everything works out. It's the same as in the
last step, only change the "if" and "of" parts.
Get into the SD card file system with your favorite file explorer and open up the
file called "cmdline.txt".
We will edit the word in the line that starts with "root=" so we can tell the SD card
where it's supposed to boot, in this case the flash drive.
(/file/F3MMPWAIAJO1E3D/)
Then resize the ext4 partition by clicking "resize/move" and dragging each end
of the partitions to the corresponding ends.
Apply all operations and wait quite a bit of time for the partition to grow. When
it's finished, there should be only one partition, and ext4, that has the same
partition path (/dev/sdb2) as the original ext4 partition.
Now just insert your SD card into the Raspberry Pi along with the root flash drive
that we were working on.
Plug everything you need in like power, video, keyboard/mouse and wifi and turn
it on.
(/file/F1951J1IAJO1EAY/)
If all worked well for you, then you should see the Raspberry Pi boot up normally
and the setup screen come up for the first time. CONGRATULATIONS!!!
If not, then something probably went wrong and you should try to see if you can
fix it by going backwards to see what went wrong or just redoing the whole
process again.
I typed in "startx" and the desktop interface came up, all is well and now I can
use the Pi normally.
I More Comments
FEATURED CHANNELS
Woodworking Paper Kitchen Hacks Puzzles Laser Cutting Space Homesteading 3D Printing Sewing
(/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type- (/tag/type-
id/category- id/category- id/keyword- id/category- id/category- id/keyword- id/category- id/category- id/category-
workshop/channel- craft/channel- kitchen%20hacks/?play/channel- workshop/channel- astronomy/? home/channel- technology/channel-craft/channel-
woodworking/) paper/) sort=FAVORITES) puzzles/) laser-cutting/) sort=FAVORITES)homesteading/) 3D-Printing/) sewing/)
Newsletter About Us
Let your inbox help you discover Who We Are (/about/)
our best projects, classes, and Advertise (/advertise/)
contests. Instructables will help Contact (/about/contact.jsp)
you learn how to make anything! Jobs (/community/Positions-available-at-Instructables/)
Find Us Resources
Facebook (http://www.facebook.com/instructables) For Teachers (/teachers/)
Youtube (http://www.youtube.com/user/instructablestv) Residency Program (/pier9residency)
Twitter (http://www.twitter.com/instructables) Gift Premium Account (/account/give?sourcea=footer)
Forums (/community/?categoryGroup=all&category=all)
Pinterest (http://www.pinterest.com/instructables)
Answers (/tag/type-question/?sort=RECENT)
Google+ (https://plus.google.com/+instructables)
Sitemap (/sitemap/)