Hardware Reference
In-Depth Information
Pidora labels the partitions on the SD card boot and root , but Raspbian does not
use disk labels, so it is especially important to note the device names for that dis-
tribution.
Modern Linux distributions (on your separate computer), such as Fedora or Ubuntu,
will auto-mount the partitions on the SD card when it is inserted and provide some
sort of notification of this event. However, if you're not sure, running the mount com-
mand should list all mounted partitions on the system. You are looking for something
like /dev/mmcblk0p1 , which means the first partition ( p1 ) on the MMC block ( mmcblk )
device:
[spot@wolverine ~]$ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
...
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/mmcblk0p1 on /run/media/spot/boot type vfat (rw,nosuid,nodev,rela
time,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=as
cii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/mmcblk0p2 on /run/media/spot/rootfs type ext4 (rw,nosuid,nodev,rela
time,data=ordered,uhelper=udisks2)
The last two lines in the output identify the MMC block device partitions mounted
in /run/media/spot/boot and /run/media/spot/rootfs , respectively.
Linux uses the term MMC to describe the driver for both MultiMediaCard and Se-
cure Digital (SD) formats.
If your SD card is not mounted automatically, make sure it's inserted and look at the
output from the dmesg command. You do not need to pass any options to dmesg (al-
though piping it through less is always a good idea). When you run it, it will print out
quite a bit of stuff, but the output is in order from the last time you have booted your
Linux system.
You'll want to look at the end of the output. Specifically, you look toward the end of
the output to figure out the name of the MMC block device. Figure 1-1 shows an ex-
ample of the sort of messages you are looking for.
 
Search WWH ::




Custom Search