LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-28-2005, 03:00 AM   #1
Lagg
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 67

Rep: Reputation: 15
Lilo hangs on XP load : XP & Linux on diff. disks


I've recently put a second hardrive into my computer. I have it set as slave and just put windows XP on it.

Under my lilo config I added the entry

#Windows bootable partition config begins
other= /dev/hdb1
label = Windows
table=/dev/hdb
#Windows bootable partion config ends

When I go to load windows, It just hangs. If I unplug my 1st Hardrive (Hda) and restart, windows loads itself just fine.

Whats up with this? Is there some trick to this?
 
Old 08-28-2005, 03:07 AM   #2
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Windows likes to be first, apparently.
 
Old 08-28-2005, 10:18 AM   #3
Lagg
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 67

Original Poster
Rep: Reputation: 15
what sense does that make? It's on a completely different disk?


If that HAS to be the case (which sounds stupid, but I guess thats part for course of M$ ) then how can I get lilo to show up if I set hdb to primary boot?

Last edited by Lagg; 08-28-2005 at 10:19 AM.
 
Old 08-28-2005, 11:36 AM   #4
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
I would recommend changing the physical order of the hds: hda -> hdb, hdb -> hda; make sure they're jumpered correctly. Then install lilo to the mbr of hda.
 
Old 08-28-2005, 12:29 PM   #5
Lagg
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 67

Original Poster
Rep: Reputation: 15
Ah I see, so you suggest installing lilo onto the hard drive in which Windows currently occupies, then changing the jumpers and boot order so that the Windows Drive is the primary and master drive?

edit: Also, wouldn't that require me to change all of the designations on my Fstab & the entries on lilo ?

Last edited by Lagg; 08-28-2005 at 12:31 PM.
 
Old 08-28-2005, 11:31 PM   #6
Lagg
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 67

Original Poster
Rep: Reputation: 15
Heh, I got it. it as a little of what you said, a little of what I did.

For any other tourtured souls out there with a similar problem:

this is what I did.


1) Swap jumpers around so windows drive is master, and linux drive is slave
2) In bios set the boot order so that the linux drive is the 1st hard drive to boot (after cd, usb, etc)
3) using a rescue disk of some sorts, set so that you boot onto your Linux Harddrive. Edit your fstab so that everything that was hda* is now hdb* , then go into you lilo.conf and do the same. Whatever you had your windows drive set to before , set it to hda*

ALTERNATIVE STEP BEFORE STEP ONE TO ELIMINATE STEP THREE(and should probably do this in hindside, but not sure if it's allowd)
Edit your fstab so that everything that was hda* is now hdb* , (assuming that before they were hda & hdb, just whatever they were before, swap them) then go into you lilo.conf and do the same. . Whatever you had your windows drive set to before , set it to hda*

Make sure you type in command "lilo" before you restart
 
Old 08-29-2005, 03:25 AM   #7
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Well done!
 
  


Reply



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
Solution Netgear WG511 & Linux 2 diff versions lewt Linux - Wireless Networking 1 12-25-2004 06:30 PM
lilo linux options don't load --error 0x07 Sinope Linux - Newbie 7 08-09-2004 07:49 PM
LILO.conf won't load Linux JulianS Slackware 5 03-06-2004 04:45 PM
2 disks, 2 OS, but GRUB hangs richardg Linux - Newbie 4 08-15-2003 08:13 PM
Hmm my Lilo won't umm Load linux...help please! shadowpuff Linux - Newbie 5 02-05-2003 02:08 PM

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

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