1

I have Windows XP.

It has ntldr and boot.ini on

multi 0 disk 0 rdisk 0 partition 1

and loads Windows from

multi 0 disk 0 rdisk 0 partition 3

I installed Ubuntu 12.10 on the second hard drive and I don't know what its partition number is. I think something like

multi 0 disk 0 rdisk 2 partition 1

or

multi 0 disk 0 rdisk 2 partition 3

because I have it partitioned like this:

  1. 10 GB, ext4. (I think this is Ubuntu's main partition)
  2. 5 GB, swap
  3. 85 GB, ext4 (I think this is Ubuntu's home folder)
  4. 365 GB, NTFS (for holding files)

I did it as here (like sda 5,6,7) but with higher volume and also I have same sda 2,3,4 but with other volumes which are partitions of another hard disk: http://help.ubuntu.ru/_detail/wiki/install_12_10/016.png?id=wiki%3Ainstall_ubuntu_12_10

What I want to know it, what do I need to write in boot.ini to choose Ubuntu like second string after my WinXP when I turn on the computer?

1 Answer 1

1

I found the answer on this page

Copy the partition table from your Ubuntu partition to the Windows partition (you'll need to mount your windows drive first):

sudo dd if=/dev/sda1 of=/media/me/windowsxp/ubuntu.boot bs=512 count=1

Then add this line:

C:\ubuntu.boot="Ubuntu"

to c:\boot.ini so that when bootmgr.exe runs (if the Windows partition is higher in the BIOS boot priority), it will have enough information to redirect to the Ubuntu partition.

1
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – fossfreedom
    Apr 23, 2013 at 18:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .