2008年4月16日星期三

应用: 用Grub引导光盘


Howto: Boot CD/DVD Using Grub

To avoid using the bios option to set boot from CD/DVD, or to help get incalcitrant bootable CDs or DVDs to boot, you can add Smart Boot Manager/MemDisk to your boot options in Grub and boot from Grub instead of using your bios.

You need a working grub loader installed.

First off, download these files attached:
sbm.tar
and untar

then copy them to your boot directory:
Code:
 sudo cp memdisk sbm.bin /boot
then open up menu.lst in your editor (I have used nano here)
Code:
 sudo nano /boot/grub/menu.lst
and add this to the bootable options (not in the magic section)
Code:
title=SBM-Boot a CD
kernel /boot/memdisk
initrd /boot/sbm.bin
Next time you reboot into grub, you will see a new entry "SBM-Boot a CD"

With your CD/DVD in the drive, select this option, and you will get the Smart Boot Manager menu.
Scroll down to the CD-Rom option, press "Return", and then "Return" again out of the confirmation dialogs.

Your CD/DVD should now boot.

Tested on Ubuntu Edgy 6.10
Thanks to the Gentoo Wiki for guidance
Just retrace your steps to remove this option.

Enjoy
 
 
 

--
海阔天空,做什么就记什么。主要是 Ubuntu Linux 和 Latex 及编程相关的东东: http://hai-kuo.blogspot.com/ 



蒙牛以领先责任创4年至高荣誉 权威数据为蒙牛加冕



--
6G免费网络U盘: http://www.orbitfiles.com/signup/rleon

1 条评论:

匿名 说...

Greetings! Very useful advice in this particular article!

It is the little changes that produce the largest changes.
Thanks a lot for sharing!

Look at my blog post GFI Norte