grub

Arch Linux 安装

一曲冷凌霜 提交于 2019-12-06 06:28:35
查看分区信息 lsblk 处理某一个盘的分区 fdisk /dev/sda 格式化某一个分区 mkfs.ext4 /dev/sda1 挂载分区安装系统 mount /dev/sda1 /mnt pacstrap /mnt base base-devel linux vi vim grub netctl dhcpcd net-tools 记录挂载的分区表信息到新系统 genfstab -U -p /mnt >> /mnt/etc/fstab 安装启动 arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg grub-install /dev/sda 来源: https://www.cnblogs.com/zhangshaojian/p/11965539.html

Simplest chainloading a boot manager

依然范特西╮ 提交于 2019-12-05 18:44:31
In order to boot from flash memory drive we load disks using the BIOS interrupt 13h in real mode with specifying the disk 0x80. Another disks should be accessed by 0x81, 0x82... as mentioned over this link I am trying to make my simple GRUB . My very first step is to boot from flash memory drive (Load MBR into 0x7C00 and print a message as a proof of correct boot) and read the my main HDD (which I assume it is numbered 0x81 and that the first 15 sectors are needed for booting) again into 0x7C00. I suppose that this naive idea should drop me into my main HDD's bootloader, but it is not as

centos启动流程

こ雲淡風輕ζ 提交于 2019-12-05 16:26:07
Table of Contents centos 操作系统启动流程 centos6 以前启动流程 centos7 启动流程 Grub 管理 grub legacy 的三个阶段 grub 安装 grub 临时启动 grub.conf 简化格式 修复 grub grub 其它常用 破解 root 口命 grub 2.x 临时设置内核参数 破解 root 口命 grub 加口命 centos 操作系统启动流程 centos6 以前启动流程 加载 BIOS 信息,使用 ROM 中的程序开启 MBR 引导引导程序. MBR 引导程序启动,加载 GRUB. GRUB 开始加载内核,核心解压缩,并尝试所有驱动硬件. 核心执行 init,并获取默认运行信息. init 进程执行/etc/rc.d/rc.sysinit. 启动内核的一部分模块. init 执行/etc/rc.d/rc 脚本与/etc/rc#.d/*下的脚本. init 执行/etc/rc.d/rc.local 脚本. 执行/bin/login 进入等待登录状态. 登录后以 shell 控制主机 centos7 启动流程 UEFi 或 BIOS 初始化,运行 POST 开机自检 选择启动设备 引导装载程序 grub2 加载装载程序的配置文件: etc/grub.d /etc/default/grub /boot/grub2/grub

Ubuntu18.04初始化

佐手、 提交于 2019-12-05 09:36:14
Ubuntu18.04初始化 更新源: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo gedit /etc/apt/sources.list deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic

0.树莓派3上安装配置Archlinux

北战南征 提交于 2019-12-05 09:15:00
本文永久地址:https://my.oschina.net/bysu/blog/1557801 1 下载: 下载(不得不吐槽,官网上的指引好像下载不了,还是我没找对,反正找了好久) 到http://sg.mirror.archlinuxarm.org/os/中下载 或直接到下面链接下载 http://sg.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz 顺便贴上fedora的下载地址: https://mirrors.tuna.tsinghua.edu.cn/fedora/releases/26/Spins/armhfp/images/Fedora-LXQt-armhfp-26-1.5-sda.raw.xz centos7的下载地址 http://mirror.centos.org/altarch/7/isos/armhfp/CentOS-Userland-7-armv7hl-Minimal-1708-RaspberryPi3.img.xz 2 安装Archlinux 安装Archlinux这部分在Linux系统中测试通过。 sdX 是SD卡盘符。 譬如我通过fdisk -l查到是/dev/sdb1,那么这里就是sdb.说明

在z3735上装ubuntu,装完的经验

对着背影说爱祢 提交于 2019-12-05 08:01:20
启动关闭 secure boot 选项 网卡驱动wifi驱动 地址: https://github.com/hadess/rtl8723bs 装的是14.04 放硬盘,u盘都可以 启动选择其EFI 使用try进去不选Install 打开terminal sudo passwd 转为root df -Th umount -l /cdrom umount -l /isodrive 要先关闭联网 点安装 更新安装,第三方软件都不要选 要擦除硬盘时,点其它 要卸载分区,点是 可能是盘太多,只能新建分区/boot / 键盘一般要选英语-美国,否则打字会飞 进入安装过程 如果此时有联网的话,就会cron时间服务器,对时 然后一直卡住,因为服务器在外,所以原因你dong的 安装到grub时,没选 安装 Ubuntu 时下载更新 失败 然后转到自己的grub写启动项 menuentry 'Ubuntu efi'{ insmod gzio insmod part_msdos insmod ext2 linux initrd } 开机后, 装fcitx ——————————————————— 装完之后,修复一下win的引导 装的时间有点久,可能会漏了一些 据说最新的 Ubuntu 版本优化了对平板的支持,或许可以直接安装成功哦 来源: https://my.oschina.net/u/4142662

Implementing GDT with basic kernel

烂漫一生 提交于 2019-12-05 04:20:41
问题 I've recently become fascinated with kernel development, and started with the bare bones tutorial on the OSDev Wiki. After implementing the Hello World example, I moved on and began attempting to create the Global Descriptor Table. From various sources online I pieced together some code for the GDT, which ultimately fails. Is there something wrong in my implementation of this, and if that is not immediately clear, is there any source that could provide more info? In short, the following

记录一次Centos桌面崩溃解决办法

折月煮酒 提交于 2019-12-05 02:52:06
环境: Centos7.4 超微X10主板 2080TI显卡(用主板做显示) 报错信息: Oh no! Something has gone wrong.Logout! 在安装完系统后桌面正常,在移除nouveau模块并安装nvidia驱动和CUDA之后桌面崩溃报错。 解决办法: 通过yum upgrade升级,然后再降内核版本。 rpm -qa | grep kernel yum remove <要删除的内核版本> grub2-mkconfig -o /boot/grub2/grub.cfg #重新编译引导 来源: https://my.oschina.net/u/4147271/blog/3131896

在装Windows与Linux(ubuntu)双系统下,因修改电脑磁盘原因导致无法进入系统的解决方案

匆匆过客 提交于 2019-12-05 02:41:19
注:本文通过参考其他博主的博文,整理其中的方法。对象为ubuntu 12.04与Windows 8双系统。 第一种情况:电脑启动时可以选择加载光盘、USB启动盘等等 通过启动盘比如利用UltraISO软件制作USB ubuntu启动盘进入ubuntu系统。 输入命令行 sudo su fdisk -l 或 sudo df -lh (找到本机上linux的根目录) cd media sudo mkdir sda3 sudo mount /dev/sda3 /media/sda3 (这里举例的/dev/sda3是你的linux在计算机上的位置) grub-install --root-directory=/media/sda3 /dev/sda 重启系统即可 参考链接: http://blog.csdn.net/yao_guet/article/details/6317468 第二种情况:电脑启动时完全黑屏显示:"error: unknow filesystem. grub rescue>",无法启动光盘、启动盘等 1.出现错误情况 2.输入ls命令,查看所有磁盘分区 3.先确定哪个分区为linux分区,例子中的情况是(hd0,msdos10)为Ubuntu系统所在位置,接着找到grub.cfg文件 下图为上面命令的执行结果,可以看到grub.cfg文件,所以确定这个目录为ubuntu

Centos6.5安装 Xen4.2安装和管理

喜夏-厌秋 提交于 2019-12-05 01:57:16
xen官方站点http://xenproject.org/ 维基百科 http://zh.wikipedia.org/wiki/Xen [root@localhost ~]# cat /etc/redhat-release CentOS release 6.5 (Final) 笔者用aliyun镜像站点http://mirrors.aliyun.com/help/centos 安装xen [root@localhost ~]# yum install centos-release-xen.x86_64 配置xen的yum仓库 [root@localhost ~]# yum install xen -y [root@localhost ~]# yum install kernel-xen [root@localhost ~]# yum install bridge-utils 执行 [root@localhost yum.repos.d]# /usr/bin/grub-bootxen.sh 查看grub.conf [root@localhost yum.repos.d]# cat /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after