archlinux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
archlinux [2012/11/17 20:18] – [Useful things] fly-away | archlinux [2013/05/21 12:51] – [ArchLinux arm installation on toshiba ac100] stuw | ||
---|---|---|---|
Line 14: | Line 14: | ||
cd ~/Downloads | cd ~/Downloads | ||
wget http:// | wget http:// | ||
- | http:// | + | http:// |
| | ||
===Untarring fs on SD=== | ===Untarring fs on SD=== | ||
Line 22: | Line 22: | ||
cd /mnt | cd /mnt | ||
sudo tar xvf ~/ | sudo tar xvf ~/ | ||
- | sudo cp ~/ | + | sudo cp ~/ |
===Installing kernel into the trimslice fs=== | ===Installing kernel into the trimslice fs=== | ||
Line 34: | Line 34: | ||
pacman -R linux-trimslice linux-headers-trimslice nvidia-trimslice # Remove unneeded trimslice stuff | pacman -R linux-trimslice linux-headers-trimslice nvidia-trimslice # Remove unneeded trimslice stuff | ||
rm / | rm / | ||
- | pacman -U / | + | pacman -U / |
+ | |||
+ | abootimg --create / | ||
+ | -k / | ||
+ | -r / | ||
+ | -f / | ||
+ | |||
+ | Now you should find out which partition is you bootpart | ||
+ | run | ||
+ | for f in / | ||
+ | For me output was like **/ | ||
+ | So, lets write kernel and initramfs here: | ||
dd if=/ | dd if=/ | ||
exit | exit | ||
Line 44: | Line 55: | ||
reboot # | reboot # | ||
access the system as usr=root, pwd=root. | access the system as usr=root, pwd=root. | ||
- | |||
====Arch base configuration==== | ====Arch base configuration==== | ||
be careful: you have a base survive vi installation.. don't use arrows :) | be careful: you have a base survive vi installation.. don't use arrows :) | ||
Line 129: | Line 139: | ||
pacman -S xorg-server xterm xf86-video-fbdev lxterminal lxrandr ttf-dejavu | pacman -S xorg-server xterm xf86-video-fbdev lxterminal lxrandr ttf-dejavu | ||
pacman -S xf86-input-synaptics #needed for a usable touchpad | pacman -S xf86-input-synaptics #needed for a usable touchpad | ||
- | pacman -S openbox tint2 geany modemmanager vim evince gpicview pcmanfm polkit \ | + | pacman -S openbox tint2 geany modemmanager vim sudo evince gpicview pcmanfm polkit \ |
- | lxtask htop laptop-mode-tools laptop-detect powertop lightdm | + | lxtask htop laptop-mode-tools laptop-detect powertop lightdm |
- | pacman -S networkmanager network-manager-applet gnome-keyring | + | # You can use wifi-menu or wicd instead of network-manager |
+ | pacman -S networkmanager network-manager-applet gnome-keyring | ||
====Create a user==== | ====Create a user==== | ||
- | | + | |
- | | + | useradd -m -g users $username |
+ | usermod -aG bin, | ||
+ | passwd $username | ||
+ | |||
+ | ====Run X==== | ||
+ | systemctl start lightdm | ||
+ | If all goes well, you may add lightdm to autostart | ||
+ | | ||
====Useful things==== | ====Useful things==== | ||
- | You also may add repo **fly-ac100** into you **/ | + | ZramSwap |
- | \\ Source pkgbuilds: [[https:// | + | |
- | | + | |
- | | + | |
- | Install sortware from new repo: | + | |
- | pacman | + | |
- | + | ||
- | [[hw_accelerated_video_playback# | + | |
+ | See also: | ||
[[headphones_insertion_handling|Autoswitch speakers and backlight]] | [[headphones_insertion_handling|Autoswitch speakers and backlight]] | ||
[[https:// | [[https:// | ||
+ | ====OpenGLES2 and hardware video decoding==== | ||
+ | |||
+ | ===Preamble=== | ||
+ | < | ||
+ | <span style=" | ||
+ | Attention: This section targeted at developers, not at users. <br/> | ||
+ | If you have problems with this stuff, just remove nvidia-tegra package.< | ||
+ | <br/> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | As for now, you should downgrade you xorg-server package cause of use-pixman-glyph-cache.patch [[https:// | ||
+ | in newer (1.13.0-4 and 1.13.0.901-1) package versions to avoid font rendering problems.\\ | ||
+ | Latest known working version 1.13.0-3 available in **fly-ac100** repo (see below)\\ | ||
+ | \\ | ||
+ | Also, good gles2 experience could be achieved only with 3.1.10-l4t-r2 kernel, that does not support suspend/ | ||
+ | |||
+ | ===Lets start=== | ||
+ | You may add repo **fly-ac100** into you **/ | ||
+ | \\ Source pkgbuilds: [[https:// | ||
+ | | ||
+ | [fly-ac100] | ||
+ | Server = http:// | ||
+ | Install sortware from new repo: | ||
+ | pacman -Sy fly-ac100/ | ||
+ | | ||
+ | Update contents of you boot partition with dd to use new kernel, as pacman output says.\\ | ||
+ | |||
+ | |||
+ | Also add to your **/ | ||
+ | IgnorePkg | ||
+ | to mask xorg-server package for updates.\\ | ||
+ | Ok, time to boot into new kernel | ||
+ | reboot #all gonna be ok | ||
+ | |||
+ | Also see [[hw_accelerated_video_playback# | ||
====Want to go further with archlinux==== | ====Want to go further with archlinux==== | ||
[[https:// | [[https:// | ||
Line 159: | Line 208: | ||
====Problems and todo==== | ====Problems and todo==== | ||
- | * Artefacts and fonts problems | + | * Artefacts and in X when using GLES. |
- | * Some programs | + | * Some programs |
archlinux.txt · Last modified: 2014/06/21 17:40 by santox