Getting partition to automount on boot
jo.omsl at googlemail.com
Sun Oct 18 18:13:01 CEST 2009
2009/10/18 François-Léonard Gilbert <gilbertf at gmail.com>:
> Hi all,
> I'm not used to Linux in general, so you will have to excuse the basic
> Linux question: how do I configure my FR to automount ALL my SD
> card's partitions at boot?
> Setup: I have QtMoko in NAND, and 2 partitions on my SD card:
> 1) uImage.bin - useless except when I want to boot from SD
> 2) the rest of the card, with all my map files, MP3 etc.
> At boot, QtMoko mounts only the first partition in /media/card/, and I
> have to mount the useful one manually each time I reboot.
Add an entry to /etc/fstab (/media/card seems to be in there already):
/dev/mmcblk0p2 /media/mmcblk0p2 auto defaults,async,auto 0 2
- before that do a "mkdir /media/mmcblk0p2"
- do a "man fstab" on your desktop pc to learn the meaning of the
fields in /etc/fstab
More information about the support