1,885
edits
Changes
→Raspberry-Pi Specific Configuration
To manage users graphically, use the menu option Administration > Users and Groups
= RaspberryPi-Pi Specific Configuration =
The first (FAT) partition on the SD card is mounted as <code>/boot</code>. There area couple of things specific to the Raspberry Pi that can be done in this partition. == Changing the Memory Mix == The Raspberry Pi (model B) ships with 256M of memory. This memory is split between the ARM and GPU halves of the System-on-a-Chip (SOC). You can change the memory allocation by selecting a different start.elf program: * For a 128M ARM / 128M GPU split (for heavy graphics): <code>cp /boot/arm128_start.elf /boot/start.elf</code>* For a 192M ARM / 64M GPU split (general computing): <code>cp /boot/arm192_start.elf /boot/start.elf</code>* For a 224M ARM / 32M GPU split (simple display): <code>cp /boot/arm224_start.elf /boot/start.elf</code> Then reboot the system. == Altering the Kernel Command Line == The file <code>/boot/cmdline.txt</code> contains the kernel command line. The default contents are: dwc_otg.lpm_enable=0 console=ttyAMAO,115200 kgdboc=ttyAMAO,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait === Reducing Kernel Messages === The number of kernel messages produced can be reduced by adding "quiet" to the command line. === Using a USB Drive for Storage === Although the boot files must be on the SD card, the Linux filesystem may be on an external drive. To use such an external drive:# Obtain a USB disk drive and attach it to your Raspberry Pi.# Create a partition at least as large as the second partition on the SD card using the <code>fdisk</code> command. In this example, it's assumed that this partition is the first one on the USB disk.# Copy the contents of the second SD card partition to the disk drive: <code>dd if=/dev/mmcblk0p2 of=/dev/sda''1''</code># Since the copy was made of the SD card while it was in use, the filesystem copy on the hard disk will be marked as "dirty". Use the filesystem check command to check and clean it: <code>fsck -y -f /dev/sda''1''</code># Edit <code>/boot/cmdline.txt</code> to change the root device: <code>root=/dev/sda1</code>