Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hey guys, well i have 2 harddrives now 40GB and 80GB. I have windows xp on the master=40GB and i have la couple of distros of linux on the 80GB slave.
I want to know how do i boot linux from the first drive, and i have looked at my bios and it doesnt support booting from two hds, i think....its a dell demension 8200 if that helps.
Oh I see. So you can't boot from the second hard drive therefore its not finding LILO. Well, you could install LILO on the first hard drive. You sure you can't get the bios to boot from the second hard drive?
Unless you don't wanna do this, I think that swapping the drives' master-slave status (do this by swapping their positions on the IDE cable and setting your jumpers) would let you boot from the second drive, but then unless your bootloader could boot from the first drive, you still would have the same problem.
Well loading lilo is kinda hard if only windows is on the first drive. I have thought
about changing the harddrives around, would that conflict with anything on windows or linux.
well i swaped the drives and that didnt work, yes i changed the 40gig to slave and the other master. I can boot linux on the second one till it tries to mount root filesystem, but windows wont boot at all. So what should i do now?
assume your slave drive is hdb
1. Boot Linux from Linux boot floopy diskette (FD)
2. Login as root.
3 Creat linux.lnx in root's home directory :
dd if=/dev/hdb1/ of=boot.lnx bs=512 count=1
4. Insert DOS FD, copy boot.lnx : mcopy boot.lnx a:
5. Run Windows, copy boot.lnx to C:\ from FD,
6. Remove "System, Hidden" Attribute of boot.ini .
7. Edit boot.ini add a line : "C:\boot.lnx". Save
8.Reboot
If you can ever get to linux, put lilo on the MBR of the first drive. Or look for a bootloader to put on the first drive. There is a free one out there called Gag, but I have no idea where to find it. If you have a boot disk that would help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.