小腿前面的骨头叫什么| 患得患失是什么意思| 为什么金生水| 月经喝什么比较好| 癫痫患者不能吃什么| 1215是什么星座| 桃花灼灼什么意思| 出阁是什么意思| 副作用是什么意思| 接骨草长什么样| 雪花飘飘北风萧萧是什么歌| 海之蓝是什么香型| 好学不倦什么意思| 喝葡萄糖有什么功效与作用| 阴离子是什么| 更年期提前是什么症状| 道心是什么意思| 精神分裂症吃什么药| 一夫一妻制产生于什么时期| 为非作歹是什么意思| 辽源有什么好玩的地方| 取什么网名好听| 梦到小男孩是什么意思| 大姨妈来了两天就没了什么原因| 是什么原因| 48岁属什么| 什么东西燃烧脂肪最快| 巨细胞病毒是什么病| 龟头炎用什么药膏好| 汉字最多笔画是什么字| ntr是什么意思啊| 腰脱什么症状| 什么是有限公司| 318是什么日子| 日本投降是什么时候| 后代是什么意思| 狮子的天敌是什么动物| 躯体形式障碍是什么病| 烧钱是什么意思| 高风亮节是什么意思| 马来西亚属于什么国家| 头疼头晕挂什么科| 嘴角长痘痘是什么原因| 安全起见是什么意思| 广西是什么族| 什么是粳米| 高血压是什么引起的| 画画可以画什么| 省委委员是什么级别| 来例假头晕是什么原因| 贵州有什么| 花儿乐队为什么解散| 2 26是什么意思| 为什么青蛙跳的比树高| 粘胶纤维是什么| 生育津贴什么时候到账| 调理神经吃什么药好| 补肾壮阳吃什么药好| cb是什么| 长长的柳条像什么| 什么的天空| 宝宝打嗝是什么原因| 肌酐什么意思| 崩是什么意思| 赭是什么颜色| 丢包率是什么意思| 激光点痣后需要注意什么| 相与是什么意思| 羊水指数和羊水深度有什么区别| 开除党籍有什么影响| 小孩疝气看什么科室| enne是什么烟| 冬至为什么烧纸| 维生素c什么时候吃效果最好| mixblu是什么牌子| 刘邦为什么杀韩信| 什么是过敏性咳嗽| 脚指甲变白是什么原因| 摸头是什么意思| 168红包代表什么意思| 三月一日是什么星座| 疝外科是治什么病的| 炖牛肉放什么调料最好| 皮下出血是什么原因| 颈椎压迫神经吃什么药| 疣是什么原因造成的| 战略支援部队是干什么的| 猪心炖什么适合孩子| 脂膜炎是什么病严重吗| 乙型肝炎表面抗体高是什么意思| 手机卡顿是什么原因| 孕妇梦见下雨是什么意思| 尔尔是什么意思| hhv是什么病毒| 胡桃木色是什么颜色| 肌膜炎是什么原因造成的| 珍珠五行属什么| 95年是什么命| 驴肉不能和什么一起吃| 表头是什么| 盗墓笔记的结局是什么| 梦见自己怀孕了是什么意思| 吃西红柿有什么好处和坏处| 敲定是什么意思| 金字旁土念什么字| 肺痈是什么意思| eligible是什么意思| 什么动物眼睛是红色的| 冬虫夏草有什么作用| 腿部抽筋是什么原因| 广西是什么族| 秦始皇陵为什么不敢挖| 荨麻疹什么东西不能吃| 掌门人是什么意思| 大雪是什么意思| 阿拉伯人属于什么人种| 腮腺炎用什么药| 清热解毒煲什么汤最好| 下肢水肿吃什么药| 宝宝发烧拉肚子是什么原因| 痛经看什么科| 慢性非萎缩性胃炎是什么意思| hpr是什么意思| 藩台是什么官| 排骨炖什么汤好喝| 六月二十四是什么星座| 什么是交感神经| 禄蠹是什么意思| 睡觉磨牙是什么情况| 认生是什么意思| 燃气是什么气体| 蜗牛爱吃什么| 铠字五行属什么| 一个黑一个出读什么| 湿疹有什么特效药| 脸上长痣是什么原因| 孩子百天有什么讲究| 特派员是什么级别| 凌乱是什么意思| 前位子宫是什么意思| 脂肪肝吃什么药好得快| 什么人| 刀厄痣是什么意思| 医生说忌生冷是指什么| 产后屁多是什么原因| 手脚脱皮是什么原因导致的| 瘁是什么意思| 突然戒烟对身体有什么影响| 乙型肝炎表面抗体阳性是什么意思| 番茄不能和什么一起吃| 鸭肚是鸭的什么部位| 铁路12306什么时候放票| 5月19日是什么星座| 查输卵管通不通做什么检查| 羊奶粉有什么好处| 体检挂什么科| 90岁属什么生肖| 过敏期间不能吃什么东西| 糖耐量是什么| 身份证穿什么颜色的衣服| 雅五行属性是什么| 初伏吃什么| 芭比q是什么意思| 今年52岁属什么生肖| 马蹄铁什么时候发明的| 猪身上红疙瘩用什么药| 肌腱炎是什么症状| 胸闷气短看什么科| 结扎对男的有什么影响| 什么的森林| 刘秀和刘邦是什么关系| 什么样的空气| 铃字五行属什么| 止咳化痰什么药最好| fop是什么意思| 为什么会卵巢早衰| 吃了阿莫西林不能吃什么| 呦呦是什么意思| 便秘应该吃什么| 吃什么对胃最好| 低血糖的人吃什么东西最好| 插班生是什么意思| 进重症监护室意味什么| qid医学上是什么意思| 巴旦木是什么树的果实| 为什么一来月经就头疼| 尿检白细胞阳性是什么意思| 光年是什么单位| 是谁在敲打我窗是什么歌| napoleon是什么酒| 丈夫的弟弟叫什么| 世界上最长的单词是什么| 散佚是什么意思| 西洋参泡水喝有什么好处| 花千骨什么时候上映的| 排卵期是什么意思| 处心积虑是什么意思| 碱性磷酸酶高吃什么药| 胎膜是什么| 胆碱酯酶高是什么意思| 背部疼痛挂什么科| 燊什么意思| 香蕉什么时候吃最好| 拘挛是什么意思| 布洛芬起什么作用| 三七粉有什么用处| 鲨鱼用什么呼吸| 一个火一个旦读什么字| 9月14号是什么星座| 办护照需要准备什么材料| 吃什么提高免疫力最好最快| 生丝是什么| 滴滴什么意思网络用语| 属牛跟什么属相最配| 梦见明星是什么预兆| 茯苓有什么作用和功效| 农历9月28日是什么星座| 风热感冒吃什么药| 什么现象说明奶吸通了| 雄五行属什么| 感冒后咳嗽吃什么药| 抗原是什么| 木代表什么生肖| 后背有痣代表什么意思| 牛尾炖什么最好| pc是什么| 归零是什么意思| 陶字五行属什么| 滞留针是什么| ap是什么| 印度信仰什么教| 不复相见什么意思| 25度穿什么衣服| 焦虑症吃什么药| 梦见丢了一只鞋是什么意思| 三月十号是什么星座| 打蛔虫吃什么药| 深圳有什么好玩的地方| 为什么会有白头发| 蚊子不咬什么血型的人| 什么叫自慰| 好马不吃回头草是什么意思| 腹膜刺激征是指什么| 魔鬼城是什么地貌| 卿卿什么意思| 刘亦菲是什么星座| 须尽欢什么意思| aa什么意思| 长期喝酒有什么危害| 什么什么入胜| 茶多酚是什么| 什么品牌奶粉最好| 今年十八岁属什么生肖| 上火喝什么药| 黑绿色大便是什么原因| 毕业送什么礼物好| 二级b超是检查什么| 个个想出头是什么生肖| 绅士是什么意思| 霉菌感染什么症状| 工作机制是什么意思| 维生素b5药店叫什么| biu是什么意思| 绿豆汤是什么颜色| 百度

