LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-17-2003, 03:23 PM   #1
Duren
Member
 
Registered: Nov 2002
Posts: 31

Rep: Reputation: 15
Figure this out and you're a genius


Asus P4B266 mobo, P4 1.8Ghz

Windows XP installed on hd 1
Redhat 8 or 9 or mandrake 9 on hd 2

each OS booted exclusively (other drive unplugged).

Windows XP installed first, works, OK
drive removed

Linux installed, loops infinitely on boot - wtf

BIOS reset - linux boots perfectly fine
swapped drives, fired up windows XP - now that doesn't boot,
OK, reinstall, now it boots..

swapped drives again for Linux - infinite loop on boot again.

What gives? what is it that XP does to my PC that linux does not want to boot?

I've taken out all cards but video, changed video cards, disabled everything onboard, same shit.
 
Old 08-17-2003, 03:44 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Why are you swapping drives? Why don't you use a bootloader such as lilo or grub?
 
Old 08-17-2003, 03:49 PM   #3
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
i had this problem a bunch when i first got linux. it's really irritating, but it can be fixed (i think). the problem is that lilo (or whatever bootloader you use) has to write things to the superblock of each bootable partition (or, in your case, entire hard drive) to communicate "yo, you can boot me, but only in a certain way." in this sense, dual booting is like dating a bitchy girl.

what i have to do w/ slackware to get this to work is:

1) install windows first (or recover it w/ windows xp disk) and get that functioning

2) then add the second hard drive

3a) install linux on the second hard drive (while the first one is still attached) and make a point of telling the bootloader (lilo, etc.) to write to the superblock (NOT THE MBR)

3b) to possibly recover your linux install, use a boot disk that should've gotten made during install; no bootdisk => pain to do this

4) this is where it gets mildly complicated, so just give these instructions a go:

read this post and follow the instructions about copying the first 512 bytes of the linux drive to the windows drive, etc.

http://www.linuxquestions.org/questi...ware+dual+boot

remember, being patient always helps (i know all about being from the "smash" school of problem solving).

hope this helps,
y-p
 
Old 08-17-2003, 03:54 PM   #4
Duren
Member
 
Registered: Nov 2002
Posts: 31

Original Poster
Rep: Reputation: 15
I don't think this is a boot loader issue because i get LILO/Grub booting, it's happens during detection / probing of devices.

The reason it doesn't happen when I try to install Linux is because i notice a message saying that it will probe devices later...i suppose that is during a regular boot, where it fails...
 
Old 08-17-2003, 05:18 PM   #5
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
i think that something is happening with the bios, so maybe if there are hardware issues (jumper settings on the drives?), that could explain what's happening. for both systems to boot correctly independently (w/out using a bootloader to choose between them, right?) and then begin to malfunction when the hard drives are swapped => the only constant between them is on the mobo => bios issue.

if you're booting through lilo/grub to get to either system (i.e. you choose to boot windows from the lilo/grub menu), then this may be the problem i had guessed at in my first post.

if you post some stuff, like the error messages that are generated when it locks up, that would help diagnose too.

y-p
 
Old 08-17-2003, 05:24 PM   #6
Duren
Member
 
Registered: Nov 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Third post

http://www.linuxquestions.org/questi...ighlight=p4b66
 
Old 08-17-2003, 07:19 PM   #7
pc-overkill
Member
 
Registered: Jun 2002
Location: Denmark
Distribution: opensuse 10.3/xandros 4.1
Posts: 63

Rep: Reputation: 15
When you swap drives, does your bios autodetect the "new"
drive correctly. If not, maybe you have to detect the drives
manually in bios, when you are swapping.
 
Old 08-17-2003, 07:23 PM   #8
Duren
Member
 
Registered: Nov 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Whether it be seperate drives, or one drive with seperate partitions, the same thing happens,

I've tried putting linux on the end of the windows drive as well, booting from floppy, and it didn't help :|
 
Old 09-13-2003, 03:43 PM   #9
Duren
Member
 
Registered: Nov 2002
Posts: 31

Original Poster
Rep: Reputation: 15
Finally, after a year, I have stumbled upon the problem.

Linux now works, and it works in harmony with Windows.

I can't believe it.

It was the "Bios Update" Enabled / Disabled option in the bios.

If it's disabled, Linux loops infinitely, if it's enabled, everything is OK. Who would have thought.
 
  


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
Genius Webcam NB jalal Linux - Hardware 2 09-11-2006 07:36 PM
support for a Genius cam? eantoranz Linux - Hardware 0 04-26-2004 06:46 PM
Scanner Genius HR6 Khalinsar Linux - Hardware 0 09-08-2003 08:01 AM
I need a real Linux genius for this one. CroftonTom Linux - Hardware 5 08-07-2003 12:46 PM
how can I get my genius mouse to roll? chrisp Linux - Newbie 6 11-20-2001 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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