Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Draft Funtoo Install on RPI/Partition and Format"
Jump to navigation
Jump to search
m |
|||
Line 2: | Line 2: | ||
{{console|body= | {{console|body= | ||
###i## export SDCARD=/dev/${SDCARD_DEV} | ###i## export SDCARD=/dev/${SDCARD_DEV} | ||
}} | }} | ||
==== Write Parition Scheme to SDCard ==== | ==== Write Parition Scheme to SDCard ==== |
Latest revision as of 20:55, February 9, 2019
Partition and Format an SDCard
root # export SDCARD=/dev/${SDCARD_DEV}
Write Parition Scheme to SDCard
root # umount -Rl ${SDCARD} root # sfdisk --no-reread --wipe always ${SDCARD} << EOF root ##i## label: dos root ##i## unit: sectors root ##i## ${SDCARD}1 : start= 2048, size= 1048576, type=c root ##i## ${SDCARD}2 : start= 1050624, type=83 root ##i## EOF
Format SDCard
Make sure you have 没有结果 installed.
root # mkfs.ext4 ${SDCARD}2 root # mkfs.vfat ${SDCARD}1