返回列表 發帖

【角色茶桌】—— GRUB - 多系统管理bootloader including Asterisk + others

本帖最後由 角色 於 2011-9-4 14:03 編輯

因为一个硬盘很多,可以安装很多系统,但是我们可能不认识一些软件工具,所以整个硬盘都做单一工作。为了充分利用硬盘,现在我们可以用GRUB (Grand Unified Bootloader),很多系统都可以通过它来启动。

所以这个帖子主要是先针对多Asterisk server来讨论,然后再加上别的系统,如Windows等等。

Official GRUB 官方网站
http://www.gnu.org/software/grub/index.html

Official GRUB Legacy Manual
http://www.gnu.org/software/grub/manual/legacy/

部分有以前谈论过,可以在下面找到:
http://www.telecom-cafe.com/view ... &highlight=grub
http://www.telecom-cafe.com/view ... &extra=page%3D1


角色

本帖最後由 bubblestar 於 2011-9-3 17:53 編輯

Just want to make my life in partitioning and multi-boot easier.  It was PAIN.

TOP

Bubblestar 兄真是充滿資料

TOP

本帖最後由 bubblestar 於 2011-9-3 13:32 編輯

Nowadays, the restoration of MBR for WIN 7 is relatively, actually very easy.  You may use a portable software called BOOTICE to backup, restore MBR (Master Boot Record) and PBR (Partition Boot Record) at any point of time.  No original WIN 7 Disc is required. Aslo, the same can be applied for Win 2000/2003/XP.   Handy! right?  

They have other useful features like BCD Edit, Grub4DOS Editor, etc.  Help yourself to explore.  It is just a piece of cake. The current release is V.0.9 with a tiny file size 164 KB.

They also have GUI in Chinese but I'm fine with their origional English version.

The download site is http://www.ipauly.com/bbs/dispbbs.asp?boardid=2&Id=1  and you may join to participate their discussion at http://www.ipauly.com/bbs/

TOP

One of the most important things is after installation theprogrammay overwrite MBR. This is especially for microsoft windows installation. For Linux, always custom partition and look carefully for bootloader instaallation position.

Always try to install to the first one in what four partitions that can be seen by the bootloader. This simplifies a lot

TOP

本帖最後由 角色 於 2011-9-3 09:53 編輯

How to install multi-OS in different partitions of a hard drive?

a) Using whatever partition tool to partition your hard drive

For instance

/dev/sda1       Windows 7 Chinese
/dev/sda2       Windows 7 English
/dev/sda3       Data
/dev/sda4       extension partition
/dev/sda5       SWAP
/dev/sda6       First Linux partition
.
.
.
/dev/sdax       Last Linux partition

You have to pay attention to the size of each partition. Windows 7 partition should at least 50G bytes, other linux partitions may be at least 10G bytes. If you have only a few partitions to be used, then you may increase each partition size to fit your needs.

The partition tool I used is the Pmagic-5.1 which you can get it for free. I installed this program in my USB drive, which can be easily made bootable via the information shown in the website www.pendrivelinux.com.

You have to learn how to boot via any bootable USB drive with multi-ISO program as described in above website just mentioned.

b) Bootable devices - there are several options could be used for bootable devices to install OS.

1) The most basic one is to use CD-ROM/DVD-ROM disk and the corresponding drives.

2) The second method is to use USB thumb drive but you must have the tool to make your USB thumb drive to be both bootable and look like a CD-ROM/DVD-ROM. Only bootable USB thumb drive is not enough. Also it is very difficult to find the mass production tools for that particular USB thumb drive.

3) The first method is to a newly-developed device called i-odd 2501 from Korea. Zalman bought the license to make another similar product ZM-VE200, which is exactly the same as i-odd 2501. There are three operating modes - ROM, HDD, ROM+HDD. All the iso images could be install in the ROM partition with the folder name _iso. You may choose whichever iso image that you like to install it.


c) After having partitioned the hard drive, you may start to install any linux distributions first. For instance, since I would like to install Asterisk, I would like to consider to install CentOS first. At this moment, CentOS 5.6 is highly recommended although CentOS 6.0 has already been released.

During the installation, I choose the server mode to install the CentOS.

(to be continued)

TOP

As mentioned, this is the bootstar program

http://www.star-tools.com/english/downloads.htm

One can combine with Grub to achieve more functions.

But as said, it is a bit outdated.

TOP

明白,其实它有两个版本,一个是在Linux上面,另外一个是你所说的GRUB4DOS。

角色

TOP

現在都是在用Grub4dos

TOP

那么你呢?你喜欢用哪一种boot loader呢?

角色

TOP

既然你喜歡 Grub Legacy,那就不必去想Grub2 的事了,集中Grub 的指令去做研究討論吧!

TOP

Grub Legacy 与 Grub 2的commands比较



角色
角色 發表於 2010-8-10 09:57


这条link的信息没有了。

角色

TOP

For making USB be bootable (not CD-ROM), we would generally have no problems.

YH

TOP

刚才看完GRUB Legacy和GRUB 2的分别。GRUB Legacy就像我们用DOS那样,非常简单和方便,但是GRUB 2,真的像Unix的shell script programming. 哈哈,在我来说,我比较喜欢用GRUB Legacy。

角色

TOP

在第3楼多了些关于用USB手指去boot Windows (1st partition of 1st hard drive )

角色

TOP

返回列表