Audiophile Linux安装

tomosak2年前HIFI538

If you are for example going to use “/dev/sda” disk to create partition for AP-Linux, execute this commands:

# fdisk /dev/sda

 or

# cfdisk /dev/sda

#fdisk -l

To summarize, these are all commands you need to run after disk partitioning:

# mkfs.ext4 /dev/sdXX

# mount /dev/sdXX /mnt

# time cp -ax / /mnt

# arch-chroot /mnt /bin/bash

# cd /etc/apl-files

# ./runme.sh

# grub-install --target=i386-pc /dev/sdX 

# grub-mkconfig -o /boot/grub/grub.cfg

# passwd root

# ln -s /usr/share/zoneinfo/Europe/Dublin /etc/localtime

# hwclock --systohc --utc

# ./autologin.sh

# exit

# genfstab -U /mnt >> /mnt/etc/fstab

# reboot

When AP-Linux boots, open terminal. Make sure your internet is working. You can check if internet is working with:

$ ping 114.114.114.114

You should see something like this:

PING 114.114.114.114(114.114.114.114) 56(84) bytes of data.

 64 bytes from 114.114.114.114: icmp_seq=1 ttl=56 time=25.9 ms

 64 bytes from 114.114.114.114: icmp_seq=2 ttl=56 time=21.9 ms

 64 bytes from 114.114.114.114: icmp_seq=3 ttl=56 time=25.4 ms

Then become root with:

$ su

Execute these commands. First command will take a while…

# pacman-key --init

# pacman-key --populate archlinux

# pacman -Sy

Now we need to do few more tweaks. If you have installed AP-Linux on SSD disk, edit /etc/fstab file with

# nano /etc/fstab

and add ‘noatime,discard’ option. Your “/dev/sdX1” line should look like this

Example config:

/dev/sda1 / ext4 rw,noatime,discard,data=ordered 0 1

If you didn’t install AP-Linux on SSD, remove the ‘discard’ part.

/dev/sda1 / ext4 rw,noatime,data=ordered 0 1

7.本地化设置,移除对应语言前的注释符号(en_US.UTF-8 UTF-8,zh_CN.UTF-8 UTF-8)

# vi /etc/locale.gen

# locale-gen

# echo.UTF-8 > /etc/locale.conf

(如果要添加中文支持,解决歌曲名,文件名乱码等问题。可自行设置配置文件并且安装中文字体,Linux的乱码问题很多情况是因为基础系统里面没有对应的字库)

10.主机名

# echo audiophilelinux > /etc/hostname


标签: HIFILinux

相关文章

Mac OS疑难杂症

重启按Shift键 进入安全模式重启按Command+S键,进入单用户模式,提示符后输入:/sbin/fsck -y 回车,修复磁盘重启按Command+Option+O+F,进入系统固件程序,提示符后输入:reset-nvram 回车,在输入:reset-all 回车,系统固件回到出厂设置重启按C...

[S905X]私家云2免拆刷机使用攻略

[S905X]私家云2免拆刷机使用攻略

1、下载地址:链接: https://pan.baidu.com/s/1szVDmA80ubi2jg6GciEn2Q?pwd=skn3 提取码: skn32、--来自百度网盘超级会员v6的分享3、到手后不要联网,不管是有线还是无线;4、准备一套无线鼠标键盘套装,罗技最好;5、电脑...

samba文件服务器搭建访问的三种方式

一、匿名访问[global] workgroup = WORKGROUP server string = samba %v netbios name = archlinx security =...

群晖DSM7.0使用zerotier套件的简单办法

1、进入群晖7.0后台管理,进入套件中心,点击设置,套件来源,添加以下套件来源矿神 https://spk7.imnks.com/2、刷新套件中心,点击社群,找到zerotier,安装3、进入群晖7.0后台管理,进入设置,打开ssh访问,通过ssh工具访问群晖7.0,运行以下命令sudo ...

ARM系列主板安装moOde等数播系统

ARM系列主板安装moOde等数播系统 ver:1.0.3 by:Androidnews 2024.08.18 说明: 本安装教程不保证所有arm主板都能安装成功; 本安装教程虽然劲量简单,但是还是需要一定的Linux功底; 本安装教程以Debian的bookworm为基底实现,如...

苹果MacOS系统启动U盘制作

1、下载macOS 11.6.5https://pan.baidu.com/s/1uuL99sFR9BjRNaDm2xRfQQ?pwd=ykip2、在macOS系统加载镜像,拷贝安装macOS Big Sur.app到桌面3、打开 “应用程序 → 实用工具 → 磁盘工具”,将U盘「抹掉」(格式化)...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。