LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-18-2003, 04:27 PM   #1
gg4
LQ Newbie
 
Registered: Jan 2003
Posts: 9

Rep: Reputation: 0
Another Dual Boot Question


I want to dual boot linux and windows (something new, eh?). Here's my planned setup.

2 HD's. 1 small one with windows on it. 1 40gb drive split in half that is going to be shared by windows and linux.

Then, I want to install Lilo to a floppy disk. Without the floppy in the computer, windows will boot. With the floppy in the computer, I want Lilo to boot allowing me to choose Linux.


Sound possible?
 
Old 02-18-2003, 04:58 PM   #2
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
Godamighty, don't do it!

I'm telling you I've had no end of misery trying to install Windows on more then one partition. I know Linux does it without even thinking about. I read a book on Windows from O'Reilly that actually suggested that there might be some performance improvements by spreading Windows over partitions, but I never saw them.

The problem is that Windows uses a very tight installation procedure, but it remains that there is more then one way to install software in Windows. You will wind up finding software and files all over the place. This was Windows 98SE, but I doubt XP is any different.

And I won't even start talking about what you have to go through to keep track of Linux partitions and drives to make sure everything boots up OK or installs right the first time. Put both problems together and you got some real work ahead of you.

You are pretty sharp to imagine such a thing is possible and you may do it anyway. Just know that you won't be the first to get some good experience the hard way.

If you keep the two operating systems on seperate hard drives, you will probably have better luck. You are also probably better off with LILO on the floppy and Windows booting up from the HD. And, you should also understand the difference between the primary and secondary hard drives.
 
Old 02-18-2003, 09:58 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
If you want to boot lilo from a floppy you can.
To make a floppy lilo that was completely different from my hard drive lilo:
# From your '/boot' copy either of: boot-menu.b, boot-text.b, or etc. to the floppy
# A copy of your lilo.conf to the floppy (make any corrections)
# Run '/sbin/lilo -C /yourfloppymntpoint/lilo.conf
I changed the boot and map settings to point to the floppy instead of the hard drive in lilo.conf. Any other corrections suggested by checking 'man lilo.conf'

Perhaps you wish to avoid any problems booting into Windows. I believe installing a boot manager and losing access to Windows is not the norm, but it apparently does happen.

Consider:
You have made your "rescue floppy" when you installed Linux. You boot into Windows by starting your computer normally. You boot into Linux by starting with the boot floppy.
You next take the step you have suggested of making a boot floppy with lilo. At any time you are able to boot by the above 2 methods. Besides making it able to boot Linux, make it able to boot Windows.
When you have succeded in having your boot floppy boot both Linux and Windows, and you feel comfortable with it, attempt to add lilo to the MBR. At any point your floppy will work as it always did.

Normally you do not need to be this careful, but I have seen people not be able to access Windows and it is not totally unwise to be careful.

If you can post your /etc/lilo.conf and how your Linux and Windows are set up I am sure someone can give you the necessary corrections to lilo.conf

Good Luck
 
Old 02-19-2003, 08:50 AM   #4
twan
Member
 
Registered: Feb 2003
Location: Brasschaat, Antwerpen - Belgium
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Quote:
Originally posted by SparceMatrix


If you keep the two operating systems on seperate hard drives, you will probably have better luck.
i have two OS on 1 HD and i have had no problems so far. So it isn't really necesary to have them on seperate hard drives.

I hope i fully understand what you meant SparceMatrix. If not, sorry then
 
Old 02-19-2003, 11:54 AM   #5
vetro91
LQ Newbie
 
Registered: Feb 2003
Posts: 6

Rep: Reputation: 0
littlewhitedog.com wrote an article a while back about dual booting. this article is good becuase he tells how to install win/linux and still use the Windows boot loader. check it out. although the article was written for Win2000/Linux, it's exactly the same with WinXP.

http://www.littlewhitedog.com/reviews_other_00011.asp
 
Old 02-19-2003, 02:50 PM   #6
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
Quote:
Originally posted by twan
i have two OS on 1 HD and i have had no problems so far. So it isn't really necesary to have them on seperate hard drives.

I hope i fully understand what you meant SparceMatrix. If not, sorry then
Right. No, the problem is when you start spreading the installation of two operating systems on one hard drive to another hard drive. If you have one hard drive with two different operating systems installed, that's pretty basic. But if you add another hard drive to a previously installed Windows system on that dual booting HD That's when things start getting complicated. Linux may never know that hard drive is there, but when Windows recognizes that new drive, it rearranges all the other drives you had on there. This has consequences that are difficult to keep track of. It gets even worse if you try to imitate the multiple partition that you see in the dual booted Linux installation. Do you follow? Linux typically installs over several partitions. If you try to install Windows on several Windows partitions and distribute the various files over those partitions, you can have a real mess. I've tried this and I would not recommend it. Just adding another hard drive to Windows may or may not be as nearly as complicated as my attempted partition scheme.

Adding hard drives to Linux has similar potential hurdles to confront. Hard drives are not Plug'nPlay like most of the rest of the hardware is in Linux. You have to make changes to /etc/fstab/ to get the hard drive to mount regularly like the rest of your partitions. You can mount it manually, of course using the "mount" command.

I have a similar hard drive project where I took an old dual booted hard drive and added it to a Linux only installation. What I wanted to do was mount the old Windows vfat partition and use it as a Samba share so that my Windows XP machine could 'talk' to the Linux machine and save files to it which is the basic mission of Samba. Everything was fine, I made the correct changes to /etc/fstab/, but I found that I could not make permissions changes to Linux mounted vfat partition. (Yes, you can mount Windows files in Linux). It took some rather esoteric advice to solve the problem that I found at this forum here:

http://www.linuxquestions.org/questi...threadid=45848

Part of the appeal of Linux is that it is free and this is an open invitation for the very resourceful to scrounge up those old 2, 4, and 10 Gig hard drives and try to get something going with Linux and/or Windows on them. I been there. But it gets weird, so be careful unless you are not afraid of work.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot Question spaceballs Slackware 11 03-28-2005 02:54 PM
Dual Boot Question caps_phisto Linux - General 1 11-03-2004 12:41 PM
Another dual boot question flira Slackware 2 05-29-2004 02:23 AM
Dual Boot Question jwjody Linux - Newbie 3 10-23-2003 11:57 PM
dual boot question eelee Linux - Software 21 12-20-2001 08:46 AM

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

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