LinuxQuestions.org
Help answer threads with 0 replies.
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-10-2003, 03:36 AM   #1
Spookie
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
XP/Redhat Dual Boot Problem


Hiya,

I'm having some trouble dual booting using the NTLDR method - NTLDR is doing its job fine, it seems that dumping the boot sector for linux is where its going wrong...

I'm doing dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1 and it works fine, but the file is just 512 zeros.

Exact details of what i've done so far are -
  • Installed Redhat 9 on the second partition (ext3) of my master drive with XP already on the first partition.
  • Chose to instal LILO into the beginning of the partition.
  • Dumped the beginning of the second partition to /bootsect.lnx.
  • Mounted the first partition of my drive (FAT32) as vfat and copied the /bootsect.lnx file over.
  • Added C:\bootsect.lnx="Redhat 9" to C:\boot.ini.

I get the NTLDR menu when I boot but when I choose Redhat 9, the screen clears and nothing happens (which is what you'd expect from a file of 0's).

My guess is that somehow LILO didn't get installed into the beginning of the partition... if this is correct, how exactly can I install it in there? I've looked at man lilo but it doesn't say anything about installing to MBR/beginning of partition.

Many Thanks,
Spookie.
 
Old 06-10-2003, 11:07 AM   #2
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Rep: Reputation: 15
It just might be LILO. Why don't you try installing GRUB, they're both bootloaders and though I haven't used GRUB, I'm guessing that they should work the same as LILO.
 
Old 06-10-2003, 07:27 PM   #3
Wolfie
LQ Newbie
 
Registered: Jul 2001
Location: Vancouver, Canada
Distribution: RH 9.0 MDK 9.2, 10 Knoppix 3.4 SW 9.1 Debian 3.0, Gentoo, Peanut 9.5, PCLOS 2k4r7, Mepis
Posts: 18

Rep: Reputation: 0
Did you actually run lilo before doing your "dd if=/dev/hda2......"
command?
 
Old 06-10-2003, 10:25 PM   #4
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
You need to run /sbin/lilo to make it install the bootsector to the selected partition (make sure you actually selected /dev/hda2! check boot= in lilo.conf).

http://www.winimage.com/bootpart.htm is a useful tool for setting up multiple boot sectors using the NTLDR menu. Not only will it update the menu for you, but it doesn't require you to copy the bootsector from the partition using dd. It uses its own special boot to boot lilo off of the given partition.
 
Old 06-11-2003, 02:35 AM   #5
Spookie
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
It's working, thanks for the help .
 
  


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
grub dual boot redhat 8/win2k problem bsriveria Red Hat 1 02-10-2005 09:18 AM
RedHat/Windows XP Dual Boot Problem Castor_NZ Linux - Newbie 3 09-29-2004 04:40 AM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 02:46 PM
Install problem for Redhat 8.0 on dual boot sysem. bradkesner Red Hat 2 11-29-2003 03:03 PM
redhat 7.3 and win2k dual boot problem lyw4 Linux - Newbie 0 05-23-2003 05:13 PM

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

All times are GMT -5. The time now is 02:26 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