LinuxQuestions.org
Visit Jeremy's Blog.
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 06-24-2004, 11:49 AM   #1
rosol11
LQ Newbie
 
Registered: Mar 2004
Location: Cracow, POLAND
Distribution: Red Hat 9.0
Posts: 13

Rep: Reputation: 0
Installing Linux and WinXP on separate partitions


Hello everyone,


There's a thing about RH9 installation I'd like to ask about: I'd like to make Linux and WinXP coexist separately on my 40GB HDD.

The point is that - as everyone well knows - one has to reinstall Windows a lot more often than Linux.

A stardard installing procedure results in a couple of partitions - the active one is always the Windows partition, the boot loader is installed in MBR and whenever Windows crashes and I reinstall it, the LILO boot loader of course don't appear, as the MBR has been erased by new Windows installation.Then I have to run Linux from the rescue mode and re-execute lilo, which is troublesome and inconvenient.

The solution I seek is having an active partition with Linux on board and the LILO boot loader installed in the first sector of boot partition (the Linux partition). Then, whenever I am forced to reinstall Windows the LILO boot loader would appear enabling me to choose the desired operating system.

The problem is that I don't know if it would work, because Windows installs its own boot loader in MBR and thus gives me no choice I desire. Could the solution be installing Linux in the beginning of hard disk space and additionally making the Linux partition active?

Conclusion : what shall I do to have LILO launched always with the start of booting procedure, regardless of the fact whether I have Windows reinstalled or not? I should add that by Windows I mean WinXP_PRO.

Thank You in advance, Friends!


rosol11
 
Old 06-24-2004, 12:35 PM   #2
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
Not a straight answer to your question but because of the frequency of security updates to Windows even reinstalling from original disks is only the start of a long update process. Therefore I use Norton Ghost to take a disk image once I've done a clean install, installed anti-virus etc software and applied all the security updates. This is then my base recovery disk and restoring takes a fraction of the time. What you can then do is say once a month restore back to the base, apply all the online updates (plus any new trusted software) and create a new Ghost image which is your new base. That way you always have a clean install handy.

Norton Ghost works with anything on your disk so once you've got a fully up-to-date clean dual boot Windows/linux installation you can take a Ghost image of that.
 
Old 06-24-2004, 02:28 PM   #3
j_pooria
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
Hi!

About your problem, have your ever tried making two primary partitions?
Then,you may easily install PowerQuest BootMagic ( most of the time comming with PowerQuest Partition Magic) in a few minutes and easily switch between you primary partitions of any type.

If you wanted to do so, I suggest you make a small partition and mount it with /boot, so if you lost couldn't boot your linux, you can only make your /boot again ,instead of installing whole linux files again.

I hope it works!

Good Luck!
 
Old 06-25-2004, 11:36 AM   #4
rosol11
LQ Newbie
 
Registered: Mar 2004
Location: Cracow, POLAND
Distribution: Red Hat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx for any replies You made, Friends,


I appreciate Your advice, but I think I've been misunderstood a bit. I am not looking for a software, especially not for Windows software, which is as reliable as Windows itself

I also do not look for any bootloader other than LILO/GRUB, as the Windows-ones get useless together with deleting Windows partition - don't they?

The solution I seek is the tricky partitions management. BTW I have yet another question: if I mark any partition as PRIMARY, would it mean that the operating system boots from this particular partition?

Anyway I'd like to have an option to run Linux ALWAYS - anytime, no matter if Windows works OK or has just been completely deleted. I'd like to have LILO launched regardless of what has hapened to my Windows partition, giving me an option to run Linux and reconfigure /etc/lilo.conf in order to remove the non-existing Windows installation.

This is what I seek for and I'll be extremely grateful for ANY help


Yours


rosol11
 
Old 06-25-2004, 01:03 PM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
You can have up to 4 primary partitions but only 1 active partition which is the one that you boot from. Switching active partitions is done using fdisk in Windows world and ... fdisk in the linux world.

Use Grub as your boot manager in the mbr as normal.
After having to reinstall Windows it will overwrite the mbr but grub writes its stage1 data on the linux partition. You can then switch the active partition to the linux one and reboot.

However, this is still pretty messy and rather than relying on boot managers etc the easiest way for you to do what you want to do is to put in a second hard disk. This could either be your permanent linux installation or quite simply a basic linux installation. If you muck up Windows and have to reinstall then all you need to do is switch boot devices in your BIOS on start up.
 
Old 06-26-2004, 06:11 AM   #6
rosol11
LQ Newbie
 
Registered: Mar 2004
Location: Cracow, POLAND
Distribution: Red Hat 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
Thank You all,


the thing I'm about to do now is to apply some experiments to my HDD and partitions and we shall see. CU online !


rosol11
 
  


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
Can I see linux partitions under Winxp Neoxeekhrobe Linux - Software 6 10-01-2005 02:50 PM
Installing Linux from a Separate Partition LinTech Linux - General 2 10-06-2004 03:33 PM
Separate Partitions for Separate User groups volvic Slackware - Installation 2 09-16-2004 02:42 AM
how do i separate the partitions...? perry Slackware 2 11-20-2003 03:40 AM
Dual booting with WinXP and Linux (OS's on separate HDDs) DaveS Linux - General 11 03-09-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 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
Open Source Consulting | Domain Registration