Results 1 to 6 of 6

Thread: Change operating system disk

  1. #1
    Join Date
    Nov 2013
    Beans
    24

    Question Change operating system disk

    I have a dual boot system with Ubuntu 12.04 and Win XP. Win XP is on a IDE drive. What I would like to do is load Win 7 on a SATA drive, to replace Win XP. How do I change the boot menu to list Win 7 and take out Win XP?

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 17.04 Zesty Zapus

    Re: Change operating system disk

    Since your question has more to do with Windows than Ubuntu, I've moved it to Other OS/Distro Support.

  3. #3
    Join Date
    Aug 2005
    Beans
    6,024

    Re: Change operating system disk

    On which drive is grub installed?

    You could simply reinstall grub or update it or use grub customiser.

  4. #4
    Join Date
    Nov 2013
    Beans
    24

    Re: Change operating system disk

    msdos is sda1. Windows is sda5. Ubuntu is sdc1. Thank you for your answer, I think I can take it from here. I think you are wrong, this is about the the grub loader, not windows. According to grub customiser it auto looks for other operating systems, so I don't have to worry about changing operating systems.

  5. #5
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Change operating system disk

    Easy to understand Ubuntu manual with lots of pics: http://ubuntu-manual.org/
    Do i need antivirus/firewall in linux?
    User friendly disk backup: Redobackup

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Change operating system disk

    It may depend on which drive grub is installed into and that drive is the BIOS default. If sdc then you really do not need to do anything except.
    sudo update-grub

    But if grub is in the MBR of the IDE drive, removing it will prevent you from booting. Then you need Boot-Repair or a live installer to install grub correctly.
    If you do not have grub in sdc you can easily install it when booted into the install in sdc.

    #reinstall from working (not liveCD/DVD/USB) system - first find Ubuntu drive (example is drive sdc but use your drive not partitions):
    sudo fdisk -l
    #if it's "/dev/sdc" then just run:
    sudo grub-install /dev/sdc
    #If that returns any errors run:
    sudo grub-install --recheck /dev/sdc
    sudo update-grub

    Before installing Windows be sure to set BIOS to boot from drive you are installing into first. Windows will install its hidden 100MB boot partition into the default boot drive. If that is sdc, it will corrupt Ubuntu as it does not see Linux partitions and will just stuff in a new 100MB partition overwriting whatever you have there. Many suggest disconnecting other drives to avoid issues.


    Multibooters, Pictures here worth 1000+ words
    http://www.multibooters.co.uk/multiboot.html
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •