LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2004, 09:17 AM   #1
jwarner
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Dual Boot RH7.3/WinXP


I have a 40gb HD with WinXp on the primary master and a 6gb HD with RH 7.3 on the primary slave. RH was originally loaded on the 6gb in a seperate pc on the primary master. I had lilo installed on the MBR. When I re-installed RH I had lilo installed to the /boot partition because I was going to dual boot with Windows loader on the primary master HD. I set my bios to boot to the linux HD and I get Load Linux................................ and it just sits there. I used CD and booted into recovery mode and the lilo.conf file looks ok. I am still a newbie to linux. Do you guys have a suggestions to why linux won't load? I want to get linux booting ok so that I can create my linux.bin file to go on my windows HD. I can change my bios and still boot into WinXp ok.

Thanks for the help in advance.
 
Old 10-16-2004, 11:18 AM   #2
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
well if you get passed the initiial LILO (first letters on the screen that do not come from the BIOS) I guess the problem is no longer Lilo related. Something goes wrong while loading the kernel or the initial execution of the kernel after it's loading in the memory. Where is that /boot partition located (master / slave) and more importantly why do you need it? What is the 'boot=' entry in your lilo.conf file? It should be something like 'boot=/dev/hdb' so it writes to the MBR of the slave disk. Try using 'lilo -v -v' to see if all is ok while writing to this MBR.
 
Old 10-17-2004, 09:10 AM   #3
jwarner
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
The /boot partition is on the primary slave and the lilo.conf says boot=/dev/hdb1
everything seems ok when I run lilo -v -v. It did give a warning at the beginning that the /dev/hdb1 was not on the first disk. Install gave me the option to install to the MBR but it was the primary master MBR and not the primary slave MBR. I have installed RH twice before I started this thread and same problem exist when I try and boot linux.
 
Old 10-17-2004, 09:32 AM   #4
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
the entry in your lilo.conf should be 'boot=/dev/hdb' and not 'boot=/dev/hdb1". This instructs Lilo to write to the MBR of the slave disk. which can then be executed by the bios (if you set it up like that). Now you're writing the boot instructions to the boot sector of your boot partition on the slave disk but I doubt if your bios loads it there. It is weird though that it manages to load lilo past the initial letters. It could be that the MBR of the slave disk still contains the boot instructions from the time the disk was master in the other computer and therefore hangs when he tries to execute a kernel that has been reïnstalled a couple of times.

Since you are trying to dual boot using NT oader why go through the hassle of writing to the MBR if you can write it to file directly? You could create an empty file using 'dd if=/dev/zero of=/filelocation/filename bs=512' And then instruct lilo to write the boot instructions to that file ('boot=/filelocation/filename'). After executing lilo copy that file to your windows partition (or create it directly there if it's Fat32) and make an entry for it in the boot.ini. NT loader should be able to load lilo which then loads your kernel
 
  


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 WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
RH7.2 dual boot issues GATTACA Linux - General 6 03-03-2002 04:41 AM
WinXP & RH7.1 > WinXp &RH7.2 Dual Boot Jondalar Linux - Software 14 01-25-2002 12:47 PM
Win2K/RH7.1 Dual, RH won't boot from boot disk after install marktaff Linux - Software 4 08-24-2001 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 PM.

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