Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.