Home> System Tutorial> LINUX> body text

The arch command makes a U disk to install and start the system of which can be abbreviated

WBOY
Release: 2024-06-03 11:50:06
Original
1115 people have browsed it

Preface:

Linux is a philosophy. Recently I fell in love with Arch's simplicity, high diversification, rolling updates and design philosophy. I plan to switch from Ubuntu to Arch for my daily work. The installation has been completed and I am using Arch to write this blog. It turns out that Arch does not frustrate me. It is indeed a very good distribution.

Installation environment: cpu: i5ram: 12G desktop laptop, a hard drive (you can have free space or a new hard drive, I am using a 1T new hard drive, GPT partition, UEFI boot) and an 8GU disk from the official website or The installation process of the iso system image (e.g: archlinux-2017-08.01-x86_64.iso) downloaded from other image sources: Make a U disk to start the basic system and execute it in ubuntu or other Linux systems

fdisk -l
Copy after login

arch linux 安装_archlinux安装_安装Linux虚拟机

View all hard drives and partitionsarch linux installation, record the c drive label of the U disk, for example, here is /dev/sdc

2. Use the dd command to create a USB disk to install and start the system

arch linux 安装_archlinux安装_安装Linux虚拟机

dd if=xxx.iso of=/dev/sdc
Copy after login

if, of can be abbreviated as inputfile, outputfile.

安装Linux虚拟机_archlinux安装_arch linux 安装

Note: If your system has different hard disk partitioning methods and boot methods of mbr+bios and gpt+uefi like mine, it is not recommended to use ultraiso for burning. I tried using the same image and one U disk. dd, a U disk uses ultraiso, and the U disk burned by ultraiso cannot enter the basic installation system normally. Because my current notebook has three hard disks, two of which use the mbr partition method and use bios to boot, and because gpt has no owner There are restrictions on the number of partitions, as well as the size limit of 2T hard disk, and the use rate of gpt on the c drive is higher, so I chose to use the gpt partition method on this new hard disk and use uefi to boot.

Insert the hard disk partition into the U disk and boot. Select UEFI or traditional bios to boot. Update the system time. Use fdisk to partition the hard disk. Attached is the partition plan I used here (in the partition plan next to it, I canceled the usr partition and handed it to /) The partition command used here is: low format partitioning (there are pitfalls here, please note that the swap partition and /boot/efi partition have different low formatting methods) partition mounting (there are pitfalls here, note that the swap partition does not need to be mounted, the boot partition is mounted (Should be mounted on /boot/efi [recommended], not /boot) The trap is here. You must execute mount here to see if it is mounted successfully, otherwise you may have to start all over again. Install and install the basic system configuration system (with pitfalls) Changeroot to the newly installed system: Set time zone Locale localization configuration

en_US.UTF-8 UTF-8 zh_CN.UTF-8 UTF-8 zh_TW.UTF-8 UTF-8
Copy after login

Set the host name to create an initial RAMdisk: set the root password: configure the network installation boot program

archlinux安装_arch linux 安装_安装Linux虚拟机

##The grub I chose here must be installed here, otherwise it will not boot the system, but you must be very careful, otherwise it will easily fail to boot the system.###

退出chroot模式,并umount坑来了,到这儿基本已完成基础系统的安装,并且注意最好不要使用root之后在死机的顿时把硬盘拿掉,我开始就是,一切正常,而且使用reboot并立刻拔除U盘linux格式化硬盘,造成难以步入系统,这儿可能是shutdown的时侯有部份文件未写入完成就拔除U盘可能造成数据异常arch linux 安装,所以不能步入系统.于是后来就作罢了,先shutdownnow死机,再开机步入,一切正常。步入安装好的基础系统,之后依次检测网路联接,ipaddr,ping,curl,检测分区及目录fdisk-l,du-h,df-h,新建sudo用户,这儿说几个较重要的安装字体

export XIM=fcitx export XIM_PROGRAM=fcitx export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx
Copy after login

安装网路管理器安装gnome(依据须要你也可以选择kde,xfce等等其他发行版,我习惯用gnome)之后reboot重启就可以步入系统了,安装完成.安装过程参考了下边两位大大@禾白小三飘@u012619242的宝贵经验linux视频教程,结合官方wiki进行安装,在此表示谢谢,同时也希望我的这篇博文能帮助你们,少踩坑,假如有问题也可以在下边给我留言,欢迎讨论。参考文献:丰富的archwifi资料库VirtualBOX安装Archlinux过程

The above is the detailed content of The arch command makes a U disk to install and start the system of which can be abbreviated. For more information, please follow other related articles on the PHP Chinese website!

source:itcool.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!