Using grub to boot vista




















Once you are done with installing and configuring Windows Vista, you need to install the Linux distribution of your choice. During testing, Ubuntu 6. Although the entry was labelled "Windows XP Professional", when this entry was selected during boot, it would bring up the Windows Vista bootloader and you could then boot either Windows Vista or a legacy operating system.

This should just involve re-installing GRUB. This can be done by using the following directions. From here, you will need to specify the drive and partition that GRUB is going to be installed or reinstalled to.

We can do that by using the following command: Code: Select all root hd0,1 There may be a few changes that need made here depending upon the current setup. First, you need to make sure the drive type is correct. The next item, the '0', is the drive number. Zero 0 specifies that it is the first hard drive in the sequence. However, when attempting to boot another operating system alongside Linux on the same machine, the other system's bootloader may overwrite GRUB, resulting in the inability of the Linux system to boot up.

The problem occurs during an attempt a dual boot with an existing Linux installation. Another reason is the accidental removal of GRUB configuration files.

The example above shows GRUB displaying the "no such partition" error before displaying the grub rescue prompt. Another common GRUB error is "unknown filesystem", followed by the same prompt. Use the commands in the prompts mentioned in the previous section. Use the set command with no arguments to view the environment variables :. The example output shows that GRUB is set up to boot from hd0,msdos3 partition:. The ls command lists the available partitions on the disk.

Press a key when you are prompted. Select a language, a time, a currency, a keyboard or an input method, and then click Next. Click Repair your computer. Click the operating system that you want to repair Vista in this case , and then click Next.

Once in the command prompt, type exactly Bootrec. You will see "operation completed successfully. In my case, it remembered my settings re: my original dual-boot setup with Vista x64 being first and XP being second on the boot menu list. Hope this is helpful for those like me who tinkered with Ubuntu and found it too much hassle to play with, or other cases where you simply need to get rid of GRUB and have Vista installed. Sorry it didn't work out. Thanks and no biggie--I'll give the next release a whirl and I bet that all the kinks will have been worked out by then judging by how nice 7.

Problem solved. RobotHumans RobotHumans Solution found see above. I saw the chat conversation. Solved with update-grub, which supports not refutes this answer.

Pavan Rao Pavan Rao 21 2 2 bronze badges. The issue is that the grub config file is missing — ravery. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked See more linked questions. Related 3.



0コメント

  • 1000 / 1000