Jump to content

I would install windows first as it would be easier to create a partition for linux

Project Iridium:   CPU: Intel 4820K   CPU Cooler: Custom Loop  Motherboard: Asus Rampage IV Black Edition   RAM: Avexir Blitz  Storage: Samsung 840 EVO 250GB SSD and Seagate Barracuda 3TB HDD   GPU: Asus 780 6GB Strix   Case: IN WIN 909   PSU: Corsair RM1000      Project Iridium build log http://linustechtips.com/main/topic/451088-project-iridium-build-log/

 

Link to post
Share on other sites

3 hours ago, Electronics Wizardy said:

you can, but you have to mess with grub. The ewasy way is to just install windows first

 

 

Any reason why you want to do this?

Oh...

 

Yeah, I was thinking about dual booting on the same drive but I've been having problems with dual booting and find it easier and better most of the time to just have separate dedicated drives. I had an idea to change the order of things to see what difference it would make. 

Link to post
Share on other sites

10 hours ago, IAmLamp said:

I can not understand what you just said 

 

Something about boot options and Master Boot Record (MBR)

Grub is the default linux bootloader. You can configure it with some config files. Look it up on the arch wiki.

 

The mbr is how drives boot. there is a small partition that has a bootloader that tells the computer how the load the kernel and what partition its on. You need grub to be on the mbr to dual boot linux. If you have linux installed first then install widnows, you have this problem where windows replaces grub with its own bootloader.

Link to post
Share on other sites

Boot into linux from cd ( go to desktop with the live cd, on most ditros you have the "try without installing" option in the boot menu )

Partition the disk for linux ( ext4 + swap , don't partition the whole disk, you will need space for windows )

The rest of partition partition it for windows ( that will be NTFS )

Install linux.

Reboot.

Put the windows usb/dvd bootable device.

Install windows on the remaining space.

Boot with the Linux usb/dvd bootable device ( again with "try without installing " )

Open terminal and do

lsblk

Find the linux installed partition ( /dev/sdax , where "x" is a number /dev/sda1 /dev/sda2 etc. you need the one where linux is installed )

Lets say linux is on /dev/sda1. Do

 sudo mount /dev/sda1 /mnt 
sudo chroot /mnt

sudo update-grub

sudo grub-install /dev/sda

sudo umount -R /mnt

reboot

Done.

 

EDIT: THERE IS ALSO A PROGRAM CALLED "EasyBCD" that can help you to recover the previous linux installation ( i don't know how it works, if you want to do it with EasyBCD google it ).

Link to post
Share on other sites

On 9/4/2016 at 6:15 PM, Electronics Wizardy said:

Grub is the default linux bootloader. You can configure it with some config files. Look it up on the arch wiki.

 

The mbr is how drives boot. there is a small partition that has a bootloader that tells the computer how the load the kernel and what partition its on. You need grub to be on the mbr to dual boot linux. If you have linux installed first then install widnows, you have this problem where windows replaces grub with its own bootloader.

 

TL;DR, simply install Windows first and you shouldn't have any problems

Link to post
Share on other sites

 

@Azatoth deserves best answer for OPs question. Please mark as answer OP.

BitBucket/Github:

PM if interested.

In accordance to Forum Community Standards:

No advertising of any non LTT/LMG material

  • Personal websites or businesses

Signatures

  • No Advertising/External Links, other than to other LTT forum posts

Link to post
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×