Results 1 to 4 of 4

Thread: Ubuntu Linux BUT want windows dual booting on same drive...

  1. #1
    Yer Da Sells Avon! keef247's Avatar
    Join Date
    Dec 2005
    Location
    Brownsville
    Posts
    1,437
    Thanks
    201
    Thanked
    27 times in 23 posts

    Question Ubuntu Linux BUT want windows dual booting on same drive...

    already got a sweet install of ubuntu with all the hard drive space partition automatically and formatted.but i want to put windows on to dual boot for steam as i have a ati card so lol linux=no no for games.its just till main rigs up... so can i just repartition my ubuntu and do it over the top?or would it have been better if windows was on first or does it make a difference if i just repartition it so i have some left for windows?what program should i use on ubuntu and do i need to edit anything (and how and what and where) so it will dual boot, like so ubuntu triggers a boot loader?does it have grub or? what do i do people!
    cheers
    Quote Originally Posted by Fraz regarding the Apple Mighty Mouse
    I just got so fed up with this thing for it's crappy erratically working scroll ball and poor right-click detection that I just threw it against a wall and it exploded.

    Good riddance. Wish I'd done it about a year ago.

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    ideally, you want windows installed first - the windows installer will eat any non-windows boot loaders it sees.

    however, it *can* be done this way round.

    firstly, you need space for a windows partition. download a gparted livecd, and free up some space as an ntfs partition.

    install windows to the blank partition (the windows installer should see it as c:\) - at this point, linux will no longer be bootable.

    boot back into the gparted livecd, and open a terminal. type:

    Code:
    sudo grub
    root (hdX,Y)
    X and Y should equate to the drive number and partition number of your linux partition, counting from 0 - for example if your linux drive is "sda" and partition is "sda1", then use "(hd0,0)". If it's drive 3 partition 7, use "(hd2,6)"

    Code:
    setup (hdX)
    X should be the same as before, usually 0

    Code:
    quit
    at this point, linux becomes bootable again - but windows doesn't.

    reboot into your linux system, open a terminal, and run:

    Code:
    sudo gedit /boot/grub/menu.lst
    this file defines all the partitions you can boot into. windows needs an entry. add the following, AFTER the line "### END DEBIAN AUTOMAGIC KERNELS LIST":

    Code:
    title           Windows
    root            (hdX,Z)
    savedefault
    makeactive
    chainloader     +1
    X and Z are the drive and partition number for your Windows partition. remember, start counting from 0, not 1.

    save, quit, reboot, sorted.

  3. #3
    Yer Da Sells Avon! keef247's Avatar
    Join Date
    Dec 2005
    Location
    Brownsville
    Posts
    1,437
    Thanks
    201
    Thanked
    27 times in 23 posts
    thanks mate will try it now.
    cheers
    Quote Originally Posted by Fraz regarding the Apple Mighty Mouse
    I just got so fed up with this thing for it's crappy erratically working scroll ball and poor right-click detection that I just threw it against a wall and it exploded.

    Good riddance. Wish I'd done it about a year ago.

  4. #4
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    once again this is in the wiki -
    It is Inevitable.....


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 15
    Last Post: 03-09-2006, 05:50 PM
  2. Replacing HDD on Dell Dimension & doing a Drive Image-Not Working?
    By X10 in forum Help! Quick Relief From Tech Headaches
    Replies: 2
    Last Post: 07-08-2006, 06:18 PM
  3. Windows XP installing / booting / Sata
    By ikonia in forum Software
    Replies: 1
    Last Post: 02-10-2005, 10:00 PM
  4. Dual Booting
    By mike_w in forum Software
    Replies: 4
    Last Post: 21-03-2005, 07:38 PM
  5. Linux dual boot Virgin - help!
    By Ruggerbugger in forum Software
    Replies: 10
    Last Post: 10-02-2005, 11:36 PM

Posting Permissions

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