Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm looking for a way to be able to install linux with Windows. But not in the traditional dual boot sense. It's probably best if I explain my set-up first before proceeding, so here goes...
I have a HDD that has two partition. One 30GB, and about 450GB. I use the larger partition for dd images of different OS's which have been installed to the smaller partition. So far, I only have different versions of Windows saved as dd images.
What I'm looking for, is to be able to install a linux distro on the smaller partition, take a dd image, but then be able to pull down a Windows over it should the need arise. Basically so I can switch back and forth between Windows and Linux on the same box using dd images.
Is there a way I can do this? Would GRUB remain persistent in the boot sector, and disrupt any Windows images I pull down to the hard drive in future?
That will get seriously ugly. If you only "dd" the smaller partition, the MBR won't be touched. Whatever is in the MBR needs its stage2 files - grub or ntldr. If you restore anything else over it, you can't boot.
I'd create a small boot partition, and leave grub in there - always. Chainload the O/S partition - Linux or Windows, doesn't matter, except you will have to install grub to the root partition for every Linux install.
I'd suggest you go get the SuperGrubDisk to get yourself out of trouble whilst you sort things out.
Last edited by syg00; 11-26-2009 at 05:55 AM.
I just thought grub installed on the MBR, meaning that whatever's on the partition wouldn't affect it.
That is correct, but......
Grub can also be on the partition boot sector.
One way to multi-boot is to have the "MBR grub" setup to chain-load to the "boot-sector grub". Regardless of where grub is, it needs to be able to find it's config file (/boot/grub/menu.lst). I suppose that you could have a small partition just for this purpose (for the MBR grub-----the boot sector grub can use a config file locally)
Personally, I see no benefit in what you are trying to do---what's wrong with normal multi-booting?
I have Windows & Linux on two different hard drives, but it's both under GRUB. I use Fedora Core 9, which I'm upgrading to FC12 via Preupgrade in Yum. After installing Fedora Core 9, I was able to make the computer go into Linux first, not Windows. Linux under "Fedora Core"[forgot my kernel version] takes over the MBR and is the first drive, while Windows is under "Other" in GRUB, at least on my computer, is in the second hard drive.
I used to have Windows & Linux dualboot on the same hard drive, then one day Windows partition became unaccessible after lightning struck close to my house, but luckily, I found out that the Linux partition is still alive and kicking!
Unable to get Windows to work, so I had to take out the HDD with working Linux partition and put it into the new computer with the new HDD running Windows XP and this one which I'm writing from, running Linux.
I'd recommend that you not dualboot with Windows because sooner more than later, Windows will screw up your Linux partition too [even if they're both on separate HDDs]! One time, Windows actually almost screwed up my Linux files! After I reinstalled Windows did this problem go away.