Difference between revisions of "Talk:Install/Prepare Disk"

From Funtoo
Jump to: navigation, search
m (first rule of funtoo is funtoo rules: trigger to make it less noisy)
(tighten formatting for insertion in official documentation. every drive is pointed away from potential windows installs, except for mmc.)
Line 1: Line 1:
 
===first rule of funtoo is funtoo rules===
 
===first rule of funtoo is funtoo rules===
ide drive 3
+
set udev rules to make the drive you're installing to accessible at /dev/funtoo and partitions accessible at /dev/funtoo1 /dev/funtoo2 so on.
 +
 
 +
*ide drive 3 example:
 
{{console|body=
 
{{console|body=
 
###i## echo 'KERNEL=="hdd*", SYMLINK+="funtoo%n"' > /etc/udev/rules.d/01-funtoo.rules
 
###i## echo 'KERNEL=="hdd*", SYMLINK+="funtoo%n"' > /etc/udev/rules.d/01-funtoo.rules
Line 6: Line 8:
 
}}
 
}}
  
sata drive 2
+
*sata drive 2 example:
 
{{console|body=
 
{{console|body=
 
###i## echo 'KERNEL=="sdc*", SYMLINK+="funtoo%n"' > /etc/udev/rules.d/01-funtoo.rules
 
###i## echo 'KERNEL=="sdc*", SYMLINK+="funtoo%n"' > /etc/udev/rules.d/01-funtoo.rules
Line 12: Line 14:
 
}}
 
}}
  
nvme nvme drive 1 *needs testing & maybe fixing for the p number stuff
+
*nvme nvme drive 1 example:
 
{{console|body=
 
{{console|body=
 
###i## echo 'KERNEL=="nvme1n1", SYMLINK+="funtoo"' > /etc/udev/rules.d/01-funtoo.rules
 
###i## echo 'KERNEL=="nvme1n1", SYMLINK+="funtoo"' > /etc/udev/rules.d/01-funtoo.rules
Line 19: Line 21:
 
}}
 
}}
  
mmc drive 0 *needs testing & maybe fixing for the p number stuff
+
*mmc drive 0 example:
 
{{console|body=
 
{{console|body=
 
###i## echo 'KERNEL=="mmcblk0", SYMLINK+="funtoo"' > /etc/udev/rules.d/01-funtoo.rules
 
###i## echo 'KERNEL=="mmcblk0", SYMLINK+="funtoo"' > /etc/udev/rules.d/01-funtoo.rules
Line 25: Line 27:
 
###i## rc-service udev-trigger restart
 
###i## rc-service udev-trigger restart
 
}}
 
}}
 
 
then everybody is copy paste:
 
*cgdisk /dev/funtoo
 
*mount /dev/funtoo3
 
*mount /dev/funtoo1
 
 
need testing with partlabels and labels.  i tested with grub and that went fine.
 

Revision as of 20:09, December 4, 2020

first rule of funtoo is funtoo rules

set udev rules to make the drive you're installing to accessible at /dev/funtoo and partitions accessible at /dev/funtoo1 /dev/funtoo2 so on.

  • ide drive 3 example:
root # echo 'KERNEL=="hdd*", SYMLINK+="funtoo%n"' > /etc/udev/rules.d/01-funtoo.rules
root # rc-service udev-trigger restart
  • sata drive 2 example:
root # echo 'KERNEL=="sdc*", SYMLINK+="funtoo%n"' > /etc/udev/rules.d/01-funtoo.rules
root # rc-service udev-trigger restart
  • nvme nvme drive 1 example:
root # echo 'KERNEL=="nvme1n1", SYMLINK+="funtoo"' > /etc/udev/rules.d/01-funtoo.rules
root # echo 'KERNEL=="nvme1n1p*", SYMLINK+="funtoo%n"' >> /etc/udev/rules.d/01-funtoo.rules
root # rc-service udev-trigger restart
  • mmc drive 0 example:
root # echo 'KERNEL=="mmcblk0", SYMLINK+="funtoo"' > /etc/udev/rules.d/01-funtoo.rules
root # echo 'KERNEL=="mmcblk0p*", SYMLINK+="funtoo%n"' >> /etc/udev/rules.d/01-funtoo.rules
root # rc-service udev-trigger restart