You are not logged in.

#1 2009-12-25 04:54:23

MP2E
Member
Registered: 2009-09-05
Posts: 115

[SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

Well, after a few failures with WINE and not being satisfied with VMing to play my games, I've decided that I have no choice but to make a small(probably 30GB) Windows partition... However, how would I go about "restoring" grub without messing up or reinstalling Arch? I didn't see anything on the wiki about this.

Last edited by MP2E (2009-12-25 08:14:53)


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#2 2009-12-25 06:14:02

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

Offline

#3 2009-12-25 06:16:46

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

Install windows, re-install grub?


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2009-12-25 06:33:36

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

It would be easier to install windows on another hard drive and then configure grub to chainload to the that hard drive if you need to create a dual boot after you install Linux.

Offline

#5 2009-12-25 06:48:18

area
Member
Registered: 2008-09-18
Posts: 43

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

1. install windows (make sure it doesn't overwrite Arch)
2. boot a live cd
3. install grub
4. before rebooting, make sure the config points to windows and linux correctly.
5. profit.....

Configure grub in accordance with the wiki and/or beginners guide

I had to do this a few years ago when I first attempted Arch... so I can't remember if there was a chroot involved (highly doubt it).
If anyone knows otherwise, please correct me.

Offline

#6 2009-12-25 06:54:52

MP2E
Member
Registered: 2009-09-05
Posts: 115

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

I was hoping it would be as simple as to grab the Arch Live CD again and just select "Install Grub" but I'm worried that the uuid's won't be correct. Can anyone verify that this works?


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#7 2009-12-25 07:01:06

area
Member
Registered: 2008-09-18
Posts: 43

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

you shouldn't need the UUID for configuring grub, only the (disk#,partition#) set. You can set the UUIDs in fstab once grub works correctly... which it will following the steps above.... because I've done it before and I remember now that chroot was not needed.

Offline

#8 2009-12-25 07:09:29

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

I second the method of simply installing on a separate drive, then using your existing GRUB to chainload windows off that new drive. HD's are cheap - pick up a new, or even second hand one for a few bucks and enjoy the space, flexibility and backup storage a cheap second drive offers.


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

#9 2009-12-25 07:13:39

area
Member
Registered: 2008-09-18
Posts: 43

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

I love to hoard disk space as much as anyone else... but in this case it is overkill/ not necessary

your choice

Offline

#10 2009-12-25 07:39:01

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

MP2E wrote:

I was hoping it would be as simple as to grab the Arch Live CD again and just select "Install Grub" but I'm worried that the uuid's won't be correct. Can anyone verify that this works?

So what if the UUIDs change? You can always reconfigure menu.lst using your new UUIDs. I don't see any problems installing windows on the same hdd as linux. I have done it countless times, no problemos!


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#11 2009-12-25 07:49:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

+1 for what others have said.

1) Install win
2) Boot with arch cd
3) reconfigure grub

Easy as pie.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#12 2009-12-25 08:15:26

MP2E
Member
Registered: 2009-09-05
Posts: 115

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

Thanks, answers my question perfectly tongue I was just a little worried that there might be some horrid side effect, but it seems not. Thanks!


17:23 < ConSiGno> yeah baby I release the source code with your mom every night
17:24 < ConSiGno> you could call them nightly builds if you know what I mean

Offline

#13 2009-12-27 00:39:50

prasetyams
Member
From: Jakarta
Registered: 2008-04-29
Posts: 74

Re: [SOLVED]Creating a dual boot, but with Windows installed AFTER Linux?

hello. this is what I do everytime:
1. create 2 primary partitions, 15GB ext3 and 30GB ntfs
2. make the ext3 partition active, suppose it's the 1st (sda1)
3. install arch, install grub on sda1 not sda (not mbr)
4. make ntfs partition active, when booting it will give no operating system/boot error stuff
5. install windows to ntfs partition (if installing windows 7, make sure to reformat the ntfs partition)
6. make ext3 partition active (again)
7. boot to linux, edit grub menu list to boot windows. tada. works with xp to 7.

hope this helps smile by not installing grub on mbr I can easily add/remove os on any primary partition without reinstalling grub, and even if I remove Arch, I can still boot windows by setting ntfs as the primary partition.


Where's my sig?

Offline

Board footer

Powered by FluxBB