Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

A nice boot dodge

Thread Tools
 
Search this Thread
 
Old 20th May 2003, 04:41
  #1 (permalink)  

Plastic PPRuNer
Thread Starter
 
Join Date: Sep 2000
Location: Cape Town
Posts: 1,898
Received 0 Likes on 0 Posts
Cool A nice boot dodge

Here's a nice dodge for triple booting Win98 that I haven't found described. I wanted to have a Win98 bootmenu to give me a choice of standard 98 (with the GUI), 98 plain (DOS 7.0) and Linux. It depends on the fact that if 98 finds a win.bat file (even a zerolength one) in the root it'll automatically execute it AFTER autoexec.bat but then WON'T automatically run win.com. Easier than using LILO. I'll put the essential bits from config.sys, autoexec.bat and win.bat down since it's easier than explaining.
----------
CONFIG.SYS

[menu]
menuitem=W98GUI, Win98SE - Full normal
menuitem=W98noGUI, Win98SE - Command line/No GUI
menuitem=Linux, Suse Linux 8.1
menucolor=15,1
menudefault=W98GUI, 10

[W98GUI]

[W98noGUI]

[Linux]

[common]
------------
AUTOEXEC.BAT

@echo off
cls
goto %config%

:W98GUI
rem <snip>
set GUI=YES
goto END

:W98noGUI
rem <snip>
set GUI=NO
goto END

:Linux
rem No need to flush the cache, you're still in real mode
rem.
rem Move up to a real OS and detonate
rem 20 years of monopolistic avarice
c:\linux\loadlin c:\linux\kernels\vmlinuz root=/dev/hdc2 ro

:END
--------
WIN.BAT

@echo off
cls
if %GUI%!==YES! C:\WINDOWS\WIN.COM
Mac the Knife is offline  
Old 20th May 2003, 07:33
  #2 (permalink)  
 
Join Date: Jan 2003
Location: Manchester
Posts: 68
Likes: 0
Received 0 Likes on 0 Posts
Thanks Mac.

A nice bit of timely advice. I'm dual booting 98se/XP and have just fitted another hd so I can install Suse 6.2 and play on a real os again, without having to buy all the expensive software for a second time.

R.
Ronbmy is offline  

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.