翻译:xiaoma 来自:LinuxSir.Org
原文: http://archlinux.org
grub-install -root-directory Mount-Point (hdn)
将grub安装到硬盘的MBR。如果核心映像不在根目录下(/),选项将给出其路径,比如/boot。
(hdn)是一个硬盘,n是硬盘的编号,开始于0。
例如:
grub-install --root-directory=/boot (hd0)
grub-install /dev/hda
配置文件:/boot/grub/menu.lst
* (hdn,m)代表第n个硬盘的第m个分区,n和m都是从0开始计数的。
* splashimage (hdn,m)/grub/Name.xpm.gz 这是启动时的背景图片。
* default n 表示默认的启动选项,当用户在选择时间内没有动作,自动启动的选项。
* timout m 在启动默认选项前等待m秒,以便用户选择。
* password -md5 str 加密后的启动密码"str"
* title str 启动项的标题
* root (hdn,m) 核心所在的分区
* kernel /path ro root=/dev/device initrd /initrd.img 如果核心不在根目录下(/),使用root选项
* makeactive
chainloader +1 将核心所在分区设为活动分区(windows分区在活动的情况下才可引导),并将引导过程传递给该分区的引导程序(例如:Windows)
* map (hd0) (hd1)
map (hd1) (hd0) 交换主从盘,要从第二块硬盘上启动windows,就必须如
* root (hdn,m,z)
kernel /boot/loader 启动FreeBSD-Partition x(FreeBSD的分区与一般意义上的分区是不同的,此处应称为slience)
* default saved 将当前的启动项作为新的默认值。将"savedefault"放在每个启动项的末尾,就会启动这个功能
别忘了用pacman -R lilo删除lilo,因为有些时候(如编译内核时的make all)会调用lilo,此时lilo就会覆盖grub。
评论
Classic Short UGGS
The debate in the nation's capital seems UGG Mini Boots headed for a stalemate this year because Senate Democrats have the votes to thwart House Republicans' efforts to repeal Classic Short UGGS the law. Denying the Obama administration money to carry out the law isn't a sure strategy either; most of the UGG Knighstbridge money was woven tightly into the legislation Congress passed last year. "We will see a lot of small battles in Bailey Button UGG Boots Congress, but the real center of gravity will shift to the states," said Mike Leavitt, former Republican UGG Classic Cardy governor of Utah and health secretary under President George W. Bush. "Bipartisanship is more vibrant in the states than it is in Washington. That doesn't mean it's plentiful, but at least it's alive." States have to be ready to take on major responsibilities when the coverage expansion gets going in 2014.
UGG Bailey Button Triplet
Bailey Button Triplet UGGS
Cardy UGGS
UGG Classic Mini
UGG Bailey Button
If not, the federal government UGG Classic Short will come in and run things. States must set up and operate health insurance markets where an estimated 24 million UGG Tall Boots people eventually will buy private coverage, most with the aid of federal subsidies. Also, states must open their Medicaid programs UGG Knighstbridge Boots to a broader segment of low-income people. The Medicaid expansion worries state officials. They're already UGG Classic Tall struggling with the costs of the program, draining money from other services from education to law enforcement.