Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: DOS Question in Knoppix (resolved)

  1. #21
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Ok, Ok, you guys have given me the courage here... I'm going to attempt to resize my swap today, probably make the freed up swap space into a DOS/VFAT partition, and try using that. If at all else fails, I can always reclaim it back to Linux later. I will also look at the installation of the 2gig hard drive, if the DOS partition doesn't work...

    Thanks everyone
    Cuddles

  2. #22
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203

    hOW ABOUT vmware OR WIN4LIN

    I had a couple of progs I couldn't let go and ran them through vmware.
    You can get a 30 day trail license, its pretty expensive 399 I think but great SW. You can install an actual DOS (I can post the images if you like) inside the vmware session.....

    rumour has it that the serial no for vmware is at alstalavista.box.sk or somewhere
    This will allow you to kick off without rebooting to run the neural nw stuff.

  3. #23
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    I think I did a boo-boo, or something...

    Went into CFDisk, through booting from the CD, with a noswap cheatcode...

    In cfdisk, I blew away the Linux Swap (2.0 gig)...
    ***** added a primary partition of 1.7 gig - as type Win9x Fat32 (LBA)
    ***** added a primary partition of 500 meg - as type Linux Swap

    Rebooted back into Knoppix, on the hard drive, and took a look at my DiskFree - no swap, no FAT partition, only my hda1...

    Went into MEMORY from within Info Center - no swap, and under PARTITIONS - all I show is hda1...

    Decided to see what Linux did find... Shelled out to a Root, and did a dmesg - upon scrolling through my output - I now have a hda1, hda2, and a hda3 - hda1 is my original partition that Knoppix was installed into, hda2 (I think, is my FAT32), and hda3 is now my Linux Swap partition.

    Knoppix (used to) thinks my Swap is supposed to be on hda5 -=- but now its hda3 - can this be "repointed" ???

    Also, how do I go about getting hda2 into being a formatted DOS ????

    ( I already read in the man pages for cfdisk, dos 6.x versions require you to do some kind of "dd" command on the partition, to blank out the first 512 bytes, so that DOS Format can handle it, so, I guess I need to do this dd command on my hda2 partition )

    SO, my current wish list is:
    How do I get my Linux Swap happy again (since the hda3 is now down to 500 meg) ?
    How do I get my Win9x FAT32 (LBA) active, and formatted ?

    BTW - I have a Win98 Boot Disk, floppy, so I can boot to a Windows 98 DOS prompt, and get format, or fdisk, or sys, or whatever - I also will use the boot floppy to get my DOS program copied off the CD-ROM and onto this hda2 partition, once it is formatted for DOS.

    I think, unless I buggered it already, I think I am getting close to completion here
    Cuddles

  4. #24
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    Quote Originally Posted by Cuddles
    How do I get my Linux Swap happy again (since the hda3 is now down to 500 meg) ?
    Code:
    mkswap /dev/hda3
    Then edit /etc/fstab (change hda5 to hda3)

    Quote Originally Posted by Cuddles
    How do I get my Win9x FAT32 (LBA) active, and formatted ?

    BTW - I have a Win98 Boot Disk, floppy, so I can boot to a Windows 98 DOS prompt, and get format, or fdisk, or sys, or whatever - I also will use the boot floppy to get my DOS program copied off the CD-ROM and onto this hda2 partition, once it is formatted for DOS.

    I think, unless I buggered it already, I think I am getting close to completion here
    Cuddles
    This is probably where M$ will try to bite you again. Windoze is a "jealous" operating system, it wants to be on the first partition... Don't remember how to deal with that, anyone else ?

  5. #25
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Thanks Windos_No_Thanks - I got the Swap working (and at 500meg) Woooo-hoooooo

    One hurdle over...

    Now the final one...

    I need to get a DOS partition, formatted, with DOS - using a Win98 Boot Disk. I can boot to the floppy and run FORMAT - but I haven't a clue what drive letter it will/would be? Usually a format requires the drive letter after it. ( I do remember a few things still about Windoze/Dos )

    I don't need to install windoze, I am just going to get DOS up and running, from the Windoze recovery disk - "Startup Disk" floppy.

    I have forgotten so much of Windows/Dos since starting in Linux - I don't think in drive letters anymore - just hda#, hdc#, etc...

    Again, I used cfdisk to create the DOS Primary partition on a Linux/Linux Swap hard drive - I need to get the DOS partition into (probably) a Win98 VFAT32 (LBA) format...

    I'm gettin close here, I can feel it
    Cuddles

  6. #26
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    It should be drive C: dos cannot see the other partitions on the drive and do not forget the /s to transfer the system files when you format (format C: /s) and you may need to use dos's fdisk to set the partition as the active one.

  7. #27
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    Stephen, first of all, thanks for the response... Now for the questions....

    I shouldn't need to add the system files, I don't want to boot it, I just want to have a "native" DOS partition to use for my "finiky" program. All I want on the partition is a DOS format, and its format structure. My thinking on my DOS program is that it is "somehow" finding something wrong with the files being "translated" or "emulated" from a Linux OS over to DOS, I am hopeing that by setting up a DOS file system for the program, it will run in DosBox, or DOSEmu, etc... In DosBox it just froze at the initialization processing of the program.

    Do I need to set the partition to active? I already have my Linux partition set to active, pardon my stupidity, especially if this is a real SIMPLE question, but, what "exactly" does the active do? and worse yet, can you have more than one active on a single hard drive? ( I know, its probably a very simple/stupid question, hey, can ya tell I'm a long standing Windows USER??? (ha ha ha) )

    Lastly, drive C: ??? Here is my drive maping, as it stands now:

    Primary - Linux partition - active - boot - 39gig
    Primary - Win9x FAT32 (LBA) - 1.7+/- gig
    Primary - Linux Swap - 500meg

    I did go into fdisk, and it shows NON-DOS on the first partition, DOS on second, and NON-DOS on the third.

    Considering I used only cfdisk to do all of this, does fdisk need to get involved in this? Will doing a Format C: perform the format ONLY on the DOS (or second) partition? I'd hate to screw up my Linux after all of this work?

    Thanks for all the help,
    Cuddles

  8. #28
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Dos can only format a dos partition so that should be alright. But now that I am looking at the layout you have, dos/windows only expects one primary and the rest extended partition on the drive you have when installing and using the drive so I do not think it is going to work well if you try to install on a drive with 3 primary partitions. Your probably better off just putting in the spare drive you have as hda move the drive in there to hdb after having installed win98 to the hda boot with Knoppix CD mount the / partition of the knoppix install (sudo mount /dev/hdb? /mnt/hdb?) and edit the lilo.conf to change the root= to be for hdb? leave the boot=/dev/hda and uncomment the example at the bottom of the file for the other OS boot from /dev/hda1 then use sudo chroot /mnt/hdb?/ /sbin/lilo -v to write the lilo to the mbr of the win98 new drive and you will be able to boot both from that lilo screen and you have to change all the /dev/hda? entries in the /etc/fstab on the knoppix drive to /dev/hdb?. Replace the ? with the appropriate partition number(s).

  9. #29
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    Hmm, if it doesn't need to be a bootable filesystem I guess you could try this first:
    Code:
    mkdosfs -F 32 /dev/hda2

  10. #30
    Senior Member registered user
    Join Date
    Dec 2003
    Location
    Salt Lake City, UT, U.S.A.
    Posts
    1,338
    I got my DOS (finicky) program to run - FINALLY

    I tried Wine, hated that I didn't have Windos installed...
    I tried DosBox, the program didn't like it...
    I tried a second hard drive, with Win98 installed...
    ***** Wine wouldn't run a DOS program...
    ***** DosBox, again, the program didn't like it...

    THE FINAL SOLVE (to this long standing hatered of a DOS program and Linux)
    1) Win98 installed on a second hard drive ( I don't think I had to have it this way, since, I mapped a DOS drive letter through Linux's device mount point)
    2) apt-get and install both DosEmu and FreeDos - set up a drive mapping for drive D: to my mount point of my Linux device mounted Win98 hard drive.

    AND THE DOS PROGRAM RUNS PERFECTLY

    YES, YES, and triple YES -=- Cuddles is doing the "happy dance" all around the room

    This thread is finally resolved, and I want to thank everyone, for all the help, and my DOS program thanks you all too

    Cuddles

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. has usb cdrom booting ever been resolved?
    By GStoll in forum General Support
    Replies: 2
    Last Post: 12-03-2004, 04:02 AM
  2. How i resolved the problem of ramdisk
    By ckassab in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-07-2004, 03:47 PM
  3. Apt-Get Upgrade Issues... (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 18
    Last Post: 01-27-2004, 05:31 AM
  4. Knoppix 3.3 - HDD Install - Autodetect gone??? (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-11-2004, 03:48 PM
  5. Problem resolved with PCChips motherboard & Knoppix 3.1
    By koolmoose in forum Hardware & Booting
    Replies: 1
    Last Post: 04-19-2003, 01:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IXIA XR100 VOIP PROBE picture

IXIA XR100 VOIP PROBE

$199.99



Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black picture

Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black

$32.00



 VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2 picture

VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2

$35.56



Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal) picture

Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal)

$49.00



Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945 picture

Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945

$3.00



New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -  picture

New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -

$24.95



Yealink SIP-T41P PoE Ultra Elegant VoIP Phone  picture

Yealink SIP-T41P PoE Ultra Elegant VoIP Phone

$29.95



Cisco CP-8845-K9 5 Line IP Video Phone - Charcoal picture

Cisco CP-8845-K9 5 Line IP Video Phone - Charcoal

$25.00



LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord picture

LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord

$69.99



Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black picture

Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black

$99.99