LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 05-29-2003, 02:17 PM   #1
d_lake
Member
 
Registered: Feb 2003
Location: Alabama
Distribution: Slackware
Posts: 43

Rep: Reputation: 15
dual booting 2harddrives


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.
 
Old 05-29-2003, 02:29 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Did you install LILO?
 
Old 05-29-2003, 03:14 PM   #3
d_lake
Member
 
Registered: Feb 2003
Location: Alabama
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 15
yes i did on the mbr, but thats on the second drive
 
Old 05-29-2003, 03:19 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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?
 
Old 05-29-2003, 04:35 PM   #5
Korff
Member
 
Registered: May 2003
Location: Central Florida
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
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.
 
Old 05-29-2003, 08:23 PM   #6
d_lake
Member
 
Registered: Feb 2003
Location: Alabama
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 15
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.
 
Old 05-29-2003, 08:27 PM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I don't think so. It just changes the boot sequence thats all.
 
Old 05-31-2003, 12:09 PM   #8
d_lake
Member
 
Registered: Feb 2003
Location: Alabama
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 15
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?
 
Old 05-31-2003, 02:00 PM   #9
Electboy
Member
 
Registered: May 2003
Location: VietNam
Distribution: RedHat 9.0
Posts: 79

Rep: Reputation: 15
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

Hope it helps u. Thanks
 
Old 05-31-2003, 04:09 PM   #10
d_lake
Member
 
Registered: Feb 2003
Location: Alabama
Distribution: Slackware
Posts: 43

Original Poster
Rep: Reputation: 15
So your assuming that my slave(hdb) is linux and hda is windows?
Can you please tell me what all this does (explain), because i am kinda a newb
 
Old 06-02-2003, 11:13 AM   #11
Electboy
Member
 
Registered: May 2003
Location: VietNam
Distribution: RedHat 9.0
Posts: 79

Rep: Reputation: 15
When start from Linux boot diskette, u can see the name of HD for Windows :hda, and for Linux : hdb. Do it, u will see.

Thanks
 
Old 06-02-2003, 12:10 PM   #12
Electboy
Member
 
Registered: May 2003
Location: VietNam
Distribution: RedHat 9.0
Posts: 79

Rep: Reputation: 15
Hda : Quantum Fireballtct20 10, ATA Disk drive. Here is mine
 
Old 06-02-2003, 01:54 PM   #13
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
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.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 05:44 PM
Dual Booting Hive Linux - Newbie 4 03-15-2005 10:10 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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