This article presents a method for installing multiple (more than 2) operating systems on a single hard drive and creating a boot menu for selecting which operating system to boot. This method relies on a primary bootloader menu, stored in its own boot partition, which is used to "chainload" individual bootloaders which are unique to each independent operating system.

Chainload is similar to how it sounds. The master bootloader--most often GRUB installed on the MBR--presents a menu to the user. In this menu, there are options to boot each OS from its respective partition. Using chainloading, GRUB doesn't need to know exactly how to load each OS, it simply hands off control to the actual bootloader of the selected OS, in a chain-like fashion.

These instructions are for installing more than two OS's on your hard drive. If you only need two operating systems (such as a Windows installation and a (K)ubuntu Linux installation), it is easiest to just use the (K)ubuntu installer to do it for you (see WindowsDualBoot, for example).

Warning

This tutorial requires GRUB (GRand Unified Bootloader) version 1 (GRUB Legacy) to be used as the master bootloader.

As of version 9.10 (Karmic), the Kubuntu Desktop edition LiveCD installer uses Grub2 (which is harder to customize) and does not allow the specific steps needed in this tutorial. DO NOT USE the Karmic Koala Desktop edition LiveCD for installation if:

  • you have a dedicated boot partition
  • you use multiple OS (more than 2)
  • you already use chainloading of bootloaders.

