Linux & Windows Dual boot partitioning question.
I have a question that will hopefully speed up my process of getting my new net-book setup. Due to swap space being a lot faster the closer it is to the front, I started putting the swap partition first, then installing the linux OS, which alone has increased my speed and made my linux operating systems (Ubuntu and Fedora) run much faster and smoother.
This is all fine and dandy, but since I have a dual boot system, I then install windows 7 and come up with the problem i'm sure all you linux gurus are predicting I am about to say, windows wipes out grub from the mbr and Linux appears to be gone, and all I have is windows.
So then I have to re-install linux over the previous partition to have grub loaded once again into the mbr file.
The reason I have been doing it this way, is to make sure my swap space partition is first on my hard drive so that it is used at it's best ability.
Is there a easier way to skip this third step, by simply loading grub again on it's own? I'm sure there is a easier way to do this, and even tho this way is working for me, it is very time consuming.
Suggestions please.
Comments
-
Easiest way is to always install Windows first to not mess up the grub.
But as you know the Linux installation is not gone so you can reinstall the grub to fix it (with the Live CD/DVD in a rescue session or with Super Grub Disk):
http://forums.fedoraforum.org/showthread.php?t=214137
http://www.supergrubdisk.org/super-grub-disk/0 -
I'll try that next time, thanks.0
-
Just use a livecd to chroot to your linux installation and "flash" the grub again to your mbr.
Or use a livecd, partition your hard disk as you'd like it to be, install windows and then linux.
Both things might work
Regards0 -
Once windows reinstalled , Check reinstall ubuntu bootloader so you would have linux boot loader in MBR0
-
I have begun doing the same thing. I just create the partition that I'm going to use for swap space first... then install windows on the next partition ( and of course it creates a very small extra partition of it's own) and then partition the rest of the disc and install Linux there. Works like a charm for me and I don't have to install Grub again. I just have to tweak the menu and set the default timing.
I'm currently running Zorin 9 and Win 7 together on a Dell laptop.
0 -
Depending on the Distribution, a menu may be missing when performing a dual boot.
here is how to fix it:
http://dfirewall.com/windows-7-boot-option-centos-7.html
I hope that helps.0
Categories
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- 2 Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 946 Programming and Development
- 310 Kernel Development
- 618 Software Development
- 981 Software
- 373 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)