installation of windows 7 besides ubuntu on laptop
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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).
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.