[Solved] Installing Windows 7 through Linux Mint 13

Chat about just about anything else

[Solved] Installing Windows 7 through Linux Mint 13

Postby n4arsonist on Sat Oct 20, 2012 7:54 pm

Hello, this may be a stupid question, as I'm new to linux, but here's my situation.
I am using an Acer w500 tablet which normally runs windows, I recently installed Linux Mint 13 KDE over it, as windows was running a bit slow. I have recently decided to re-install windows 7 as the sole operating system for the time being. I have the recovery disks for windows 7, but whenever I boot and run it, it tells me that I don't have enough space for the temporary files. So, my question is, how do I install Windows 7 as the sole operating system over Linux Mint 13 KDE? Do I need to re-install Linux and create a new partition? If so, exactly how do I do create said partition so that windows can use it?
Thanks!
Last edited by n4arsonist on Mon Oct 22, 2012 3:27 pm, edited 1 time in total.
n4arsonist
Level 1
Level 1
 
Posts: 6
Joined: Wed Oct 10, 2012 10:01 pm

Linux Mint is funded by ads and donations.
 

Re: Installing Windows 7 through Linux Mint 13

Postby xenopeek on Sun Oct 21, 2012 7:46 am

Depends. Suggest you boot from the Linux Mint installation DVD / USB and run GParted. Using that, check that you didn't delete your Windows recovery partition. If it is still there, go ahead and remove the Linux Mint partitions (the ext4 and linux swap ones). Hopefully that should allow you to recover Windows again. If you deleted the recovery partition, I'm not sure how you should Windows again as laptops / tablets generally don't come with a medium to reinstall Windows.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13678
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Installing Windows 7 through Linux Mint 13

Postby n4arsonist on Sun Oct 21, 2012 9:51 am

Thanks for the quick reply!
The partitions showing are...
/dev/sda1 ext4 28gb
/dev/sda2 extended 1.6gb
/dev/sda5 linuxswap 1.6gb

So, it looks like it overwrote the Windows Recovery when I installed Linux :( Does that mean that even with the recovery disks I won't be able to install Windows?
If not, I may have an XP or spare Windows 7 installation disk around, would those work?
n4arsonist
Level 1
Level 1
 
Posts: 6
Joined: Wed Oct 10, 2012 10:01 pm

Re: Installing Windows 7 through Linux Mint 13

Postby wayne128 on Sun Oct 21, 2012 10:06 am

n4arsonist wrote:Thanks for the quick reply!
The partitions showing are...
/dev/sda1 ext4 28gb
/dev/sda2 extended 1.6gb
/dev/sda5 linuxswap 1.6gb

So, it looks like it overwrote the Windows Recovery when I installed Linux :( Does that mean that even with the recovery disks I won't be able to install Windows?
If not, I may have an XP or spare Windows 7 installation disk around, would those work?



It seems during your last installation of Linux OS you had chosen to let the installer took over the whole hard disk.

Now that you want to reinstall Windows OS, the first thing to do is to save any files in Linux OS you wish to keep.
Then, boot and run from Live DVD/CD, run gparted, delete all the three linux partitions, when you do so the whole hard disk become unallocated space.

Next is to boot with Windows OS CD, it will see all the space which are unallocated, and follow windows OS installation procedure.
wayne128
Level 9
Level 9
 
Posts: 2808
Joined: Tue Jul 13, 2010 12:15 am

Re: Installing Windows 7 through Linux Mint 13

Postby n4arsonist on Sun Oct 21, 2012 12:17 pm

Alright, using gparted booted from the Live USB, I was able to delete the first partition, /dev/sda1 freeing up about 28gb. However, I can't delete the other two, as they are marked locked. When I try to it says that one partition needs to be mounted, so I am unable to umount or delete them. I went ahead and tried the recovery cd with just the first partition deleted, which is now marked as "unallocated", but ran into the same problem.
n4arsonist
Level 1
Level 1
 
Posts: 6
Joined: Wed Oct 10, 2012 10:01 pm

Re: Installing Windows 7 through Linux Mint 13

Postby karlchen on Sun Oct 21, 2012 4:13 pm

Hello, n4arsonist.

Linux, including the live system, will see and use the swap device. Therefore you will have to turn it off. Then you will be able to remove /dev/sda5 and finally /dev/sda2.
Code: Select all
sudo swapoff -a
should turn swapping off.

Kind regards,
Karl
Image
Enlightened by Lucid Lynx, enchanted by Maya, impressed by Petra.
User avatar
karlchen
Level 9
Level 9
 
Posts: 2520
Joined: Sat Dec 31, 2011 7:21 am

Re: Installing Windows 7 through Linux Mint 13

Postby bigj231 on Sun Oct 21, 2012 10:33 pm

If you have a copy of the windows 7 install disk, not the recovery disks, you can just delete all the partitions and make new ones using fdisk while you are booted into the windows installation environment. You have to use the command line to do it. Just remember that the dos command prompt is weird after you have gotten used to BASH/linux.
Running on a 4-slot toaster @ 60Hz
User avatar
bigj231
Level 5
Level 5
 
Posts: 793
Joined: Fri Feb 26, 2010 10:16 am
Location: Middle of Nowhere

Re: Installing Windows 7 through Linux Mint 13

Postby n4arsonist on Sun Oct 21, 2012 10:47 pm

Again, thank you guys so much for all the help and quick replies.
I was able to delete the remaining partitions and use the recovery cd, everything went fine until I rebooted, whereupon it gives me the error,
"Error: unknown filesystem."
grub rescue>

Any ideas?
n4arsonist
Level 1
Level 1
 
Posts: 6
Joined: Wed Oct 10, 2012 10:01 pm

Re: Installing Windows 7 through Linux Mint 13

Postby wayne128 on Sun Oct 21, 2012 11:37 pm

n4arsonist wrote:Again, thank you guys so much for all the help and quick replies.
I was able to delete the remaining partitions and use the recovery cd, everything went fine until I rebooted, whereupon it gives me the error,
"Error: unknown filesystem."
grub rescue>

Any ideas?



Well, something is amiss on your recovery disk and re-installation of Win7.
Usually win7 will overwrite MBR and make it bootable.

Your error message
grub rescue>

indicates that MBR is still with Linux's boot loader grub.
so your win7 recovery disks somehow did not install windows boot manager onto MBR, that is quite unusual.
something is not right on your recovery disks.

Nevermind, if you still cannot get win7 to install its own boot loader,
and if your win7 installation is really complete , but just missing boot loader,
you can try a quick trick , that is to install Lilo onto MBR.

The method to fix the MBR is:
1. Boot the machine using the Linux Live USB/CD.
2. Install lilo

sudo apt-get install lilo

3. Fix the MBR using lilo using the command:

sudo lilo -M /dev/sda mbr

4. reboot, and hope for the best.
good luck
wayne128
Level 9
Level 9
 
Posts: 2808
Joined: Tue Jul 13, 2010 12:15 am

Re: Installing Windows 7 through Linux Mint 13

Postby n4arsonist on Mon Oct 22, 2012 3:25 pm

It worked! I'm running Windows 7 seemingly flawlessly.
Thanks a bunch guys!
n4arsonist
Level 1
Level 1
 
Posts: 6
Joined: Wed Oct 10, 2012 10:01 pm

Linux Mint is funded by ads and donations.
 

Return to Open chat

Who is online

Users browsing this forum: No registered users and 7 guests