使用grub引导vista和linux双系统.doc_第1页
使用grub引导vista和linux双系统.doc_第2页
使用grub引导vista和linux双系统.doc_第3页
使用grub引导vista和linux双系统.doc_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

使用grub引导vista和linux双系统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 havent 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 dont 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 dont 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 GRUBs way of naming the disks. Now stop playing! You must have your Ubuntu to work again. Microsofterased GRUB and replaced it with its own crappy loader (wich cannotload Linux). Its 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 ( 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, 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 setgrubs 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: title Microsoft Windows Vista Beta 2 root (hd0,0) #Remem

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论