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.
The above link is a screen shot of my hard-drive partitions (using GParted) . Right now i have only linux in my hard drive. Now i want to install windows in a partition with a partition size of 230 GB, without losing linux.
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
Rep:
Hi cyberPheonix. I would suggest to click on the thread tools menu and find a way to rename the title of your post. Just remove the part that says URGENT!! You might see the majority of participants in this forums are volunteers and what would be urgent to you might not be urgent for a volunteer out there. some of them might even find it rude.
Now about your question for what I understand when you install windows it tent to take over the entire hard drive so that is why it is recommended to install windows first then reduce its partition and install Linux in the unalocated free espace.
So if you want to do that go head back up all the important files in your computer, install windows and let it whipe out the entire disk, and then proceed with the partitioning.
Just install windows to free space. If you don't have enough free space then boot to live cd and resize if possible. it is OK also to use Windows to resize it's partition.
Windows will not destroy linux, it will however install it's own loader. You will then have to correct that or re-install grub.
-- A later post here reminds me that yes, some recovery media will destroy linux.
People have been loading windows on after linux for decades. Not the preferred way but thousands of web pages on it.
Now about your question for what I understand when you install windows it tent to take over the entire hard drive so that is why it is recommended to install windows first then reduce its partition and install Linux in the unalocated free espace
This is only true for most recovery CD/DVDs that make an automated installation, wiping out the whole disk in that process. Retail/SystemBuilder versions of Windows don't do that. While it is slightly more difficult (due to the bootloader problem) to install Windows after Linux, it is not really a problem and newer Windows versions will run just fine in that configuration.
If I were you AND did have a retail copy of windows I would remove the swap partition and extended partition with Gparted or Partedmagic (whatever partition tool you use), then shrink your Linux partition down making room for both windows and a new swap. Be sure to create all as primary partitions as windows will only run on primary and swap is said to work best on one also.
When you do this you will have to reinstall your boot-loader, you didn't say what Linux you have installed so I can't say much there. Usually you will boot into the cd you installed it from and reinstall the loader.
Then you will need to modify your fstab to the new swap location. If you hadn't created an extended partition you wouldn't need that step(I honestly looking at your partition setup can't understand why you made one with only 2 active partitions on the disk).
If you hadn't created an extended partition you wouldn't need that step(I honestly looking at your partition setup can't understand why you made one with only 2 active partitions on the disk).
Many distributions do that by default when you let the installer partition the disk automatically.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.