LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-08-2005, 08:22 AM   #1
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Rep: Reputation: 15
Talking Dual Drive Dual Boot from floppy


Hokay! I have my Debian Woody humming nicely on my second drive, bootable. On my first drive is Windows XP Home, bootable. For now, I switch the IDE cable back and forth to access the different OS's.
Would I be able to have both drives plugged in, and use a boot manager from a floppy? If so, what would be the steps?

Thanks in advance for any help!

Lokizen
 
Old 06-08-2005, 03:59 PM   #2
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
Why of a floppy and not of the MBR of the master drive? You could alter lilo (or grub) to boot both win and linux, and I read up how to do it using the windows bootloader before - so why do it with a floppy? It would be awfully slow in comparison, and floppies are more prone to break...
 
Old 06-08-2005, 06:03 PM   #3
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
Well, to keep the windows drive Pure, i wanted to have the boot manager on a floppy, but if i can install lilo on the linux drive, that would work...
 
Old 06-08-2005, 06:09 PM   #4
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
yea its quite easy with lilo (as far as I'm aware, never run linux and windows together). Try this (not sure if it will work) replacing /dev/hda1 with the windows partition (hda for master primary, hdb for primary slave)

Code:
other=/dev/hda1 
 label="windows"
don't forget to run the lilo command as root aswel
 
Old 06-08-2005, 06:12 PM   #5
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
one more question, both the windows drive and the linux drive are fully bootable independantly, and right now i switch the ide cable.
Should i boot linux, connect the other drive, then run lilo?

Thanks for being so helpful,
Lokizen
 
Old 06-08-2005, 06:14 PM   #6
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
are they both primary, and which is the master and which is the slave? I would advise linux as the master and windows as the slave (so they are both connected with a ide ribbon that has two ends, if your using ide???) and then install the boot loader on the master
 
Old 06-08-2005, 06:21 PM   #7
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
Right now windows is the master, easily switchable, so i'll do that and just run lilo on the new linux master? and yes, i have a two input ide leading to the mobo, a quick swap and linux would be the master.
 
Old 06-08-2005, 06:25 PM   #8
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
Yea, stick linux as the master and windows as the slave seen as the bootloader is going to be on the master (and lilo is the LInuxLOader , makes more sense?). Add that line to your /etc/lilo.conf (i hope you use lilo now, i dont have a clue how grub works but im using it anyway hehe), run lilo then reboot, test that that you can boot into windows. If you can then you rejoice, else back to step one (unfortunately).
 
Old 06-08-2005, 06:30 PM   #9
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
so in that case you lilo.conf should look a little like this:
Code:
boot=/dev/hda 
 map=/boot/map 
 vga=normal 
 default="windows" 
 keytable=/boot/us.klt 
 prompt 
 nowarn 
 timeout=100 
 message=/boot/message 
 menu-scheme=wb:bw:wb:bw 
 image=/boot/vmlinuz 
         label="linux" 
         root=/dev/hda6
         initrd=/boot/initrd.img 
         append="devfs=mount splash=silent hdc=ide-scsi acpi=ht resume=/dev/hda5 plash=silent" 
         vga=788 
         read-only 
 other=/dev/hdb1
         label="windows"
MAKE SURE:
to change the linux partition root to whatever partition the root file system is on, in this case, /dev/hda6
to change the windows partition if you have c:\ on say hdb5 (if it were a logical partiton)
 
Old 06-08-2005, 06:36 PM   #10
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
i wouldn't advise copying this word for word, I gave you this as an example, because a lilo.conf file may be very different for say mandrake than for debian, so you may not even be able to boot linux! When i use gentoo, unless i added the vga resolutions and stuff like that it would hang on boot! a word of warning for you ....
 
Old 06-08-2005, 07:51 PM   #11
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
I made the changes, but forgot to change label to windows, i got the Novell Netware on boot, no problem....
I changed the label to relflect windows, made sure to uncomment restricted, and now on boot after checking dmi pool, instead of LILO, I get LI. lol

I'll tackle this problem fresh tonight, until then i need to cogitate. What could be crashing LILO?
 
Old 06-09-2005, 02:54 AM   #12
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
I'm fresh out of idears! Post you /etc/lilo.conf see if theres a spelling mistake or something (easily done I kno myself)
 
Old 06-09-2005, 04:04 AM   #13
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
Ok. I changed the jumper setting on windows back to master,
both that and linux are set on master, changed bios to boot the linux drive first,
which it does, and lilo'ed so that it saw the windows drive. Now it only boots Linux
until i bios back to the windows drive.
Windows, naturally, doesnt see the linux drive.
But i have an idea, i'll check back.

(idea, set bios for boot only linux drive)

Lokizen
 
Old 06-09-2005, 01:03 PM   #14
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
That surely isn't safe! you should only have one master on your primary ide controller! Plugging both in will cause trouble, as linux refers to the primary master as /dev/hda so both hard drives will called by this!
 
Old 06-09-2005, 01:11 PM   #15
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
I know that its possible to use windows bootloader to boot linux. Google that if you want to try that, I forgot the address I saw it on. I have found some other links though that might help, have a look:

http://www.geocities.com/epark/linux...w2k-HOWTO.html Grub, Linux and windows

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/ch-x86-dualboot.html
Might be relevent

http://www.littlewhitedog.com/content-52.html Seems like this could be your best bet, have a look there

You should probably read them because it's your system, so you're going to understand how it works better than anyone else, plus you will know how to fix in the future :P
 
  


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
Best method for dual boot with dual hard drive? aidano Linux - Software 2 11-16-2006 12:04 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Replacing floppy with flash drive for dual boot jogger Linux - General 1 03-22-2005 10:53 AM
Dual Boot LILO w/ no Floppy Drive aragonh Slackware - Installation 1 11-13-2004 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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