LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-08-2012, 11:54 AM   #1
VSAMURTHY
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
installation of windows 7 besides ubuntu on laptop


how to install windows 7 on my laptop on which ubuntu waws already installed without deleating ubuntu ?
 
Old 08-08-2012, 04:31 PM   #2
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Quote:
Originally Posted by VSAMURTHY View Post
how to install windows 7 on my laptop on which ubuntu waws already installed without deleating ubuntu ?
First, BACK UP YOUR DATA.

Next, boot from an Ubuntu live CD. Open GParted, shrink the Ubuntu partition to make some extra unallocated space on the drive, and create a new NTFS partition in the empty space. When you install Windows, be sure to specify to install on that partition (do not just let it install wherever/however it chooses).
AFAIK this should work; but I haven't installed Windows in ages.
 
Old 08-08-2012, 05:13 PM   #3
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,101

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
Just to add to the reply above, windows will overwrite the master boot record code and you won't be able to boot Ubuntu so you will then either need to use the Ubuntu Live CD to reinstall Grub or modify the windows bootloader entry.
 
Old 08-08-2012, 08:12 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
cortman
That was good. Backup
Then boot to a live cd also good. Shrink and install correct.
yancek is correct that you will have to fix the boot loader either windows or grub or other. Windows won't fix it for you.

Kind of other points too. You kind of need to consider maybe the position of the installation. Linux may have more than one partition, I'd guess you have at least two to choose from or more. Then you need to select which way to move them or shrink them. Some computers won't let you put windows too far to the end of the disk or one some types of partitions.

Other ideas are to run a virtual machine under linux.

Or install windows 7 then install linux. That is the more typical way. Then it is sort of automatic if you are lucky.

Last edited by jefro; 08-08-2012 at 08:40 PM.
 
Old 08-09-2012, 10:44 AM   #5
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Quote:
Originally Posted by jefro View Post
cortman
That was good. Backup
Then boot to a live cd also good. Shrink and install correct.
yancek is correct that you will have to fix the boot loader either windows or grub or other. Windows won't fix it for you.

Kind of other points too. You kind of need to consider maybe the position of the installation. Linux may have more than one partition, I'd guess you have at least two to choose from or more. Then you need to select which way to move them or shrink them. Some computers won't let you put windows too far to the end of the disk or one some types of partitions.

Other ideas are to run a virtual machine under linux.

Or install windows 7 then install linux. That is the more typical way. Then it is sort of automatic if you are lucky.
Good points; and glad for the mention of the MBR- you will need to reinstall grub on the MBR of the HDD (usually /dev/sda when booting from LiveCD I believe).
 
Old 08-09-2012, 11:41 AM   #6
VDP76
Member
 
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111

Rep: Reputation: 19
Quote:
Originally Posted by yancek View Post
Just to add to the reply above, windows will overwrite the master boot record code and you won't be able to boot Ubuntu so you will then either need to use the Ubuntu Live CD to reinstall Grub or modify the windows bootloader entry.
another good and easy-to-use tool to reinstall grub is Rescatux...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu 12.0.4 LTS Windows Installer - No Display after Installation on HP Laptop spsonkusare Linux - Laptop and Netbook 2 06-26-2012 11:25 AM
installation of Ubuntu Linux 11.4 Beta 2 onto a lenovo R61i laptop FUNnLIFE Linux - Software 6 04-23-2011 02:18 AM
installation of ubuntu alongwith windows xp & unable to access data from Windows arun.kr Linux - Newbie 8 03-04-2011 10:44 PM
Ubuntu 7.10 Failed Installation (laptop) lavinya Ubuntu 1 10-15-2007 05:14 AM
Windows programs on Ubuntu laptop nitroguy Ubuntu 12 01-29-2007 06:04 PM


All times are GMT -5. The time now is 06:06 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration