LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-14-2003, 06:56 AM   #1
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Rep: Reputation: 0
Dual Boot Installation Problems


Hi,

I have recently decided to install linux on to my computer,as my secondary hard drive is spare.

I went out and bought the complete idiots guide to redhat 9.0 (complete with redhat linux and installed on my machine as the book instructed)

It told me to install the GRUB boot program thingy on the 1st bootsector - and to not over-write my XP bootsector (otherwise I would be unable to load windows XP) So I did this.

I successfully installed linux on my second hard drive - HOWEVER now my computer just loads windows as normal and doesnt give me any option to boot up linux installed on my second hard drive (VERY ANNOYING - DAMN YOU MICROSOFT!) Anys have I done something wrong and is there an easy way for me to correct this little problem....
 
Old 08-14-2003, 07:14 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
You should install lilo (or grub) on the MBR (master boot record) and not on the first boot record. Let lilo look for windows partition(os). You can always add entries to your lilo.conf file later on to accomodate windows. For more info read this:

http://www.control-escape.com/linux/lilo-cfg.html

I prefer lilo to grub. If you have any questions, just post...and oh, welcome to linuxquestions and linux.
 
Old 08-14-2003, 08:42 AM   #3
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Original Poster
Rep: Reputation: 0
Ok so how do I install LILO or GRUB after I have installed linux - should I just reinstall everything again - and this time over-write the windows XP boot loader with the Linux one?

Does this cause any problems or complications for loading windows XP?
 
Old 08-14-2003, 08:55 AM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Do you have linux startup disk? Read the section under recovering lost lilo in above link. If you dont have a boot disk you can make one from your cdroms.
 
Old 08-14-2003, 09:09 AM   #5
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Original Poster
Rep: Reputation: 0
Ok - I dont have a linux start up disc - how do I make one using my linux cds.

Also the book kind of suggested that linux bootloaders would cause problems if they replaced NT bootloaders - when loading nt based systems such as XP - is this the case??
 
Old 08-14-2003, 09:31 AM   #6
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
see my guide on installing grub on the troubleshooting faq's page.

if you have any questions, email me from my site if you like and i'll get ya set up.
 
Old 08-14-2003, 09:46 AM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
Also the book kind of suggested that linux bootloaders would cause problems if they replaced NT bootloaders - when loading nt based systems such as XP - is this the case??
This is not a problem - there's probably been about 25-30 people posted a similar situation in the last 2 months and we've helped them with no probs. - The typical way of doing it is to install XP first then a Linux dsitribution second - install LILO or GRUB to the MBR. If LILO or GRUB dont pick up the XP installation initially its a simple matter of adding an appropriate entry to the relevant config file.
 
Old 08-14-2003, 10:52 AM   #8
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Original Poster
Rep: Reputation: 0
If I do have to edit the config files - what do I have to put in them to make them "pick up" windows XP?

Additionally how often do lilo or grub fail to pick up the windows XP installation?

Also bit confused as to which is better to use - LILO or GRUB - whats the difference between the two - any one able to translate for our blonde viewers (i.e. me)?
 
Old 08-14-2003, 12:08 PM   #9
VincentB
Member
 
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
Hello,

I have a dual boot on my computer: Windows XP and Red Hat 9.0. I would suggest you to install first Windows and then Red Hat. I use Grub which, I think, is being more and more popular. At the installation, I have created my Linux partition manually (in fact with some help during the Red Hat installation). If you do not trust the installation program, you can always create your own big partition yourself with Partition Magic (for example), under Windows.
You do not really need to know a lot about Lilo / Grub. They detect automatically the other OS and manage them accordingly. A file you should have a look at is /etc/grub.conf once the installation is finished. I have never had problem with LILO (which would have failed in detecting other OS). Hope this helps. Do not hesitate to ask for more information. Good luck.

Vincent
 
Old 08-15-2003, 03:31 AM   #10
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Original Poster
Rep: Reputation: 0
So basically what your saying is intall red hat linux 9.0 on my XP system and then replace my existing windows bootloader with the GRUB bootloader and everything will run ok - windows wont decide to die on me, refuse to cooperate - have any kind of temper tantrum at the thought of sharing its computer space with an alternative operating system/being loaded by an alternative bootloader???
 
Old 08-15-2003, 03:51 AM   #11
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Original Poster
Rep: Reputation: 0
Oh Additionally need to mention - my hard drive is NTFS file formatted not FAT32 - which is a format linux cant read - I do have partion magic 8.0 (so I suppose I could change the file format if I have to) - will this cause problems in a dual boot system?
 
Old 08-15-2003, 04:00 AM   #12
VincentB
Member
 
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
I would suggest you to use EXT2 / EXT3 for the Linux partition. EXT3 is better (journal mechanism and easier recovery in case of crash). Red Hat can read NTFS partition (but can not write on it- still experimental and risky, from what I have read, for your partition) BUT, in order to read NTFS partion, you have to apply a patch on your system (I can give you the location to download it if needed).
Anyway, you can have Windows running on NTFS partition / Linux on EXT3 with LILO / GRUB as boot loader.
 
Old 08-15-2003, 04:00 AM   #13
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
If there were problems with a Linux distribution picking up your Windows installation, typical entries in Lilo.conf or Grub.conf wouls be - (these are only examples - more often than it will all work fine from the start)


other = /dev/hda1
table = /dev/hda
label = Windows


title Windows
root (hd0,0)
makeactive
chainloader +1


I prefer LILO - others would suggest GRUB.

Usually there arent any major problems if you install Red Hat correctly.

Most Linux distributinos can READ NTFS easily - Red Hat is an exception

( Red Hat currently doesn’t include a NTFS driver because of uncertainties surrounding the legal status of the driver)

So - to READ a NTFS partition from Red Hat, you can either:
  • Download and install an RPM – or
  • Compile your kernel

Your best just getting the relevant RPM - Check out this site for an RPM

http://linux-ntfs.sourceforge.net/info/redhat.html
 
Old 08-15-2003, 04:22 AM   #14
linux_fresher
LQ Newbie
 
Registered: Aug 2003
Location: Manchester, UK
Posts: 13

Original Poster
Rep: Reputation: 0
If it cant read the NTFS file format of my XP drive - is it still able to bootload windows XP.

NTFS doesn't cause problems when I install red hat - because its going onto a second hard drive. But I am worried that the NTFS system will affect the linux bootloaders ability to successfully boot up windows XP.

If it does go horribly pear-shaped can I boot linux from a floppy or bootable CD -instead of using a bootloader, and if I replace the XP bootloader and it doesn't work - how do I restore the original windows bootloader?
 
Old 08-15-2003, 04:33 AM   #15
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Even if you dont get the RPM for Red Hat to READ NTFS you will still be able to boot into XP - providing its installed correctly in the first place. You just wont be able to READ NTFS - The other option is to just create a separate FAT32 partition to be used as a shared data partition - both OS's can read/write to/from FAT32.

Yes - near the end of the Red Hat install you can make a boot disk.

If I remember correctly - you can also use your Red Hat 1st cd rom as a rescue disk to get your original Windows bootloader back if you want to.
 
  


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
Dual boot installation niteshg Linux - General 1 09-18-2005 10:50 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Dual Boot Installation kaplan71 Linux - General 1 04-27-2005 01:50 PM
dual boot installation problems with WinXP jukebox4joe Linux - Software 5 01-16-2004 09:47 PM
PROBLEMS!!! maily installation and dual boot Sirhc Isshi Linux - Software 6 11-30-2001 12:24 AM

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

All times are GMT -5. The time now is 09:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration