LinuxQuestions.org
Review your favorite Linux distribution.
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 06-18-2003, 02:16 AM   #1
chetan13
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Rep: Reputation: 0
loading dos from lilo without boot disk


hi
i use mandrake linux 9.1 and windows millenium with lilo. i generally dont use windows.i put my write protected win me startup disk in the drive always(i have very little use for the 3 1/2" drive).whenever i want to load into dos i just select floppy from the lilo menu.i use dos to play games. is there a way to copy all the files from the startup disk onto a folder in either windows or linux partition and then boot from that folder. how do i do this. i have only one partition for windows.

thanks in advance.
chetan
 
Old 06-18-2003, 01:00 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It would need to be a dos partition on your hard drive. Dos cannot read from your other partitions as it does not understand the filesystems.
 
Old 06-18-2003, 02:07 PM   #3
chetan13
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for replying
i have i dos partition(FAT32) windows millenium is installed on it. will a subdirectory in c:\ work. also please tell me what i have to do after i copy all the files from the startup disk into say c:\DOS.
warm regards
chetan.
 
Old 06-18-2003, 02:12 PM   #4
chetan13
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
forgot to put this in the above posting.
i want to have a dos option in my lilo menu. where the dos boots not frooom a floppy but a ditectory in windows partition into which all files from the startup disk have been copied.
 
Old 06-18-2003, 02:24 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That's not actually dos, it's windows. If I understood correctly

The boot loader only loads the system, I don't think you can use it to load a dos prompt in windows, however you can setup windows to boot up that way if you would like, ie without gui
 
Old 06-18-2003, 03:38 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,917

Rep: Reputation: 103Reputation: 103
http://www.mydesktophelp.com/tips/misc25.htm

Good Luck.
 
Old 06-18-2003, 04:34 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I think what you want is the option to boot to windows or DOS prompt.

this can be done by adding this to the msdos.sys file

BootMenu=1

as opposed to this..

BootMenu=0

that way when you choose to boot windows from lilo you will get the boot menu

from there you can choose the boot option you need


you may want these also

BootMenuDelay=??
BootKeys=1

Last edited by DavidPhillips; 06-18-2003 at 04:36 PM.
 
Old 06-19-2003, 12:42 AM   #8
chetan13
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
no that works only in windows 98. we can get dos in win me but for that you have to do this.
http://www.geocities.com/mfd4life_2000/

in lilo there is an option to boot from a floppy.if i put in the win me startup disk and then choose 'floppy' option i boot into dos.i want lilo to read these files from a local directory and not from the floppy drive.
warm regards
chetan
 
Old 06-19-2003, 01:08 AM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I still think you can bring up the boot menu in ME using the msdos.sys file (maybe after some reg edits)

However, this applies to any os.
It needs to be on a partition, then you need to setup the partition on a boot loader.


You are likely to need to modify the bootup files on the floppy.
 
Old 06-19-2003, 09:47 AM   #10
chetan13
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Original Poster
Rep: Reputation: 0
yes, you are most probably right. i am going to create a new FAT partition and copy the files into it. But could you give me little more specific information on what to do after i create the partition.
like what i should put in the /etc/lilo.conf files to get the DOS option in the lilo menu and tosuccesfully load into dos.

chetan
 
Old 06-19-2003, 11:35 AM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
this should do it

other=/dev/hda1
label=dos
 
  


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
removing dos from lilo boot menu nothingness 000 Linux - Newbie 7 12-26-2004 02:37 AM
dos boot disk mfds Linux - Newbie 3 04-14-2004 06:22 PM
Boot problem with GRUB (for loading DOS) djkoe Linux - General 1 01-03-2004 08:00 PM
samba dos boot disk mnauta Linux - Networking 1 05-28-2003 02:33 PM
cant boot dos w/lilo reverand_13 Linux - Software 5 02-02-2002 04:55 PM

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

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