注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Draft Funtoo Install on RPI/Partition and Format

From Funtoo
< Draft Funtoo Install on RPI
Revision as of 18:13, February 9, 2019 by D4g33z (talk | contribs) (Created page with "== Partition and Format an SDCard == {{console|body= ###i## export SDCARD=/dev/SDCARD_DEV }} ==== Randomize SDCard ==== {{console|body= ###i## dd if=/dev/urandom of=${SDCARD}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Partition and Format an SDCard

root # export SDCARD=/dev/SDCARD_DEV

Randomize SDCard

root # dd if=/dev/urandom of=${SDCARD} bs=1M status=progress

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 No results installed.

root # mkfs.ext4 ${SDCARD}2
root # mkfs.vfat ${SDCARD}1

Next: Install the Stage 3 Tarball