[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual Boot with Win2k



Paul Mackinney wrote:
> 
> Matthew Daubenspeck declaimed:
> Has anyone had any dual-boot experience with Windows 2000? 
> I currently have linux on one drive and 2K on another, and 
> am looking for a viable way of dual booting the two...
>
>

I have Win98 experience.  It probably corresponds.  How 
I did it:  I made my Win98 drive the primary boot drive.  I then used
LOADLIN to load LINUX (stored on the Win98 drive) and mounting it to a
root partition on /HDC2.  

First step, then was to get LOADLIN running as a DOS program under
Windoze, and put the LINUX shell on the DOS partition.  

Once that was done, I set my CONFIG.SYS file up with a bootup menu. 
[CONFIG.SYS is at the top of the Windoze bootup drive.]

------------START OF CONFIG.SYS FILE------------ 

menuitem = [Win98]
menuitem = [Linux]
menuitem = [DOS]

# If you want, you can also set a line that goes (I think)
# "menudefault=Linux,20", which gives you 20 seconds to 
# decide if you want Windoze or DOS.  

[Common]
  #ANY Commands for all the systems go here.

[Win98]
  # ANY WIN98 - only Config.sys lines go here
[Linux]
  # Put nothing here.
[DOS]
  # ANY DOS - only Config.sys lines go here


---------END OF CONFIG.SYS

 Then in my autoexec.bat files, I put

----------START OF AUTOEXEC.BAT FILE------------ 

GOTO %CONFIG%

:Linux
  C:\Linux\LOADLIN C:\linux\LINUX root=/dev/hdc2  ...
  GOTO END       ; not really necessary

:DOS
  ; ANY DOS-only commands go here
   GOTO END

:Win98
  ; Any Win98-only commands go here

:END
------------END OF AUTOEXEC.BAT FILE------------ 

Pro: This technique violates nothing
     It also allows you to set up options to run specific 
     dos programs straight from bootup.

     It also doesn't worry people about which boot loader
     they have.  
Con: You don't smell like Jesse James.


--------As an aside:  

It might be interesting to set a small partition on your linux drive
aside for Windoze/DOS.

On that partition, you make your backups and restore info, and then go
to Linux and store the backups in a linux partition.  Now, if you ever
do encounter a virus, you still boot off your Win98 drive to Linux (no
problem).  Then you go to linux and write a DOS boot disk, and also copy
the LINUX-partition backup over to your very small DOS partition, just
in case it had been infected.  Then, you go reboot the DOS disk, run
your restore software from the uninfected drive, and everything is
dandy.

Or you can just go with Linux, and forget that insecure, self-serving,
lowprogrammed, secretive, snooping, snobby, GUI little OS.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: