Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

my dual boot (Ubuntu/win2k) issue

  • 25-06-2006 4:28pm
    #1
    Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭


    I have had Ubuntu, latest release, installed on my pc for a while and decided to put win2k on it today as a dual system. I had a parition on my original system and i installed win2k on the free parition space. I formated that parition using NTFS and continued on with the installl.

    Win2k is installed fine but when the pc boots up it doesn't give me the option to boot into Ubuntu. Any ideas as to what to do to reslove this issue.

    If i need to provide more info then fire away with the questions.


Comments

  • Closed Accounts Posts: 5,332 ✭✭✭311


    Theres a file called boot.ini in the root directory of where windows is that gives you this option ,
    I thought if you had microsoft on a machine ,it must be installed first before unix

    I am only using unix since yesterday ,but I have XP and Ubuntu on the same machine

    I'm not sure how the boot.ini works

    Sorry ,thats all I know about it.


  • Closed Accounts Posts: 22,479 ✭✭✭✭philologos


    yeah generally unix must be installed first, I thought you could skip to step install GRUB bootloader on the Ubuntu install CD to fix that


  • Registered Users, Registered Users 2 Posts: 1,421 ✭✭✭Steveire


    So I'm guessing you are not booting into a grub menu then?
    Sound like windows installed its own boot manager during the installation.

    If your ubuntu CD is a live one, look into booting from that and running 'grub-install' or something. Look it up first. That should find your ubuntu and windows operating systems, and install itself so that you get the choice on boot up.


  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    yeah, i have a live cd of ubuntu, i'll give that a blast.


  • Registered Users, Registered Users 2 Posts: 2,082 ✭✭✭Tobias Greeshman


    Alternatively you can use the Windows 2000 boot manager to boot into Ubuntu.

    If you can boot into Linux with a boot floppy or alternatively with the CD.

    open up a terminal
    put a floppy in the drive
    mount it
    mount /dev/fd0 /mnt/floppy
    

    Then copy the 1st 512 bytes of the main boot partition onto a file on the floppy (use / partition if /boot is not on a separate partition, i'll assume it's /dev/hda1 on your pc, but could be different).
    dd count=1 bs=512 if=/dev/hda1 of=/mnt/floppy/boot.lnx
    
    Unmount the floppy
    umount /dev/fd0
    

    Reboot into Windows, copy the boot.lnx file into the C:\ drive

    Unhide all system files in explorer (in Folder settings)
    Edit a file called "boot.ini"
    Locate a section called [Operating Systems]
    Underneath this, there should be a line with something similar to:
    multi(0)disk(0)rdisk(0)... "Windows 2000"

    Add a line after this
    C:\boot.lnx="Ubuntu Linux"

    save the file and set it back as a hidden system file

    Reboot your PC and you should now have an option to get back into the Ubuntu.

    Personally I'd go with Grub, it's a hell of a lot easier to setup


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    i wouldn't be too familar with command line stuff on linux so i went for the simple option > installed ubuntu again :o

    thanks for the advise nonetheless.


  • Closed Accounts Posts: 884 ✭✭✭NutJob


    Never seen that done before very smart hack ill remember that.
    Thanks Silas


  • Closed Accounts Posts: 22,479 ✭✭✭✭philologos


    silas wrote:
    Alternatively you can use the Windows 2000 boot manager to boot into Ubuntu.

    If you can boot into Linux with a boot floppy or alternatively with the CD.

    open up a terminal
    put a floppy in the drive
    mount it
    mount /dev/fd0 /mnt/floppy
    

    Then copy the 1st 512 bytes of the main boot partition onto a file on the floppy (use / partition if /boot is not on a separate partition, i'll assume it's /dev/hda1 on your pc, but could be different).
    dd count=1 bs=512 if=/dev/hda1 of=/mnt/floppy/boot.lnx
    
    Unmount the floppy
    umount /dev/fd0
    

    Reboot into Windows, copy the boot.lnx file into the C:\ drive

    Unhide all system files in explorer (in Folder settings)
    Edit a file called "boot.ini"
    Locate a section called [Operating Systems]
    Underneath this, there should be a line with something similar to:
    multi(0)disk(0)rdisk(0)... "Windows 2000"

    Add a line after this
    C:\boot.lnx="Ubuntu Linux"

    save the file and set it back as a hidden system file

    Reboot your PC and you should now have an option to get back into the Ubuntu.

    Personally I'd go with Grub, it's a hell of a lot easier to setup

    Great tut m8 :) will have to try it some time


  • Registered Users, Registered Users 2 Posts: 1,419 ✭✭✭nadir


    windows overwrites the MBR becasue it sucks ass.
    so yeah installing grub again afterwards is the suual way.


  • Registered Users, Registered Users 2 Posts: 3,977 ✭✭✭mp3guy




  • Advertisement
Advertisement