X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
75
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
6 years ago

如何使用Grub4dos引导Grub2

Grub4dos是一个非常优秀的启动引导器,它可以引导Windows/Linux,甚至变色龙/四叶草。早期的Linux所带有的Legacy Grub可以与Grub4dos相互引导,非常有趣。但在Grub2中,本功能做出了一些改变。比如,启动引导文件由g2ldr更改为core.img(在grub-install时生成)。

正因如此,找到core.img文件的所在位置尤为重要。举个例子:

假设操作系统为Ubuntu,则:

Ubuntu 12.04  —  /boot/grub/core.img

Ubuntu 12.10+  —  /boot/grub/i386-pc/core.img

找到core.img文件后,在Grub4dos引导项中的表达如下(假设操作系统为Debian 10,并且磁盘为(hd1,0)):

title Grub2

root (hd1,0)

kernel /boot/grub/i386-pc/core.img

boot

若在寻找core.img的过程中发现该文件不存在,您可能需要使用grub-install重新生成,具体如下:

sudo grub-install –target=i386-pc –grub-setup=/bin/true –recheck –debug /dev/sda

Enjoy~

 

Ref: http://mawenbao.com/research/use_grub4dos_to_boot_ubuntu_under_win7.html

  • 技术小絮
等 人表示很赞
2,042
0

📮Comments

No Comment.
xosadmin
xosadmin
8 years ago
推荐 CentOS 6下如何安装KVM虚拟化
昨天,小编讲述了在CentOS上安装OpenVZ虚拟框架的方式。应公众号里部分读者的要求,今天再给大家讲讲如何在CentOS上安装KVM虚拟框架。所谓KVM,官网给的定义如下: KVM (for Kernel-based Virtual ...
  • 技术小絮
  • 虚拟化
2,208 1
xosadmin
xosadmin
6 years ago
推荐 apache提示You don’t have permission to access /* on this server.的解决方法
首先,X-osadmin在这里祝大家520快乐!近日有朋友遇到了这样一个问题:在CentOS 8下安装php-fpm+apache,在浏览器打开时均提示You don’t have permission to access / ...
  • 技术小絮
3,866 0
xosadmin
xosadmin
2 years ago
推荐 LXC上安装Gitlab时sysctl报错的解决方法
问题情况:在LXC unprivileged容器上安装Gitlab时,在执行gitlab-ctl reconfigure时可能会报出sysctl: permission denied的错误。 解决方法:在/etc/gitlab/gitlab ...
  • 技术小絮
569 0
xosadmin
xosadmin
6 years ago
推荐 Windows Server 2008安装.net 4.8时提示证书问题的解决方法
近日在给Windows Server 2008 R2安装.net framework 4.8时,提示一个证书错误,无论如何重启或恢复,均无效。错误如下: A certificate chain could not be built to a ...
  • 技术小絮
6,678 0
xosadmin
xosadmin
1 year ago
推荐 Windows FTP服务器通过PASV模式无法获取目录的解决方法
Windows FTP Server是一个Windows IIS自带的FTP服务器。在搭建后可能会出现通过PASV模式无法获得目录列表的问题。具体解决方法如下: 在Server Manager中安装FTP Extensions (若已安装 ...
  • 技术小絮
330 0
  • PVE Cluster给node更换corosync IP的方法
  • HPE Microserver系列降低噪音的一种办法
  • Debian 13 Trixie安装Proxmox VE
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法

文章聚合

  • PVE Cluster给node更换corosync IP的方法
  • Debian 13 Trixie安装Proxmox VE
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

Multilangual Translator

Copyright © 2016-2026 X-osadminの自留地. All rights reserved. 萌ICP备20258855号
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login