请问高手,如何把grub2安装到u盘里?
时间:2011-12-11
来源:互联网
[root@localhost mnt]# mkdir u
[root@localhost mnt]# ll
总用量 4
drwxr-xr-x. 2 root root 4096 12月 10 21:09 u
[root@localhost mnt]# mount /dev/sdc1 ./u
[root@localhost mnt]# grub2-install --boot-directory =/mnt/u /dev/sdc1
/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/sbin/grub2-setup: error: embedding is not possible, but this is required for cross-disk install.
[root@localhost mnt]# ll
总用量 4
drwxr-xr-x. 2 root root 4096 12月 10 21:09 u
[root@localhost mnt]# mount /dev/sdc1 ./u
[root@localhost mnt]# grub2-install --boot-directory =/mnt/u /dev/sdc1
/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
/sbin/grub2-setup: error: embedding is not possible, but this is required for cross-disk install.
作者: chenmeng10 发布时间: 2011-12-11
难道命令错了??????????????
作者: chenmeng10 发布时间: 2011-12-11
提示不可以跨硬盘安装!!!!!!!!!!!!!!!!!
作者: chenmeng10 发布时间: 2011-12-11
/dev/sdc1 改成 /dev/sdc 如何?你直接安装到一个分区上还是没法引导的。
注:似乎可引导U盘的常规做法是把 live CD/DVD 导入U盘,实现这一点有
许多工具的,例如 fedora的 liveusb-creator, livecd-tools, unetbootin
(它们实际上貌似都会调用 syslinux 实现可引导)
注:似乎可引导U盘的常规做法是把 live CD/DVD 导入U盘,实现这一点有
许多工具的,例如 fedora的 liveusb-creator, livecd-tools, unetbootin
(它们实际上貌似都会调用 syslinux 实现可引导)
作者: alick 发布时间: 2011-12-12
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28