SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to see the entire config.sys and autoexec.bat files to build the menu system.
The best way is to open them in notepad then copy and paste the entire contents to here. If you don't want them on the net, you could mail them to me at synnerst@triad.rr.123
replace the "123" with "com" (to prevent spam)
If you don't have a config.sys file, that is ok too. We will just create one.
Replace your current config.sys and autoexec.bat files with the following:
***************Autoexec.bat***************
@echo off
goto %config%
:windows
set prompt=$p$g
set path=c:\windows;c:\windows\command;c:;
goto end
:slackware
set path=c:\linux;
c:\linux\linux.bat
goto end
:end
*****************************************
**************Config.sys*******************
[menu]
menuitem = windows
menuitem = slackware
Just a heads up, make sure you use notepad or some other pure text editor to make these changes, also we may need to toy with it and move devicehigh=c:\command\drvspace.sys /move down to the [windows] area rather than the [common] area, but for now I think we should leave it there.
And last step:
In c:\linux\linux.bat make the following change:
\linux\loadlin \linux\vmlinuz root=/dev/sda4 rw
to:
\linux\loadlin \linux\vmlinuz root=/dev/hda1 rw
No other changes should be needed.
When you reboot, you should be faced with a prompt asking which OS to load.
Edit your C:\linux\linux.bat, changing the un-rem'd line's /dev/sda4 to /dev/hda1 Then replace what's in your autoexec and config.sys files with this:
config.sys:
[menu]
menuitem=Linux, Zipslack
Menuitem=Win98, Windows 98
menucolor=15,1
menudefault=Win98, 10
[linux]
[win98]
Rem DEVICE=C:\WINDOWS\setver.exe
DEVICEHIGH=C:\WINDOWS\COMMAND\DRVSPACE.sys /MOVE
Check from Windows to see if the linux folder is ok. For example, check if the C:\linux\sbin\init file exists. Boot into DOS, and try different devices using loadlin: 'C:\linux\loadlin.exe C:\linux\vmlinuz root=/dev/hda1 rw'
Try things other than /dev/hda1, for example /dev/hdb1, /dev/hdc1, or /dev/hdd1. Also try different numbers: /dev/hda2, /dev/hda3 ... Perhaps /dev/hda by itself may work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.