Getting partition to automount on boot
gilbertf at gmail.com
Sun Oct 18 19:06:05 CEST 2009
I went to tuxfiles.org to get the skinny on /etc/fstab, and now it
works as I tought it should. Thanks!
Le 09-10-18 à 12:13, Joachim Ott a écrit :
> 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
>> 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
> support mailing list
> support at lists.openmoko.org
More information about the support