ArticleDirectory
Grub4dos installation Configuration
Download grub4dos from SourceForge and find that there is a problem with chenall modification on Google. ntfs5 error will be reported during startup.
Place in C:
Edit menu. lst and add the following entries in grldr, grldr. MBR, and menu. lst.
Title install arch linuxfind -- Set-root/archlinux-2013.01.04-dual.isomap -- Mem -- heads = 0 -- sectors-per-track = 0/archlinux-2013.01.04-dual.iso (0xff) map -- hookchainloader (0xff) boot
Configure bcdedit and start the command line,
Bcdedit/create/D "grub4dos"/Application bootsector
Write down the global symbols returned.
Bcdedit/set {guid} device partition = C:
Bcdedit/set {guid} path \ grldr. MBR
Bcdedit/displayorder {guid}/addlast
Complete.
You can also edit boot. ini, you can refer to the blog http://www.kisa747.com/windows7-grub4dos.html.
Restart, select grub4dos from the Start menu, and the arch interface is displayed. If you select x64 or x32, loading the CD may cause problems,
Return to drop shell and do the following
Mkdir isomount-t ntfs-O ro/dev/sda3 isomodprobe looplosetup/dev/loop2 ISO/archlinux-2013.01.04-dual.isoln-S/dev/loop2/dev/Disk/by-label/arch_201301
Exit
If/dev/Disk/by-label/arch_201301 is reported, delete RM/dev/Disk/by-label/arch_201301 and create a soft link.
The installation is automatically started after exit. Refer to wiki for processing.
Network-Manager connection VPN
The default VPN settings cannot be opened. You can set NetworkManager-pptp vpn settings, but the connection button does not work.
You need to install NetworkManager-vpnc again.
Obtain Pacman Source code
1. Install ABS
Pacman-s ABS
2. Edit abs. conf.
As root, edit/etc/abs. conf to include your desired repositories:Vim/etc/abs. conf
Or:Nano/etc/abs. conf
. Remove! In front of the appropriate repos, e.g .:Repos = (core Extra Community! Testing)
3. Download the ABS tree
Download the ABS tree as root, run:
[Gaohu @ Vb-arch ~] $ Sudo ABS
Your abs tree is now created under/var/abs. The above step is done once for all (runABS
From time to update the source tree though). Next, say if you want the source code of the Linux CommandFind
Find out which package the commandFind
Belongs:
Pacman-Qo 'which find'
-Q indicates query, and-O indicates query owner.
Pacman-Qi coreutils
-I: the group to which the query belongs.
The result is "/usr/bin/find is owned by findutils 4.4.2-4 ".
CP-r/var/ABS/CORE/findutils/home/gaohu/t_srccd/home/gaohu/t_src
Then runMakepkg
:
If you want to install the package you 've built, run
Pacman-u name-of-package.xz
Virtualbox Nic
The network card vboxnet0 of virutalbox is not managed by NetworkManager. It is in the down state every time it is viewed at startup. As a result, the VM is always inaccessible to the host, and the adjustment is as follows:
Sudo ip addr add 192.168.56.1/24 Dev vboxnet0
Sudo IP link set vboxnet0 up
View status
The ip addr or IP link command is normal,
PS: Command to adjust the Gateway:
IP Route add default via 192.168.56.1
Bash set locale Error
After an upgrade, the following error is reported during logon and Su switchover:
[Tigertall @ arch-G ~] $ Su-rootpassword:-Bash: Warning: setlocale: lc_ctype: cannot change locale (en_US.UTF-8): no such file or directory-Bash: Warning: setlocale: lc_numeric: cannot change locale (en_US.UTF-8): no such file or directory-Bash: Warning: setlocale: lc_time: cannot change locale (en_US.UTF-8): no such file or directory-Bash: Warning: setlocale: lc_collate: cannot change locale (en_US.UTF-8): no such file or directory-Bash: Warning: setlocale: lc_messages: cannot change locale (en_US.UTF-8): no such file or directory
The en_US.UTF-8 was specified in RC. conf, checking/etc/locale. Gen found that all locale were commented out.
Re-open the required entry and run the command to generate locale:
[Root @ arch-G ~] # Locale-gen
Generating locales...
En_US.UTF-8... Done
Zh_CN.UTF-8... Done
Zh_cn.gb2312... Done
Generation complete.
View available locale:
[Root @ arch-G ~] # Locale-acen_us.utf8posixzh_cnzh_cn.gb2312zh_cn.utf8
[Tiger @ Tg-arch ~] $ Virtualboxqt warning: qgtkstyle was unable to detect the current GTK+ Theme.
It can be started normally, but the interface will be ugly. Install the following package to solve the problem.
Pacman-s libgnomeui
Scientific calculators are not gcalctool,
Galculator
- Display the menu configuration/usr/share/applications/, followed by the. Desktop suffix. You can also edit the menu item through gmenu-simple-editor or alacarte.