Advices to partition layout
I have a 16 gb micro sd card and a 500gb sata via usb which will be used on rpi.
It will have at least this three partitions: Code:
/dev/mmcblkp0 /boot |
do not use sdcard, but use your hard disk instead (for swap, for storage, for home, for whatever). Especially /etc may be on sdcard, but hdd is much faster (even a pendrive is faster than that sdcard). But it also depends on what is running on your pi.
|
Keep in mind that to have /etc on an extra partition you will have to create your own customized init script inside an initramfs/initrd.
|
I did not use anything less then necessary from sdcard, so:
Code:
/dev/mmcblkp0 /boot |
This, worked on first boot, but when a i had to switch it on / off, did not boot again.
Code:
/dev/mmcblkp0 /boot Code:
/dev/mmcblkp0 /boot |
I cant boot with swap on other device than the one with / so my final /etc/fstab:
Code:
/dev/mmcblkp0 /boot |
All times are GMT -5. The time now is 04:36 AM. |