LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2013, 06:23 PM   #1
harsh123
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
How do I install Windows 7 from ubuntu


I will try to make this short as possible

Lately I have realised that installing only ubuntu was and removing windows was a huge mistake mainly due to gaming purposes . so is there a way that I can remove ubuntu and install windows or even keeping ubuntu because it don`t really mater as far as I have windows on my laptop. I have try`d booting windows 7 from a usb several times using UNetbootin but it don`t really work as I had problems while formatting it from fat32 to NTFS and I have also try`d installing windows xp from CD using Nero Linux but that was a failure to and I ended up wasting 2 of my CDs so is there a way where I can install windows 7 from a DVD because USB`s don't really seam`s to work for me.Also I have try`d different iso. for windows 7 and xp..


Thank you for your answers... Harsh
 
Old 06-29-2013, 06:31 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Quote:
Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 4 million posts to search it's possible the answer has been given.
I suggest you create a new partition, and format it as ntfs from ubuntu.

the formatting is really fast compared to when using windows tools.

Then you should be able to install win7 to the new partition. Make sure you do a full format, not quick. Win likes Win-tools.

Your new partition will need to be over 20Gb, to support win7 and programs/games.

regards Glenn
 
Old 06-29-2013, 09:06 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I suspect that 20GB will be far too small for a usable Win 7 install.

I have a Win7 computer with a full install and several applications installed, plus some data, and it's nearly 200 GB. I don't remember what the base install was, but it was somewhere around 50 GB, I think.

Here's an article on how to dual boot Ubuntu and Win7. I haven't tested it.

If you install Win7 along side of Ubuntu, you will need to update GRUB; Windows is historically inimical to dual-booting.
 
Old 06-29-2013, 09:42 PM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Yeah, 50-100GB ( at least )
for Win7

Easiest Solution ( assumes You have no real customisation or data that you don't want to lose )
is to Start Over and install windows ( format everything and size Windows Partition )
Then install Ubuntu ( with will give Dual boot option to Winblows )

You can save data, etc form you current Ubuntu, but a bit more involved.

short version
  • Backup Data !, don't like calling them apps, but there are some for that , see software centre ( or synaptic if you are like me )
  • Boot Ubuntu Live Disk
  • resize partitions with gparted
  • Install windoze
  • Boot Ubuntu Live Disk
  • Open terminal
  • Code:
    mount /dev/sdXx /mnt
    for i in dev proc sys;do
       mount -o bind /$i /mnt/$i
    done
    chroot /mnt/
    update-grub
  • then reboot
Above list is just a 'sketch'
sdXx should be actual device

If you need help ask ( when I learn were the FAQ/WIKI for this is I'll add it to my sig )
there are other ways to do it ( well basically the same, one is setup a grub on floppy/usb/anotherHDD and use that instead of the last liveCD )

Last edited by Firerat; 06-29-2013 at 09:43 PM.
 
Old 06-29-2013, 11:56 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
I suspect that 20GB will be far too small for a usable Win 7 install.

I have a Win7 computer with a full install and several applications installed, plus some data, and it's nearly 200 GB. I don't remember what the base install was, but it was somewhere around 50 GB, I think.
Yes 20 is too small, 50 also. 50 is too small especially if you hsven't dealt with service-pack update.
 
Old 06-30-2013, 02:24 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Yeah, that's true for me too @ 77Gb used, good to get some other input.
 
Old 06-30-2013, 07:59 AM   #7
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Here are the official instructions from Ubuntu.com:

https://help.ubuntu.com/community/WindowsDualBoot

To be blunt, it sounds like your problem would be easily solved by using a legal Windows 7 DVD, rather than an .iso you have downloaded from the interwebz. If your computer came with Windows preinstalled then you should be able to obtain a Windows recovery DVD from the manufacturer free/low-cost.
 
Old 06-30-2013, 11:30 AM   #8
harsh123
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
thanks everyone for the reply and now I have the general idea of what to do next..

Quote:
Originally Posted by snowpine View Post
Here are the official instructions from Ubuntu.com:

https://help.ubuntu.com/community/WindowsDualBoot

To be blunt, it sounds like your problem would be easily solved by using a legal Windows 7 DVD, rather than an .iso you have downloaded from the interwebz. If your computer came with Windows preinstalled then you should be able to obtain a Windows recovery DVD from the manufacturer free/low-cost.
ok so if I have the system recovery dvd than can I get my default settings back e.g windows but how is that possible from ubuntu or I have to remove ubuntu first and than use the recovery dvd from bios would it work ??
 
Old 06-30-2013, 11:50 AM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
The link I provided explains how to do it:

https://help.ubuntu.com/community/WindowsDualBoot

That's assuming you have a normal, legally-purchased, full-install Windows DVD.

If you have a recovery DVD from the manufacturer then it might be a different situation; sometimes these recovery DVD's overwrite the entire hard drive, which would indeed erase your current Ubuntu install. (But you would want to make a full backup of your Ubuntu install anyway, no matter which method you're using!)

If in doubt then simply fork over the $99 for an OEM Windows 7 disk.
 
Old 06-30-2013, 01:25 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
1. 20GB is indeed to small for Windows 7, it normally will refuse to install on anything smaller than 40GB, IIRC.
2. @snowpine: There are legal sources for Windows ISO files, for example, you can get those from your university if you are a student on an university that takes part of the Microsoft partner program.

@harsh123: I would recommend to make a backup of your data, then re-install Windows, either from a DVD or a USB device (unetbootin will not work for that). After that either install Linux into a virtual machine or install it natively side-by-side with Windows.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Ubuntu 11.0 in Windows 7 alfthered Linux - Newbie 8 07-29-2011 04:05 PM
How to partition Windows XP disk to install Ubuntu without removing Windows c.arpon Linux - Newbie 6 08-24-2010 05:01 PM
how to install ubuntu 9.10 with windows linux.ab Linux - Newbie 2 03-02-2010 04:00 AM
GRUB install problems... (post windows install on ubuntu) sersdf Linux - Software 4 02-27-2009 07:59 AM
can you install games on ubuntu that are windows?my children love ubuntu but we can't chasity Linux - Software 3 07-14-2006 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration