LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1313|回复: 10

现在的grub貌似支持lvm的/boot了?

[复制链接]
发表于 2009-8-6 20:10:57 | 显示全部楼层 |阅读模式
/boot on RAID or LVM

Installing GRUB while /boot is on RAID and/or LVM should be straightforward. Grub-setup will detect that and specify the GRUB root device/prefix accordingly, so GRUB will be able to find the files in /boot. If you have a RAID array you can specify the RAID device as destination device. Grub-setup will look at the members of the RAID array and install on the MBR of each disk.

有人试过吗?
发表于 2009-8-6 21:48:45 | 显示全部楼层
难道鸡跟蛋的问题解决了?
关注……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-6 22:09:50 | 显示全部楼层
http://grub.enbug.org/LVMandRAID
不知道我有没有看错..我的英文不太好..
有兴趣的去看看..
我正在试..

开头就有一句
GRUB has support for LVM and RAID since version 1.95.
回复 支持 反对

使用道具 举报

发表于 2009-8-6 22:27:00 | 显示全部楼层
>=grub-1.95 是grub2了啦:)
回复 支持 反对

使用道具 举报

发表于 2009-8-7 11:07:39 | 显示全部楼层
GRUB2一直都可以啊
回复 支持 反对

使用道具 举报

发表于 2009-8-7 15:51:01 | 显示全部楼层
Grub1是明確不行的。曾經有人提交了補丁,大的不能再大了。最後不採用。

Grub2好像也不是說怎麼樣都行。好像如果metadatacopies=2的大PV上用就會出錯。我就是這樣。
回复 支持 反对

使用道具 举报

发表于 2009-8-7 15:53:40 | 显示全部楼层
好像如果metadatacopies=2的大PV上用就會出錯

指多大?
还好没冲动换了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-7 16:00:49 | 显示全部楼层
原来如此,受教了~~
回复 支持 反对

使用道具 举报

发表于 2009-8-7 16:27:14 | 显示全部楼层
可以啊,一直都用raid的
回复 支持 反对

使用道具 举报

发表于 2009-8-7 16:47:17 | 显示全部楼层
@everyoung: raid和lvm不是一回事吧……grub legacy不支持lvm,這是官方上都說了的。

@nonplus: 我不知道。我看ubuntu的grub2的bug上面是說如果metadatacopies=2,會出錯。我自己的確實出錯安裝不上grub2。說的就是multiple lvm metadata錯誤。bug上說是metadatacopies如果不等于1就出錯,2是多數大pv會默認使用。我也不知道多大。
  可能我理解錯了,反正移動硬碟上系統luks搞完了就可以試試的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表