美文网首页
Linux装机及后续整理

Linux装机及后续整理

作者: 海丁香 | 来源:发表于2019-11-26 15:28 被阅读0次

(作者 海丁香)

说来惭愧,安装Linux系统竟然花费了两天的时间,因在网络上找不到合适的启动盘制作软件及镜像文件故。现在结论初整如下,供各位与偶一样需要在空白电脑上安装Linux的小白参考:

一、制作启动盘

制作Linux启动盘和Windows启动盘其实方法差不多,但是用于安于Windows的启动盘不能直接用来安装Linux(应该可以在启动盘的Windows系统中用解压后的镜像文件安装Linux)。Linux使用的硬盘格式是Fat32,而Windows一般安装在NFTS格式的硬盘中,是不能通用的。

启动盘制作软件:

1.Ultraiso

这个是最出名的一款启动盘制作软件,使用只需要文件-打开iso文件,然后硬盘-写入硬盘映像...,写入方式选择USB-HDD+或者HDD,点击便捷启动,写入新的驱动盘引导分区,选择syslinux,成功之后点击写入即可。如果提示无法写入,则先将U盘格式化为Fat32格式。

第一次下载的是绿色版本,安装Linux系统Bios报错,所以使用Ultraiso必须注意的是:必须使用最新的安装版本。

2.Rufus

简洁大方。

3.Unetbootin

这个是很坑的启动盘制作软件,因为它自带了一个引导软件所以还是比较期待的,但是每次解压镜像文件到最后一步就卡死了,无解。

4.Win32DiskImager

在使用Ultraiso安装Debian10.2-amd64-xfce-cd1的时候,出现了无法读取U盘文件的问题:

There was a problem reading data from the CD-ROM. Please make sure it is in the drive. If retrying does not work, you should check the integrity of your CD-ROM.

Failed to copy file from CD-ROM. Retry?

最后找到这个新的启动盘制作软件才避开了问题。使用时将iso文件后缀改成img,然后直接点击write,上面的MD5 Hash可勾可不勾,不明白就直接勾选。100%就成功,没有其他花样了。

二、apt安装源问题

su -

edit /etc/apt/sources.list

上下移动用箭头,按i进入编辑模式,在deb cd-rom前输入#并添加源,注意进入后不能再使用箭头移动,按delete后必须重新进入编辑模式。修改完按esc退出,输入

:wq!

修改后示例文本内容如下,注意修改自己的系统和版本:

#

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 xfce-CD Binary-1 20191116-09:57]/ buster main

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 xfce-CD Binary-1 20191116-09:57]/ buster main

deb https://mirrors.ustc.edu.cn/debian/ unstable main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ experimental main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ buster-proposed-updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debiancn/ buster main

deb https://mirrors.ustc.edu.cn/deb-multimedia/ buster main non-free

deb http://security.debian.org/debian-security buster/updates main

deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'

# A network mirror was not selected during install.  The following entries

# are provided as examples, but you should amend them as appropriate

# for your mirror of choice.

#

# deb http://deb.debian.org/debian/ buster-updates main

# deb-src http://deb.debian.org/debian/ buster-updates main

# This system was installed using small removable media

# (e.g. netinst, live or single CD). The matching "deb cdrom"

# entries were disabled at the end of the installation process.

# For information about how to configure apt package sources,

# see the sources.list(5) manual.

改完记得apt-get update。

三、(待更)

相关文章

  • Linux装机及后续整理

    (作者海丁香) 说来惭愧,安装Linux系统竟然花费了两天的时间,因在网络上找不到合适的启动盘制作软件及镜像文件故...

  • Linux 1

    1 面试常见的Linux命令及问题整理 1 面试常见的Linux命令及问题整理 Linux命令1 ls -a -l...

  • Linux 常用软件

    Linux下工作常用软件 linux常用软件清单 Linux系统装机必备的10款应用软件 Linux下的经典软件(...

  • 我在学linux----从真机安装开始

    (部分是自己整理,部分是网上收集的资料,第一次发,请谅解) centos 装机步骤及优化 一、资料备份 二、工具盘...

  • Linux系统简介 、 安装Linux系统 、 Linux基本操

    案例1:装机预备技能 案例2:安装一台LINUX虚拟机 案例3:使用LINUX图形桌面 案例4:Linux命令行基...

  • Linux常用命令整合

    整理了一些常用的Linux命令,后续会继续添加 查看内存使用情况:free -h 或者 htop(需要yum in...

  • Linux:基础

    自己以前整理的笔记,不太完整,后续会不断更新。。。。 [ ] 补全Linux常用命令,如末行模式下的命令、保存相关...

  • 1207笔记

    Linux基础 review: Linux发展史 装机注意事项 ls、tree "."也是文件名的一部分 ====...

  • 2018.12.18

    1.学霸说音频整理及上传,明天上午呈现完整内容 2.shandayanxue.cn域名注册及审核,后续对接陈老师建...

  • elasticsearch单机版安装及安装过程踩的坑整理

    elasticsearch单机版安装及安装过程踩的坑整理 环境及版本 Linux版本:centos7.3 JDK版...

网友评论

      本文标题:Linux装机及后续整理

      本文链接:https://www.haomeiwen.com/subject/tbbewctx.html