Do not boot Raspberry Pi from SD card 2

Source: Internet
Author: User

In this article you can learn:

Berryboot use, Kali installation, open-hung mobaxterm, and tips on mounting via label and UUID.

This article defaults to the Linux Foundation you have, and also for the level of just getting started, because this is my toss record. Do not know can leave a message or email.

The first thing to be clear is that now is not completely out of the SD card method, because PI is the default from the SD card boot. Just realized put the system in other places (U disk, hard drive, local area network), but still want to have an SD card (can be very small, within 64M can) as/boot to boot, can not be completely started from the USB stick, but after starting to unplug the SD card to run.

I only have a 16G SD card, the other three is 64m,256m and 1G, can not fit the larger system (there are also ultra-small systems such as minibian,picore, etc.). Just at hand and from the old sister that false a card-type U disk, used to match the 64M card start Bai, loaded Kali Raspberry Pi Customized version (download page:,Pi2:/http

and on the disk partition can be a partition on a system, on the SD card Select which partition to start. In addition, you can start from the external drive, there is feedback to write the CPU occupancy rate will be reduced, the speed should also be faster, before I hung a quick scrap of the pen this hard disk when nas+ download machine, now also can put the system directly on the hard disk. You can boot from network NFS, such as Http://

The article on the Raspberry Pi Lab used the uboot to be more troublesome. Here berryboot is used and no monitor operation is supported. Re-reference some of the articles, recorded as follows.

1. If you already have an SD card to start the PI, then plug the USB stick, enter

sudo fdisk–l

See if PI can identify the USB flash drive, and it doesn't recognize the next boot. If the failure can try to compile the kernel support itself, for the time being I will not make it myself, Hundred Valley Tiger.

2. Format the small SD card as FAT32 format and extract the downloaded berryboot to the SD card root directory. Because I do not have a monitor, refer to official website document Http://,

Add in SD card Cmdline.txt

Vncinstall ipv4=

Change the computer's wired network card IP to and leave the gateway blank.

Note A. Use the default IP, do not change it yourself; b. Add content and original content in your peers, do not start another line. C.vnc can only enter the above IP address, without the display number, the default display number is 0, that is, 5901. D. reference link using WLAN.

3. If you want to add an image that is not in the Berryboot repository, such as Kali, you need to modify the image (delete the boot partition, which is the partition you can see in Windows after you burn it). Reference:

Http:// need to install the KPARTX and Squashfs-tools packages in the existing system, the other direct copy of the official website command is available.

4. After the modification of the definition of the image to the other USB stick or what, anyway, not to burn the USB stick on the line. Plug in the SD card, network cable and U disk, open VNC, even on the Raspberry Pi Berryboot, according to the operation of the line. Installed after inserting back the original system SD card, and then modify the system interfaces file on the U disk, to ensure that you can connect to the computer convenient operation on the line. Of course, the most recommended is the usb2ttl,10 block wallet mail, very useful.

5.kali 1.1.0 use is Xfce4 desktop environment, set Mobaxterm, you can directly login Kali graphical interface ~ Do not need vnc,xrdp what.

#===== use Berryboot, the following content can not see ======#

Ps:kali can not enter terminal, try Dietpi

2. First the need to start the image burned to the U disk (with Win32diskimager or DD to burn IMG, other formats may be compressed package, need to decompress) method please refer to Rich thigh video commentary (no Voice difference rating!). By the way help rich thigh propaganda her (eye-catching!) ) of the community, called What I do not know, anyway this is not the point.


3. Can be recognized to modify the/boot/cmdline.txt, change the ROOT=/DEV/MMCBLK0P2 to you see, such as I am sda2, a better way is to set the LABEL or UUID (through the blkid Command view), such as root=label= Fudatui or root=uuid=cb99-9527 ("Mr. Hello, I am work No. 9527"), so even if there is a mobile hard disk is not afraid, of course, can be mounted after the event such as mount-a, equivalent to Fstab again. Note the "rootwait" parameter, which causes the boot process to wait for the root partition to be recognized before continuing.

#======== Neglect completed ============#

Reference 1:




Reference 2 (Berryboot):


Label and UUID:




Unlike the tools used to label different file systems, FAT and NTFS can be changed directly under Windows.

e2label–>ext234. Personal advice label, because some of the UUID is too long. In the fstab inside change is not afraid of SDA change sdb or something.

Do not boot Raspberry Pi from SD card 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.