Install Ubuntu without GRUB using Vista Bootmanager

I am aware that this article is a mess! It's been created in a hurry.

Maybe with time I'll be able to format it correctly and order things a litlle.

This is the big Tutorial for it:
Link to the original tutorial.

Problem to solve: Install GRUB to Ubuntu partition:

Start Ubuntu Live CD, setup Network connection and mount certian things:
You have to mount your root partition using the livecd:

sudo mkdir /mnt/root
sudo mount -t ext3 /dev/sda6 /mnt/root

Then you have to mount the proc subsystem and udev inside /mnt/root also:

sudo mount -t proc none /mnt/root/proc
sudo mount -o bind /dev /mnt/root/dev

Doing this allows grub to discover your drives. Next you have to chroot:

sudo chroot /mnt/root /bin/bash

(Source: (see for MBR installation))

Maybe you will have to setup a nameserver to get Internet to install grub (too lazy to try now if so):

nano -w /etc/resolv.conf

Nun tragen Sie hier den Nameserver (oder mehrere) dem Beispiel folgend ein.
Dabei sollten Sie natürlich wieder ${NAMESERVER} durch die entsprechende
IP-Adresse ersetzen.

nameserver ${NAMESERVER1}
nameserver ${NAMESERVER2}


Maybe you also need to do this, before insatlling GRUB is possible:
Füge die 3 Zeilen mal in Deine Sources list ein.

sudo gedit /etc/apt/sources.list

deb edgy main restricted universe multiverse
deb edgy-security main restricted universe multiverse
deb edgy-updates main restricted universe multiverse

then type:

sudo aptitude update
sudo aptitude upgrade


To use sudo you may need to do this:

adding the line: ubuntu

to /etc/hosts file (in my case the machine name is "ubuntu").


And finally do this:

grub-install /dev/sda4 (<- find out using fdisk -l)

if you get the error: Could not find device for /boot/boot: not found or not a block device, do this:

grep -v rootfs /proc/mounts > /etc/mtab

Then grub installation should work.

Here are parts of the main tutorial (there's somethingmore about bitlocker, but oh well):
How to use Windows Vista’s Boot Manager to boot Linux


The Web is full of explanations on how to dual boot Windows and Linux using a Linux boot manager like GRUB or LILO. If you want to dual boot Windows Vista and Linux using Windows Vista’s Boot Manager, please read on. I will assume that you already have installed Linux on your machine using GRUB as your boot loader.


Step 1 – Install GRUB on the Linux partition (outside of MBR)

As Windows Vista will replace the Master Boot Record (MBR) with its own, we need to relocate GRUB elsewhere by running grub-install with the Linux partition as a parameter.

• On Linux, launch a Terminal with root privileges

• Find the name of the partition Linux is installed on by running fdisk –l (the partition you’re looking for is the one whose system is Linux, can be something like /dev/sda1 or /dev/hda1. For the rest of this post, I’ll use /dev/sda1)

• Install GRUB on the Linux partition by running : grub-install /dev/sda1


Step 2 – Get a copy of Linux boot sector

We will need to instruct Windows Boot Manager how to boot correctly Linux using Linux boot sector, which we will extract using dd.

• On Linux, launch a Terminal with root privileges

• Take a copy of Linux boot sector : dd if=/dev/sda1 of=/tmp/linux.bin bs=512 count=1

• Copy linux.bin on a FAT formatted USB key or any storage accessible from Windows Vista


Step 3 – Install Windows Vista


Step 4 – Configure dual booting in Windows Vista

We will create an entry for GRUB in Windows Vista boot configuration data store using bcdedit.

• On Windows Vista, launch a command prompt with administrative privileges (by right clicking on cmd and choosing Run as Administrator)

• Copy Linux boot sector on the root of the Windows boot (active) partition, namely the one containing bootmgr. If you don’t know for sure you can use diskpart or diskmgmt.msc to find out which one it is.

• Create an entry for GRUB :

o bcdedit /create /d “GRUB” /application BOOTSECTOR

o Note: bcdedit will return an ID for this entry that we will call {LinuxID} below. You will need to replace {LinuxID} by the returned identifier in this step. An example of {LinuxID} is {81ed7925-47ee-11db-bd26-cbb4e160eb27}

• Specify which device hosts a copy of the Linux boot sector

o bcdedit /set {LinuxID} device boot

• Specify the path to a copy of the Linux boot sector

o bcdedit /set {LinuxID} PATH \linux.bin

• Add Linux entry to the displayed menu at boot time

o bcdedit /displayorder {LinuxID} /addlast

• Let the menu be displayed 10 seconds to allow for OS selection

o bcdedit /timeout 10



There is also a little program allowing to create linux.bin from windows:

A tutorial is here:

the program you can find here:

ALSO you NEED to configure your GRUB (to be sure, do it BEFORE creating linux.bin!!)

Do this by creating a menu.lst in your /boot/grub folder and out in fitting config.

more Information can be found here:

As an example: my config looks like this:

# Windows Entry
title Windows Vista
root (hd0,0)
chainloader +1

# Linux

title Ubuntu
root (hd0,3)
kernel /vmlinuz root=/dev/sda4
initrd /initrd.img


VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

One Response to “Install Ubuntu without GRUB using Vista Bootmanager”

  1. Ubuntu as 3rd opsys says:

    [...] ubiquity -b from a terminal window. However, I can't see that option in the Manpage: ubiquity -- install Ubuntu from a live CD so I would research it further. Here's some detailed info on running dual boot with BootManager (I have not tried this!): Install Ubuntu without GRUB using Vista Bootmanager | [...]

Leave a Reply