mymagic 发表于 2006-10-18 12:53:09

GRUB能引导vista吗?

如题。

诸葛亮的很 发表于 2006-10-18 13:46:07

我也不清楚。一般都是一次只存在一个系统。装Vista的时候把其它系统给删除了。不好意思。

yhlfh 发表于 2006-10-18 15:04:50

能的吧

mymagic 发表于 2006-10-19 12:48:31

请楼上的兄弟详细指教 :-D
好像vista的启动跟XP那些不一样的了。

hillwood 发表于 2006-10-19 16:59:06

完全可以,我试过的。

mymagic 发表于 2006-10-19 21:48:05

版主能把grub启动vista的参数贴出来吗?

hillwood 发表于 2006-10-20 22:47:52

和WinXP一样。

mymagic 发表于 2006-10-23 23:12:49

我的vista装在第windows的G盘,参照GRUB启动XP的参数,在menu.lst中加上如下内容:
title         vista
chainloader (hd0,7)+1
rootnoverify (hd0)
可是不行。

wyxds 发表于 2006-11-10 09:57:20

我找的使用GRUB引导vista 的文档.但我的vista +XP+SUSE10.0就是引导不起来,vista 装在hda1,XP装在sda1,SUSE的/在sda12.GRUB安装在hda1上没有引导好,安装在sda1和sda12上都没法引导vista .是不是GRUB不能引导vista 的bootmgr?
This tutorial guides you through the steps of installing Windows Vista on a computer which already have an Ubuntu installation.

I wrote this tutorial because I haven't found a "Ubuntu/Vistadual-boot" that works when Ubuntu is already installed. There are onlytutorials saying "Install Vista first, then Ubuntu!".

But if you have a working Ubuntu and you don't want to reinstall everything?! Then read this...
Ubuntu Logo

Most of you out there have propably heard of Windows Vista: the nextgeneration of Windows from MS that is going to replace XP as desktopstandard. It is still in beta stage and is not for stable enough to useas your primary os. That is why you should have a dual-boot install.
Windows Vista Logo

Microsoft has made Vista a public beta, meaning that you can downloadit for free(!) and try out (but only use it for a year or so...)

As primary OS I use the brilliant Linux distribution Ubuntu DapperDrake. Now I wanted to make my computer able to start both Ubuntu andWindows Vista...

Before leaving Ubuntu you have to prepare your harddrive. It can be done with gparted. In a Terminal:
> sudo apt-get install gparted
> sudo gparted

Or if you prefer to do it in a gui:

   * Start Synaptic, find and install gparted
   * System -> Administration -> Gnome-partition editor

There are lots of guides to help you partition your harddrive. resizeyour partitions and leave room (unallocated) for Vista. It needs atleast 15 GB space. I recommend 20+ GB. I installed Vista on a secondharddrive, but a single drive with lot of space would do it.

   * Download the dvd-image ( 4GB )
   * Burn it to a dvd with your favourite burn-app (GnomeBaker), put it in the drive and restart your computer
   * Go on with installing Windows Vista!

Vista is easy to install, almost as easy as Ubuntu. During the install choose the empty space to create a new ntfs partition.

By experience I know that Microsoft don't care about the user; theywill just run over you. The installer for Vista is a good example ofthat. It deleted my Ubuntu loader (GRUB). Next time I booted themachine it loaded Vista. I got no option to start Ubuntu. The same willhappen to you, my friend. But do not fear! Ubuntu is a Linux distro,and you can always make Linux work again.

Well, hopefully Vista is working now. You can play around with it for awhile if you want. I got addicted to a small game called Inkball...

Here is more info about GRUB's way of naming the disks.

Now stop playing! You must have your Ubuntu to work again. Microsofterased GRUB and replaced it with it's own crappy loader (wich cannotload Linux). It's time to get GRUB back into the MBR. Find your UbuntuLive-CD (other Live discs may also work) and boot it. Then launch aterminal:
> sudo grub

grub> root (<press tab>

Now you will see a list of available harddrives if you have several (Inmy case hd0,hd1). Choose the one where you have ubuntu (probably hd0)
grub> root (hd0,<press tab>

This time you should see a list of partitions and their filesystems on the drive. This is what it may look like:
grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 2, Filesystem type is ext2fs, partition type 0x83

Note the number of your Ubuntu partition (with ext2fs filesystem). Alsoremember (or write down) the partition number with an unknownfilesystem 0x07; that is your Vista on an ntfs partition. Now setgrub's root to the right partition (In my case (hd0,2)) and theninstall grub to mbr.
grub> root (hd0,2)
grub> setup (hd0)
grub> quit

Now restart your computer! You should see GRUB loading and you are ableto boot Ubuntu. The last you have to do now is to add Vista to the GRUBlist. Once again, fire up a terminal:
> gksudo gedit /boot/grub/menu.lst

At the bottom of the file add the following:
titleMicrosoft Windows Vista Beta 2
root   (hd0,0)#Remember Vistas partition number?
savedefault
makeactive
chainloader +1

Save the file and restart your machine to see if it's working.Hopefully it is. It worked fine for me. Now enjoy your dual boot system!

cobranail 发表于 2006-11-10 13:35:28

我的vista装在第windows的G盘,参照GRUB启动XP的参数,在menu.lst中加上如下内容:
title         vista
chainloader (hd0,7)+1
rootnoverify (hd0)
可是不行。

(hd0,7)是不行的,vista的bootmgr必须在(hd?,0)上。grub不是真正的引导vista,只是引导vista的启动器bootmgr,然后是bootmgr引导vista。

binbindatou 发表于 2006-11-10 13:40:36

牵涉到了sda的问题,我不懂。
我只回答你的楼上,
title xxxxxxxx
rootnoverify (hd0,7) #先指定分区,grub才知道要加载哪个分区里的“文件”
chainloader +1 #读入指定分区的引导信息
#在menu.lst中这样写就可以了,如果是在grub的命令行使用,应该再输入一行boot
页: [1]
查看完整版本: GRUB能引导vista吗?