https://wiki.archlinux.org/api.php?action=feedcontributions&user=Revinary&feedformat=atomArchWiki - User contributions [en]2024-03-29T10:01:01ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Install_Arch_Linux_on_a_removable_medium&diff=287856Install Arch Linux on a removable medium2013-12-13T14:09:46Z<p>Revinary: /* Architecture */ Chrooting into 64 bit linux requires 64 bit host installation.</p>
<hr />
<div>[[Category:Getting and installing Arch]]<br />
[[es:Installing Arch Linux on a USB key]]<br />
[[it:Installing Arch Linux on a USB key]]<br />
[[zh-CN:Installing Arch Linux on a USB key]]<br />
{{Related articles start}}<br />
{{Related|Beginners' Guide}}<br />
{{Related|Installation Guide}}<br />
{{Related|General Recommendations}}<br />
{{Related|General Troubleshooting}}<br />
{{Related articles end}}<br />
This page explains how to perform a regular Arch installation onto a USB key (or "flash drive"). In contrast to having a LiveUSB as covered in [[USB Installation Media]], the result will be a persistent installation identical to normal installation to HDD, but on a USB flash drive.<br />
<br />
== Preparation ==<br />
<br />
{{Note|At least 2 GiB of storage space is recommended. A modest set of packages will fit, leaving a little free space for storage.}}<br />
There are various ways of installing Arch on a USB stick, the simplest being from within Arch itself:<br />
<br />
* If you are already running Arch, simply [[pacman|install]] {{Pkg|arch-install-scripts}} and proceed with the [[Installation Guide]] just like you would from the iso, but you will not be using /dev/sda. Use {{ic|$ lsblk}} to get the /dev/sd* name of your USB key prior to installation.<br />
{{Warning|If you mistakingly format /dev/sda, you are likely to go about deleting everything on your hard drive.}}<br />
* An Arch Linux CD/USB can be used to install Arch onto the USB key, via booting the CD/USB and following the [[Installation Guide]]. If booting from a Live USB, the installation will have to be made on a different USB stick.<br />
* Or, if you have another Linux computer available (it need not be Arch), you can follow the instructions to [[Install_from_Existing_Linux|install from existing Linux]], and then skip to the configuration section.<br />
<br />
== Installation ==<br />
<br />
Follow the [https://wiki.archlinux.org/index.php/Installation_Guide Installation Guide] as you normally would, with these exceptions:<br />
<br />
* If cfdisk fails with "Partition ends in the final partial cylinder" fatal error, the only way to proceed is to kill all partitions on the drive. Open another terminal ({{ic|Alt+F2}}), type {{ic|fdisk /dev/sdX}} (where {{ic|sdX}} is your usb drive), print partition table (p), check that it's ok, delete it (d) and write changes (w). Now return to cfdisk.<br />
* It is highly recommended to review the [https://wiki.archlinux.org/index.php/SSD#Tips_for_Minimizing_SSD_Read.2FWrites Tips for Minimizing SSD Read/Writes] on the [[SSD]] wiki article prior to selecting a filesystem. To sum up, [http://fenidik.blogspot.com/2010/03/ext4-disable-journal.html.3 ext4 without a journal] should be fine. Recognize that flash has a limited number of writes, and a journaling file system will take some of these as the journal is updated. For this same reason, it is best to forget the swap partition. Note that this does not affect installing onto a USB hard drive.<br />
* Before creating the initial RAM disk {{ic|# mkinitcpio -p linux}}, in {{ic|/etc/mkinitcpio.conf}} add the {{ic|block}} hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace.<br />
* If you want to be able to continue to use the UFD device as a cross-platform removable drive, this can be accomplished by creating a partition housing an appropriate file system (most likely NTFS). Note that the data partition may need to be the first partition on the device, as Windows assumes that there can only be one partition on a removable device, and will happily automount an EFI system partition otherwise. Remember to install {{Pkg|dosfstools}} and {{Pkg|ntfs-3g}}. Some tools are available online that may allow you to flip the removable media bit on your UFD device this would trick operating systems into treating your UFD device as an external hard disk and allow you to use whichever partitioning scheme you choose.<br />
{{Warning|It is not possible to flip the removable media bit on every UFD device and attempting to use software that is incompatible with your device may damage it. Attempting to flip the removable media bit is '''not''' recommended.}}<br />
<br />
== Configuration ==<br />
<br />
* Make sure that {{ic|/etc/fstab}} includes the correct partition information for {{ic|/}}, and for any other partitions on the USB key. If the usb key is to be booted on several machines, it is quite likely that devices and number of available hard disks vary. So it is advised to use UUID or label:<br />
<br />
To get the proper UUIDs for your partitions issue '''blkid'''<br />
<br />
{{Note|<br />
* When GRUB is installed on the USB key, the key will always be {{ic|hd0,0}}.<br />
* It seems that current versions of GRUB will automatically default to using uuid. The following directions are for GRUB legacy.<br />
}}<br />
<br />
=== GRUB legacy ===<br />
<br />
{{ic|menu.lst}}, the GRUB legacy configuration file, should be edited to (loosely) match the following:<br />
With the static /dev/sdaX:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/sda1 ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
When using label your menu.lst should look like this:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/disk/by-label/'''Arch''' ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
And for UUID, it should be like this:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/3a9f8929-627b-4667-9db4-388c4eaaf9fa ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
=== Syslinux ===<br />
<br />
With the static /dev/sdaX<br />
<br />
LABEL Arch<br />
MENU LABEL Arch Linux<br />
LINUX ../vmlinuz-linux<br />
APPEND root=/dev/sdax ro<br />
INITRD ../initramfs-linux.img<br />
<br />
Using your UUID:<br />
<br />
LABEL Arch<br />
MENU LABEL Arch Linux<br />
LINUX ../vmlinuz-linux<br />
APPEND root=UUID=3a9f8929-627b-4667-9db4-388c4eaaf9fa ro<br />
INITRD ../initramfs-linux.img<br />
<br />
== Tips ==<br />
<br />
=== Using your USB install on multiple machines ===<br />
<br />
==== Architecture ====<br />
<br />
For the most versatile compatibility it is recommended that you install the i686 architecture because it will run on both 32 (IA-32) and 64 (amd64) bit architectures.<br />
<br />
Additionally, due to the reduzed size of 32 bit binaries and the absence of (possible) multilib packages, an i686 installation typically consumes less space than an equivalent x86_64 one.<br />
<br />
{{Note|Chrooting into a 64 bit linux installation (eg. when using the USB key as install/rescue media) is only possible from x86_64 Arch.}}<br />
<br />
==== Input drivers ====<br />
<br />
For laptop use (or use with a tactile screen) you will need the {{Pkg|xf86-input-synaptics}} package for the touchpad/touchscreen to work.<br />
<br />
For instructions on fine tuning or troubleshooting touchpad issues, see the [[Touchpad Synaptics]] article.<br />
<br />
==== Video drivers ====<br />
<br />
{{Note|The use of proprietary video drivers is '''not''' recommended for this type of installation.}}<br />
<br />
The recommended video drivers are: {{Pkg|xf86-video-vesa}} {{Pkg|mesa}} {{Pkg|xf86-video-ati}} {{Pkg|xf86-video-intel}} {{Pkg|xf86-video-nouveau}} {{Pkg|xf86-video-nv}}.<br />
<br />
For the most versatile compatibility install all of the open source video drivers include their multilib counterparts: {{Pkg|lib32-ati-dri}} {{Pkg|lib32-intel-dri}} {{Pkg|lib32-nouveau-dri}}.<br />
<br />
==== Persistent block device naming ====<br />
<br />
It is recommended to use [[UUID]] in both [[fstab]] and bootloader configuration. See [[Persistent block device naming]] for details.<br />
<br />
Alternatively, you may create udev rule to create custom symlink for your usb key. Then use this symlink in fstab and bootloader configuration. See [[udev#Setting static device names]] for details.<br />
<br />
==== Kernel parameters ====<br />
<br />
You may want to disable KMS for various reasons, such as getting a blank screen or a "no signal" error from the display, when using some Intel video cards, etc. To disable KMS, add {{ic|nomodeset}} as a kernel parameter. See [[Kernel parameters]] for more info.<br />
<br />
{{Warning|Some [[Xorg]] drivers will not work with KMS disabled. See the wiki page on your specific driver for details. Nouveau in particular needs KMS to determine the correct display resolution. If you add {{ic|nomodeset}} as a kernel parameter as a preemptive measure you may have to adjust the display resolution manually when using machines with Nvidia video cards. See [[Xrandr]] for more info.}}<br />
<br />
=== Compatibility ===<br />
<br />
The fallback image should be used for maximum compatibility.<br />
<br />
=== Optimizing for the lifespan of flash memory ===<br />
<br />
* Again, it is highly recommended to review the [[SSD#Tips_for_Minimizing_SSD_Read.2FWrites|Tips for Minimizing SSD Read/Writes]] on the [[SSD]] wiki article.<br />
<br />
== See also ==<br />
<br />
* [[Official Arch Linux Install Guide]]<br />
* [[Installing Arch Linux from VirtualBox]]<br />
* [[Solid State Drives]]</div>Revinaryhttps://wiki.archlinux.org/index.php?title=Install_Arch_Linux_on_a_removable_medium&diff=285202Install Arch Linux on a removable medium2013-11-29T13:44:54Z<p>Revinary: Please get your facts straight. i686 Arch runs on IA-32 AND amd64 Hardware. There is no support at all for IA-64 (i.e. Itanium), which is a COMPLETELY different beast with no significane on the desktop.</p>
<hr />
<div>[[Category:Getting and installing Arch]]<br />
[[es:Installing Arch Linux on a USB key]]<br />
[[it:Installing Arch Linux on a USB key]]<br />
[[zh-CN:Installing Arch Linux on a USB key]]<br />
{{Article summary start}}<br />
{{Article summary text|Guide to installing, configuring and using a full-featured Arch Linux system on a USB flash drive.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Beginners' Guide}}<br />
{{Article summary wiki|Installation Guide}}<br />
{{Article summary wiki|General Recommendations}}<br />
{{Article summary wiki|General Troubleshooting}}<br />
{{Article summary end}}<br />
<br />
This page explains how to perform a regular Arch installation onto a USB key (or "flash drive"). In contrast to having a LiveUSB as covered in [[USB Installation Media]], the result will be a persistent installation identical to normal installation to HDD, but on a USB flash drive.<br />
<br />
== Preparation ==<br />
<br />
{{Note|At least 2 GiB of storage space is recommended. A modest set of packages will fit, leaving a little free space for storage.}}<br />
There are various ways of installing Arch on a USB stick, the simplest being from within Arch itself:<br />
<br />
* If you are already running Arch, simply [[pacman|install]] {{Pkg|arch-install-scripts}} and proceed with the [[Installation Guide]] just like you would from the iso, but you will not be using /dev/sda. Use {{ic|$ lsblk}} to get the /dev/sd* name of your USB key prior to installation.<br />
{{Warning|If you mistakingly format /dev/sda, you are likely to go about deleting everything on your hard drive.}}<br />
* An Arch Linux CD/USB can be used to install Arch onto the USB key, via booting the CD/USB and following the [[Installation Guide]]. If booting from a Live USB, the installation will have to be made on a different USB stick.<br />
* Or, if you have another Linux computer available (it need not be Arch), you can follow the instructions to [[Install_from_Existing_Linux|install from existing Linux]], and then skip to the configuration section.<br />
<br />
== Installation ==<br />
<br />
Follow the [https://wiki.archlinux.org/index.php/Installation_Guide Installation Guide] as you normally would, with these exceptions:<br />
<br />
* If cfdisk fails with "Partition ends in the final partial cylinder" fatal error, the only way to proceed is to kill all partitions on the drive. Open another terminal ({{ic|Alt+F2}}), type {{ic|fdisk /dev/sdX}} (where {{ic|sdX}} is your usb drive), print partition table (p), check that it's ok, delete it (d) and write changes (w). Now return to cfdisk.<br />
* It is highly recommended to review the [https://wiki.archlinux.org/index.php/SSD#Tips_for_Minimizing_SSD_Read.2FWrites Tips for Minimizing SSD Read/Writes] on the [[SSD]] wiki article prior to selecting a filesystem. To sum up, ext4 without a journal should be fine. Recognize that flash has a limited number of writes, and a journaling file system will take some of these as the journal is updated. For this same reason, it is best to forgo a swap partition. Note that this does not affect installing onto a USB hard drive.<br />
* Before creating the initial RAM disk {{ic|# mkinitcpio -p linux}}, in {{ic|/etc/mkinitcpio.conf}} add the {{ic|block}} hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace.<br />
* If you want to be able to continue to use the UFD device as a cross-platform removable drive, this can be accomplished by creating a partition housing an appropriate file system (most likely NTFS). Note that the data partition may need to be the first partition on the device, as Windows assumes that there can only be one partition on a removable device, and will happily automount an EFI system partition otherwise. Remember to install {{Pkg|dosfstools}} and {{Pkg|ntfs-3g}}. Some tools are available online that may allow you to flip the removable media bit on your UFD device this would trick operating systems into treating your UFD device as an external hard disk and allow you to use whichever partitioning scheme you choose.<br />
{{Warning|It is not possible to flip the removable media bit on every UFD device and attempting to use software that is incompatible with your device may dammage it. Attempting to flip the removable media bit is '''not''' recommended.}}<br />
<br />
== Configuration ==<br />
<br />
* Make sure that {{ic|/etc/fstab}} includes the correct partition information for {{ic|/}}, and for any other partitions on the USB key. If the usb key is to be booted on several machines, it is quite likely that devices and number of available hard disks vary. So it is advised to use UUID or label:<br />
<br />
To get the proper UUIDs for your partitions issue '''blkid'''<br />
<br />
{{Note|<br />
* When GRUB is installed on the USB key, the key will always be {{ic|hd0,0}}.<br />
* It seems that current versions of GRUB will automatically default to using uuid. The following directions are for GRUB legacy.<br />
}}<br />
<br />
=== GRUB legacy ===<br />
<br />
{{ic|menu.lst}}, the GRUB legacy configuration file, should be edited to (loosely) match the following:<br />
With the static /dev/sdaX:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/sda1 ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
When using label your menu.lst should look like this:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/disk/by-label/'''Arch''' ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
And for UUID, it should be like this:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/3a9f8929-627b-4667-9db4-388c4eaaf9fa ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
=== Syslinux ===<br />
<br />
With the static /dev/sdaX<br />
<br />
LABEL Arch<br />
MENU LABEL Arch Linux<br />
LINUX ../vmlinuz-linux<br />
APPEND root=/dev/sdax ro<br />
INITRD ../initramfs-linux.img<br />
<br />
Using your UUID:<br />
<br />
LABEL Arch<br />
MENU LABEL Arch Linux<br />
LINUX ../vmlinuz-linux<br />
APPEND root=UUID=3a9f8929-627b-4667-9db4-388c4eaaf9fa ro<br />
INITRD ../initramfs-linux.img<br />
<br />
== Tips ==<br />
<br />
=== Using your USB install on multiple machines ===<br />
<br />
==== Architecture ====<br />
<br />
For the most versatile compatibility it is recommended that you install the i686 architecture because it will run on both 32 (IA-32) and 64 (amd64) bit architectures.<br />
<br />
Additionally, due to the reduzed size of 32 bit binaries and the absence of (possible) multilib packages, an i686 installation typically consumes less space than an equivalent x86_64 one.<br />
<br />
==== Input drivers ====<br />
<br />
For laptop use (or use with a tactile screen) you will need the {{Pkg|xf86-input-synaptics}} package for the touchpad/touchscreen to work.<br />
<br />
For instructions on fine tuning or troubleshooting touchpad issues, see the [[Touchpad Synaptics]] article.<br />
<br />
==== Video drivers ====<br />
<br />
{{Note|The use of proprietary video drivers is '''not''' recommended for this type of installation.}}<br />
<br />
The recommended video drivers are: {{Pkg|xf86-video-vesa}} {{Pkg|mesa}} {{Pkg|xf86-video-ati}} {{Pkg|xf86-video-intel}} {{Pkg|xf86-video-nouveau}} {{Pkg|xf86-video-nv}}.<br />
<br />
For the most versatile compatibility install all of the open source video drivers include their multilib counterparts: {{Pkg|lib32-ati-dri}} {{Pkg|lib32-intel-dri}} {{Pkg|lib32-nouveau-dri}}.<br />
<br />
==== Persistent block device naming ====<br />
<br />
It is recommended to use [[UUID]] in both [[fstab]] and bootloader configuration. See [[Persistent block device naming]] for details.<br />
<br />
Alternatively, you may create udev rule to create custom symlink for your usb key. Then use this symlink in fstab and bootloader configuration. See [[udev#Setting static device names]] for details.<br />
<br />
==== Kernel parameters ====<br />
<br />
You may want to disable KMS for various reasons, such as getting a blank screen or a "no signal" error from the display, when using some Intel video cards, etc. To disable KMS, add {{ic|nomodeset}} as a kernel parameter. See [[Kernel parameters]] for more info.<br />
<br />
{{Warning|Some [[Xorg]] drivers will not work with KMS disabled. See the wiki page on your specific driver for details. Nouveau in particular needs KMS to determine the correct display resolution. If you add {{ic|nomodeset}} as a kernel parameter as a preemptive measure you may have to adjust the display resolution manually when using machines with Nvidia video cards. See [[Xrandr]] for more info.}}<br />
<br />
=== Compatibility ===<br />
<br />
The fallback image should be used for maximum compatibility.<br />
<br />
=== Optimizing for the lifespan of flash memory ===<br />
<br />
* Again, it is highly recommended to review the [[SSD#Tips_for_Minimizing_SSD_Read.2FWrites|Tips for Minimizing SSD Read/Writes]] on the [[SSD]] wiki article.<br />
<br />
== See also ==<br />
<br />
* [[Official Arch Linux Install Guide]]<br />
* [[Installing Arch Linux from VirtualBox]]<br />
* [[Solid State Drives]]</div>Revinaryhttps://wiki.archlinux.org/index.php?title=Install_Arch_Linux_on_a_removable_medium&diff=284055Install Arch Linux on a removable medium2013-11-22T10:48:58Z<p>Revinary: /* Architecture */ The suggested architecture of arch on usb keys should be 32 bit for the stated reasons.</p>
<hr />
<div>[[Category:Getting and installing Arch]]<br />
[[es:Installing Arch Linux on a USB key]]<br />
[[it:Installing Arch Linux on a USB key]]<br />
[[zh-CN:Installing Arch Linux on a USB key]]<br />
{{Article summary start}}<br />
{{Article summary text|Guide to installing, configuring and using a full-featured Arch Linux system on a USB flash drive.}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|Beginners' Guide}}<br />
{{Article summary wiki|Installation Guide}}<br />
{{Article summary wiki|General Recommendations}}<br />
{{Article summary wiki|General Troubleshooting}}<br />
{{Article summary end}}<br />
<br />
This page explains how to perform a regular Arch installation onto a USB key (or "flash drive"). In contrast to having a LiveUSB as covered in [[USB Installation Media]], the result will be a persistent installation identical to normal installation to HDD, but on a USB flash drive.<br />
<br />
== Preparation ==<br />
<br />
{{Note|At least 2 GiB of storage space is recommended. A modest set of packages will fit, leaving a little free space for storage.}}<br />
There are various ways of installing Arch on a USB stick, the simplest being from within Arch itself:<br />
<br />
* If you are already running Arch, simply [[pacman|install]] {{Pkg|arch-install-scripts}} and proceed with the [[Installation Guide]] just like you would from the iso, but you will not be using /dev/sda. Use {{ic|$ lsblk}} to get the /dev/sd* name of your USB key prior to installation.<br />
{{Warning|If you mistakingly format /dev/sda, you are likely to go about deleting everything on your hard drive.}}<br />
* An Arch Linux CD/USB can be used to install Arch onto the USB key, via booting the CD/USB and following the [[Installation Guide]]. If booting from a Live USB, the installation will have to be made on a different USB stick.<br />
* Or, if you have another Linux computer available (it need not be Arch), you can follow the instructions to [[Install_from_Existing_Linux|install from existing Linux]], and then skip to the configuration section.<br />
<br />
== Installation ==<br />
<br />
Follow the [https://wiki.archlinux.org/index.php/Installation_Guide Installation Guide] as you normally would, with these exceptions:<br />
<br />
* If cfdisk fails with "Partition ends in the final partial cylinder" fatal error, the only way to proceed is to kill all partitions on the drive. Open another terminal ({{ic|Alt+F2}}), type {{ic|fdisk /dev/sdX}} (where {{ic|sdX}} is your usb drive), print partition table (p), check that it's ok, delete it (d) and write changes (w). Now return to cfdisk.<br />
* It is highly recommended to review the [https://wiki.archlinux.org/index.php/SSD#Tips_for_Minimizing_SSD_Read.2FWrites Tips for Minimizing SSD Read/Writes] on the [[SSD]] wiki article prior to selecting a filesystem. To sum up, ext4 without a journal should be fine. Recognize that flash has a limited number of writes, and a journaling file system will take some of these as the journal is updated. For this same reason, it is best to forgo a swap partition. Note that this does not affect installing onto a USB hard drive.<br />
* Before creating the initial RAM disk {{ic|# mkinitcpio -p linux}}, in {{ic|/etc/mkinitcpio.conf}} add the {{ic|block}} hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace.<br />
* If you want to be able to continue to use the UFD device as a cross-platform removable drive, this can be accomplished by creating a partition housing an appropriate file system (most likely NTFS). Note that the data partition may need to be the first partition on the device, as Windows assumes that there can only be one partition on a removable device, and will happily automount an EFI system partition otherwise. Remember to install {{Pkg|dosfstools}} and {{Pkg|ntfs-3g}}. Some tools are available online that may allow you to flip the removable media bit on your UFD device this would trick operating systems into treating your UFD device as an external hard disk and allow you to use whichever partitioning scheme you choose.<br />
{{Warning|It is not possible to flip the removable media bit on every UFD device and attempting to use software that is incompatible with your device may dammage it. Attempting to flip the removable media bit is '''not''' recommended.}}<br />
<br />
== Configuration ==<br />
<br />
* Make sure that {{ic|/etc/fstab}} includes the correct partition information for {{ic|/}}, and for any other partitions on the USB key. If the usb key is to be booted on several machines, it is quite likely that devices and number of available hard disks vary. So it is advised to use UUID or label:<br />
<br />
To get the proper UUIDs for your partitions issue '''blkid'''<br />
<br />
{{Note|<br />
* When GRUB is installed on the USB key, the key will always be {{ic|hd0,0}}.<br />
* It seems that current versions of GRUB will automatically default to using uuid. The following directions are for GRUB legacy.<br />
}}<br />
<br />
=== GRUB legacy ===<br />
<br />
{{ic|menu.lst}}, the GRUB legacy configuration file, should be edited to (loosely) match the following:<br />
With the static /dev/sdaX:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/sda1 ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
When using label your menu.lst should look like this:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/disk/by-label/'''Arch''' ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
And for UUID, it should be like this:<br />
<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/3a9f8929-627b-4667-9db4-388c4eaaf9fa ro<br />
initrd /boot/initramfs-linux.img<br />
<br />
=== Syslinux ===<br />
<br />
With the static /dev/sdaX<br />
<br />
LABEL Arch<br />
MENU LABEL Arch Linux<br />
LINUX ../vmlinuz-linux<br />
APPEND root=/dev/sdax ro<br />
INITRD ../initramfs-linux.img<br />
<br />
Using your UUID:<br />
<br />
LABEL Arch<br />
MENU LABEL Arch Linux<br />
LINUX ../vmlinuz-linux<br />
APPEND root=UUID=3a9f8929-627b-4667-9db4-388c4eaaf9fa ro<br />
INITRD ../initramfs-linux.img<br />
<br />
== Tips ==<br />
<br />
=== Using your USB install on multiple machines ===<br />
<br />
==== Architecture ====<br />
<br />
For the most versatile compatibility it is recommended that you install the i686 architecture because it will run on both 32 and 64 bit architectures.<br />
<br />
Additionally, due to the reduzed size of 32 bit binaries and the absence of (possible) multilib packages, an i686 installation typically consumes less space than an equivalent x86_64 one.<br />
<br />
==== Input drivers ====<br />
<br />
For laptop use (or use with a tactile screen) you will need the {{Pkg|xf86-input-synaptics}} package for the touchpad/touchscreen to work.<br />
<br />
For instructions on fine tuning or troubleshooting touchpad issues, see the [[Touchpad Synaptics]] article.<br />
<br />
==== Video drivers ====<br />
<br />
{{Note|The use of proprietary video drivers is '''not''' recommended for this type of installation.}}<br />
<br />
The recommended video drivers are: {{Pkg|xf86-video-vesa}} {{Pkg|mesa}} {{Pkg|xf86-video-ati}} {{Pkg|xf86-video-intel}} {{Pkg|xf86-video-nouveau}} {{Pkg|xf86-video-nv}}.<br />
<br />
For the most versatile compatibility install all of the open source video drivers include their multilib counterparts: {{Pkg|lib32-ati-dri}} {{Pkg|lib32-intel-dri}} {{Pkg|lib32-nouveau-dri}}.<br />
<br />
==== Persistent block device naming ====<br />
<br />
It is recommended to use [[UUID]] in both [[fstab]] and bootloader configuration. See [[Persistent block device naming]] for details.<br />
<br />
Alternatively, you may create udev rule to create custom symlink for your usb key. Then use this symlink in fstab and bootloader configuration. See [[udev#Setting static device names]] for details.<br />
<br />
==== Kernel parameters ====<br />
<br />
You may want to disable KMS for various reasons, such as getting a blank screen or a "no signal" error from the display, when using some Intel video cards, etc. To disable KMS, add {{ic|nomodeset}} as a kernel parameter. See [[Kernel parameters]] for more info.<br />
<br />
{{Warning|Some [[Xorg]] drivers will not work with KMS disabled. See the wiki page on your specific driver for details. Nouveau in particular needs KMS to determine the correct display resolution. If you add {{ic|nomodeset}} as a kernel parameter as a preemptive measure you may have to adjust the display resolution manually when using machines with Nvidia video cards. See [[Xrandr]] for more info.}}<br />
<br />
=== Compatibility ===<br />
<br />
The fallback image should be used for maximum compatibility.<br />
<br />
=== Optimizing for the lifespan of flash memory ===<br />
<br />
* Again, it is highly recommended to review the [[SSD#Tips_for_Minimizing_SSD_Read.2FWrites|Tips for Minimizing SSD Read/Writes]] on the [[SSD]] wiki article.<br />
<br />
== See also ==<br />
<br />
* [[Official Arch Linux Install Guide]]<br />
* [[Installing Arch Linux from VirtualBox]]<br />
* [[Solid State Drives]]</div>Revinary