The Ubuntu/Kubuntu Desktop edition LiveCD installer by default overwrites your Master Boot Record so that it points to its own partition (instead of to the boot partition) and you will subsequently be forced to re-create the Master Boot Record so it once again points back to the boot partition. (This is a serious flaw in Karmic Koala's Desktop edition LiveCD installer.) Instead, I strongly recommend using the Ubuntu Server edition LiveCD installer (and then later adding the ubuntu-desktop or kubuntu-desktop).

Introduction

The method here involves creating a small (approximately 100 Mb) boot partition in which to store the GRUB files. These files will be copied from the GRUB files that are created during the first Ubuntu Linux OS installation. The initial main GRUB menu will be kept in this small boot partition and will be edited so that GRUB will then chainload the bootloader files for whichever Windows, (K)ubuntu, or other Linux operating systems is chosen from the menu.

Each operating system then can keep the bootloader that is peculiar to it within its own partition. If the kernel, filesystem, or bootloader for one OS changes, it does not affect the ability of any other operating system to start, nor will it affect the primary GRUB bootup menu (which is stored and protected within its own boot partition).

This avoids the otherwise common problem that whenever a new OS (or distribution) is installed (including Ubuntu), it stores a GRUB configuration menu within its own partition and takes over the functions of the bootloader for every other OS. If there are multiple operating systems, it becomes difficult to remember which operating system's bootloader is the currently active one (that the Master Boot Record points to). With the chainloading method, you don't have to worry about that, anymore. You can upgrade or replace any OS and not worry about disturbing the ability of any other OS to load.

Here is some more info about this method:

Using GRUB Legacy for the boot partition

This method uses GRUB Legacy for the boot partition (because it is easier to customize). Starting with Karmic Koala 9.10, Ubuntu/Kubuntu uses GRUB2 by default (instead of GRUB Legacy), so only versions of Ubuntu/Kubuntu 9.04 or earlier can be used for installing GRUB Legacy to the boot partition.

The easiest way is to use an Ubuntu Server edition 9.04 LiveCD (which uses GRUB Legacy) to install the first instance of Ubuntu Linux. Use the minimal install (i.e. don't install any extra packages), in the interest of speed. Proceed with the installation instructions that install GRUB to the Master Boot Record, as well as installing a copy of GRUB Legacy to the local partition. Then copy the GRUB legacy settings to the boot partition as described. Edit the GRUB Legacy menu settings stored in the boot partition so that chainloading to each planned partition is enabled.

After this is finished, re-install your new version of Ubuntu/Kubuntu to the same partition (overwriting the 9.04 version in the process). However, this time do not allow the new installation process to overwrite the Master Boot Record. We want the Master Boot Record always to use GRUB Legacy, not GRUB2. Install GRUB2 (this time) to the local partition only.

Now the Master Boot Record will use GRUB Legacy (stored in the boot partition) merely as a chainloader to each subsequent partition, where that chosen partition's particular bootloader will then be run directly from the partition (no matter if it is a Windows bootloader, an Ubuntu bootloader, or a Mac bootloader).

Partition design

Note: If you are re-arranging (re-partitioning and re-formatting) your hard drive after already having a GRUB bootloader installed, you might not be able to boot into Windows (or anything else) until you re-install as part of a Linux OS re-installation. Panic not. Just proceed in a calm and orderly fashion.

Windows partitions

It is easiest if your Windows partition is the first one installed. This is because Windows installations are unpredictable -- sometimes your entire hard drive will be overwritten (causing you to lose any data stored there). Also, the Windows bootloader only looks in the first partition for a Windows installation.

If you have a brand new computer with no OS yet installed, the entire process is much easier. Create your partitions (using GParted) first, before installing Windows. Make the first partition NTFS (or the less secure FAT32, if you wish), intending it for the Windows installation. Then divide the remainder of the hard drive (using GParted) using the partitioning scheme noted above.

Generally, a retail "boxed" version of Windows (instead of an OEM or "backup" copy) installs quite happily to the first pre-configured, pre-sized partition. Go ahead and install it there, then skip on ahead to installing the Linux OSs.

However, some OEM and "backup" copies of Windows often have installation peculiarities (including pre-configured spamware, spyware, and specific hardware configurations) that will want to use the entire hard drive. Oh well, if you must, you must.

After doing so, you will then have to shrink the partition down to approximately 20-30 Gb (or your desired size).

Changing Windows partition sizes

Reinstalling Vista or Windows 7 on a new partition

A popular way to regain a significant amount of your hard drive with Vista/Windows 7 is to first re-format and re-partition the hard drive, then re-install Vista/Windows 7 second. When this works, you can reinstall Vista/Windows 7 in as little as 30 Gb.

For a re-installation, you will either need a retail version of Windows, or a "Recovery" disk provided by your OEM (computer) manufacturer that allows Windows re-installation to any size partition.

(Note: Not all Recovery disks will allow Windows re-installation to a newly re-sized partition. Although my eMachines, Dell, and Toshiba Recovery disks allowed it, my HP Recovery Disks did not. The HP Recovery disk, for example, erased the entire hard drive and recreated a single Windows partition. Any other partitions (and the data on them) were destroyed in the process. I therefore do not recommend using HP Recovery disks for this method. For HP computers, use the shrink volume method outlined above, instead).

For example, my eMachines box gave me the option of creating (burning) a pair of Recovery DVDs using eMachines -> eMachines Recovery Management. If your OEM manufacturer gives you a similar option of burning Recovery disks (instead of supplying Recovery CD/DVDs with your computer), make sure you burn these disks before reformatting/repartitioning your hard drive.

My OEM manufacturer (eMachines) had pre-installed both a primary partition and a recovery partition when I initially bought the computer. It is not necessary, however, to re-create these both of these partitions in order to re-install Vista from the Recovery disks; one partition for the re-installation is sufficient. As outlined below in my partitioning scheme, I reserved the first primary partition area (which you can either leave as free space at the beginning of the drive, or can format as an NTSC partition with the boot flag set, using GParted). Because I have a very large hard drive, I left 60 Gb for this first primary partition area that I planned to use as the Windows partition (although 40 Gb is probably more than enough, since my initial Vista re-install took only 22 Gb). The Recovery disks re-installed without problems, no matter which method I used (NTFS formatted partition or free space at the beginning of the drive), and I didn't have to worry about the MFT problem.

Obviously, this method would take an awful lot of work if you have been using your computer a long time. You would have to back up all your files first, and then re-install your add-on programs (again) after re-installing Vista/Windows 7. Then you would have to restore the files you had backed-up. It's much easier to do it with a new computer.

About Windows bootloaders

The Windows bootloaders store information about how big the partitions are. If you change the partition size, Windows checks the new partition size at the very next reboot (using either chkdsk in XP or a new utility in Vista/Windows 7). It then writes the info to its bootloader configuration file. If you start mucking around with other partitions before it has a chance to reset itself, the Windows bootloader will not be able to read the partition table properly (and will refuse to boot entirely).

GRUB boots Windows merely by chainloading the Windows bootloader (which is stored in the Windows partition). If the Windows bootloader doesn't work (i.e. doesn't recognize its own changed partition), then you are sunk.

If you ignore these warnings, I almost guarantee you will fry your Windows partitioning scheme and be unable to boot up Windows.

Install your first Linux OS

  • Read Using Grub Legacy for the boot partition to see why I recommend using Ubuntu Server edition 9.04 for this step.

  • Reboot into the Ubuntu 9.04 LiveCD (in my example I use the Ubuntu 9.04 Server edition 9.04 (Jaunty) LiveCD).
  • Install Ubuntu server -> (the usual pleasantries about language and mice and keyboards and stuff)

--> "Starting up the partitioner" -> Partition Disks: Manual

  • When you see the list of partitions, you will have to configure them appropriately.
  • You should note the small partition that you will use as the boot partition for the GRUB chainloader files. In my example it is /dev/sda2. Make a note of what yours is named.
  • Configure the swap partition.
  • This shouldn't need configuring if you set it up properly with GParted.
  • You can make sure that Use as: swap area is set.
  • Configure the root partition for the OS. Choose one of your logical partitions, which in my scheme is #6, is ext3, and has about 30 Gb.
  • Use as: Ext3 journaling file system.
  • Format the partition: Yes, format it
  • Mount point: / - the root file system
  • Bootable flag: off

Note: You should write down which device the / (root) partition is on. You will need this information later for GRUB settings. On mine, it is /dev/sda6.

-> Finish partitioning and write changes to disk -> "Installing the base system" -> ... ->

->"Install the GRUB boot loader to the master boot record?": YES -> Continue

  • In this step, GRUB must be installed both on the MBR (master boot record) as well as locally on the partition being installed (in this example /dev/sda6). The local version will be chainloaded by the MBR version. Therefore, install GRUB a second time:

-> Go Back -> Install the GRUB boot loader on a hard disk -> "Install the GRUB boot loader to the master boot record?": NO -> Device for boot loader installation: /dev/sda6 -> Continue

Copy boot files to the small GRUB partition

  • Boot into your Linux OS. Open a command line terminal if you have installed a desktop.
  • Make a new directory and mount it in your new Ubuntu OS.

 sudo mkdir /media/GRUBpartition
 sudo mount /dev/sda2 -t ext3 /media/GRUBpartition
 sudo mkdir /media/GRUBpartition/boot
 sudo mkdir /media/GRUBpartition/boot/grub

Note: Use whatever the device name of your small GRUB partition is (mine is /dev/sda2)

  • Make sure there are full read/write write permissions (this step may be optional).

 sudo chmod 777 /media/GRUBpartition/boot/grub
  • Copy all your GRUB files to the new partition

 sudo cp -r /boot/grub/* /media/GRUBpartition/boot/grub
  • Edit the menu.lst

 sudo nano /media/GRUBpartition/boot/grub/menu.lst
  • Place a chainloader entry as the first entry:

 ## ## End Default Options ##
 title  First Ubuntu Jaunty Server OS (chainloader)
 rootnoverify   (hd0,5)
 chainloader    +1

 title Second Ubuntu Jaunty Server OS (chainloader)
 rootnoverify   (hd0,6)
 chainloader    +1

This assumes your first installed OS has its / (root) directory in /dev/hda6 (as in my example above). GRUB counts the first partition as 0, so hda6 becomes (hd0,5), or hard drive 1 (it starts counting at zero), partition 6). If you want to chainload a bootloader on a second hard drive, partition 4 (/dev/hdb4), you would specify (hd1,3), instead, for example.

(I also put it an entry for my second planned OS, even though I haven't installed it yet. That will save me time later.)

  • Return the permissions so that only root can change or execute the files:

 sudo chmod 744 /media/GRUBpartition/boot/grub
 sudo chmod 744 /media/GRUBpartition/boot/grub/*

Reinstall GRUB to MBR

Now that the files are copied, we need to tell GRUB to look for them there. Do this step from your Linux OS command line terminal.

  • Start GRUB Legacy:

 sudo grub
 grub> find /boot/grub/stage1

You should see the places there are grub configuration files.

 (hd0,1)
 (hd0,5)

Note that (hd0,1) corresponds to the small GRUB partition (/dev/sda2), according to the counting method outline above. (hd0,5) corresponds to your first Linux OS (in the example /dev/sda6).

  • Make the small GRUB partition the loadable GRUB location.

 grub> root (hd0,1)
 grub> setup (hd0)
 grub> quit

==Install your second Linux OS== Again I'm going to use (K)ubuntu for the example, although any OS can now be installed.

  • Reboot into the Ubuntu LiveCD (I recommend a Server edition, because some Desktop editions overwrite the Master Boot Record automatically, which is not at all desirable at this stage).
  • Install Ubuntu server -> (the usual pleasantries about language and mice and keyboards and stuff)

--> "Starting up the partitioner" -> Partition Disks: Manual

  • When you see the list of partitions, you will have to configure them appropriately.
  • Configure the swap partition.
  • This shouldn't need configuring if you set it up properly with GParted.
  • You can make sure that Use as: swap area is set.
  • Configure the root partition for the OS. Choose one of your logical partitions, which in my scheme is #7, is ext4, and has about 30 Gb.
  • Use as: Ext4 journaling file system.
  • Format the partition: Yes, format it
  • Mount point: / - the root file system
  • Bootable flag: off

Note: You should write down which device the / (root) partition is on. You will need this information later for GRUB settings. On mine, it is /dev/sda7.

-> Finish partitioning and write changes to disk. (It is OK to format the swap and / (root) partitions.) -> "Installing the base system" -> ... ->

  • "Installing GRUB boot loader" ->

  • "Install the GRUB boot loader to the master boot record?": NO
  • "Install the GRUB boot loader on a hard disk": /dev/sda7

Use whichever device that corresponds to your / (root) directory for this OS, of course. This ensures that the GRUB bootloader is installed to this OS's partition, as well.

  • Finish installation and reboot. This system ought to be selected as the Second Ubuntu Jaunty OS, obviously.
  • Note: Once you have booted into this OS, you can now edit the chainloaded GRUB bootloader's local settings for this OS (at /boot/grub/menu.lst) as usual, as you can for the first installed OS as well.

Changing main GRUB boot menu settings

  • You can edit the local (chainloaded) GRUB boot menu for each Linux OS that uses GRUB Legacy (within the partition in which it is installed), if desired:

 sudo nano /boot/grub/menu.lst
  • You can edit the local (chainloaded) GRUB boot menu for each Linux OS that uses GRUB2 (within the partition in which it is installed), if desired (see these GRUB2 instructions):

 sudo nano /etc/default/grub
 sudo update-grub
  • To change the main GRUB boot menu, you will have to change the menu.lst found on the small GRUB boot partition.

  • If you are doing this from a Linux OS other than the first one you installed, again make a new directory for mounting:

 sudo mkdir /media/GRUBpartition
  • Mount the directory

 sudo mount /dev/sda2 -t ext3 /media/GRUBpartition

Note: Use whatever the device name of your small GRUB partition is (mine is /dev/sda2)

  • Make sure there are full read/write write permissions (this step may be optional).

 sudo chmod 777 /media/GRUBpartition/boot/grub/menu.lst
  • Edit the menu.lst

 sudo nano /media/GRUBpartition/boot/grub/menu.lst
  • Edit or add new chainloader entries:

 ## ## End Default Options ##
 title  First Ubuntu Jaunty Server OS (chainloader)
 rootnoverify   (hd0,5)
 chainloader    +1

 title Second Ubuntu Jaunty Server OS (chainloader)
 rootnoverify   (hd0,6)
 chainloader    +1

 title Newest Whizbang OS on second hard drive, partition 4 (chainloader)
 rootnoverify   (hd1, 3)
 chainloader    +1

GRUB starts counting from 0, so the first hard drive is number 0 and the first partition is also number 0. hda6 (which is hard drive 1, partition 6) becomes (hd0,5). If you want to chainload a bootloader on a second hard drive, partition 4 (/dev/hdb4), you would specify (hd1,3).

  • Return the permissions so that only root can change or execute the files (this step may be optional):

 sudo chmod 744 /media/GRUBpartition/boot/grub/menu.lst

Add Mac OS X Entry

  • You can add a chainloader entry for a Mac OS installation on a separate partition. In this configuration, Mac OS X must have its own bootloader at the beginning of the partition. Here's the entry for Mac OS X that is on partition /dev/sda9 (equivalent to (hd0,8):

 title Mac OS X
 root (hd0,8)
 makeactive
 chainloader +1

Re-installing GRUB Legacy after Windows Upgrade

  • Windows upgrades rewrite the Master Boot Record so that it points to the Windows bootloader only, instead of to the copy of GRUB in the boot partition. The Master Boot Record must therefore be re-written so that it will again point to the copy of GRUB stored in your boot partition.
  • For this example, assume the boot partition is the /dev/sda2 partition (which is known as (hd0,1) to GRUB Legacy).

You must use a version of a LiveCD that has GRUB Legacy, i.e. Kubuntu/Ubuntu 9.04 (Jaunty) or earlier. Start the LiveCD and start a command-line terminal (Terminal in Ubuntu or Konsole in Kubuntu). From the command-line terminal start GRUB:

 sudo grub

Then enter the commands to restore the Master Boot Record to point to the boot partition at /dev/sda2:

 > root (hd0,1)
 > setup (hd0)
 > quit
  • Reboot. Your previously created GRUB options should again appear.

Other resources


CategoryBootAndPartition

MultiOSBoot (2025-08-07 19:57:46由78-105-201-166编辑)

宝宝喜欢趴着睡觉是什么原因 胆碱酯酶低是什么原因 梦见屎是什么预兆 红细胞计数偏低是什么意思 忌诸事不宜什么意思
脚旁边骨头突出叫什么 梦见穿新衣服是什么意思 面瘫去医院挂什么科 chino是什么意思 胸口痛吃什么药
牙齿痛吃什么药最管用 鹦鹉拉肚子吃什么药 什么李子品种最好吃 伊始什么意思 病毒性感冒什么症状
炖排骨什么时候放盐 b2c什么意思 斜视是什么原因导致的 尿痛吃什么药效果最好 头晕应该挂什么科
做梦梦见前男友是什么意思xinmaowt.com 禅悟是什么意思hcv9jop6ns3r.cn pks是什么意思hcv8jop4ns3r.cn nice什么意思hcv7jop5ns1r.cn 普外科是看什么病的hcv9jop2ns8r.cn
仪仗队是什么意思adwl56.com 来大姨妈适合吃什么水果hcv8jop8ns3r.cn 2月13号是什么星座hcv8jop5ns6r.cn 618是什么意思hcv9jop4ns3r.cn 为什么喝牛奶会长痘hcv8jop6ns7r.cn
甲钴胺片是治什么病hcv9jop0ns5r.cn 女性尿检能查出什么病hcv9jop4ns1r.cn 楚楚动人是什么意思hcv8jop9ns5r.cn 天葬是什么hcv8jop4ns2r.cn juicy什么意思hcv8jop6ns7r.cn
流鼻血吃什么药效果好jiuxinfghf.com 由来是什么意思onlinewuye.com 10pcs是什么意思hcv8jop3ns4r.cn 梦见下雪了是什么意思hcv9jop7ns9r.cn 什么头什么向hcv8jop7ns8r.cn
百度