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:http://dwz.cn/JKYNT,Pi2:/http Images.offensive-security.com/arm/kali-1.1.0-rpi2.img.xz).

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://dwz.cn/JlBNK.

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://dwz.cn/JL2ye,

Add in SD card Cmdline.txt

Vncinstall ipv4=192.168.88.88/255.255.255.0/192.168.88.1

Change the computer's wired network card IP to 192.168.88.1/255.255.255.0 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://dwz.cn/JLbKT 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.

2.

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:

http://www.redrobe.com/mike/boot-raspberry-pi-from-a-16mb-sd-card/

Http://www.engineersgarage.com/embedded/raspberry-pi/how-to-load-ubuntu-on-raspberry-pi

Http://raspberrypi.stackexchange.com/questions/1187/boot-from-external-usb-stick-drive

Http://raspberrypi.stackexchange.com/questions/757/boot-from-usb-hard-disk?rq=1

Reference 2 (Berryboot):

Http://www.berryterminal.com/doku.php/berryboot

Label and UUID:

Http://blog.sina.com.cn/s/blog_54f82cc201011j8c.html

Http://blog.sina.com.cn/s/blog_71f3890901013dl2.html

Http://www.firekyrin.com/archives/3162.html

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: info-contact@alibabacloud.com 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.