Re: [Freedos-user] Freedos on USB memor stick (partially solved)
On Fri, 2006-10-20 at 14:13 +0200, Norbert Remmel wrote: Hi all, found a promising project under www.boodaa.de There you will find an application called bootdisk2bootstick v0.8. This application can create a bootable usb stick using a bootable floppy image. The only problem is that the usb stick is only 1.44MB in size after that, but it is bootable. In forum the author sais he really would like to extend the image to the full size of a stick, but he doesn't manage to do so because he does not know exactly how to change the mbr. Perhaps someone of you can help him out. Rgds Norbert - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user Thanks for the info. I will try it. Art - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Freedos on USB memor stick (partially solved)
Got interuppted on this subject, but back on it now. I have got two USB sticks formated with the HP program. Can read and write to both as fat32 from Linux or Windows. Downloaded the USBASPI.SYS and DI1000DD.SYS and have them available. How ever, I tried the links in Mark Baily's last email http://chitchat.at.infoseek.co.jp/vmware/vfd.html http://people.debian.org/~psg/ddg/node159.html http://bochs.sourceforge.net/doc/docbook/user/loop-device-usage.html But had no success with any of them. Here is what I have. A full freedos image (about 150 MB) running under qemu. I want to mount it and add the USBASPI.SYS and DI1000DD.SYS files and edit the config.sys file. Image is in /opt/freedos/freedosfile.img and runs fine under qemu except I can't do much with it since it does not see the USB drives. I have a folder /mnt/freedos Now, what is the exact syntax I would use to do this loop thing and mount /opt/freedos/freedosfile.img on /mnt/freedos I tried a number of variations on the commands in the links above, but somewhere, I am not getting it quite right. TIA Art - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Freedos on USB memor stick (partially solved)
Giving up for tonight. Installed Freedos 1.0 under QEMU in SuSE 101. Go through the exersize of crating Freedos on the USB stick, it installs, I can boot it in qemmu. Pull it out, and put it in the laptop and boot, comes up with no OS. Cannot see any files on the stick with ls on either sdd or sdd1. When I boot the usbstick in qemmu, it comes uip C:. How can I add files to the qemmu freedos image? Had no success on even doing this. Cannot see with ls either since it is a .img file. Can you really copy files to and from Freedos? If so, how? Art On Wed, 2006-10-11 at 20:21 -0400, Mark Bailey wrote: Hi Art: Well, if the ls command from Linux sees the DOS files on the USB stick (that are booting) on either /dev/sdd or /dev/sdd1, then doing a cp to the appropriate device, where Linux should now see the DOS files and the ones you added, should put the files you want on a large USB disk. When you boot the USB stick, does it boot as A: or C:? It should boot to that prompt and a DIR command should show the DOS files (at least kernel.sys and command.com). Does it? Are you using the new FreeDOS 1.0 release? There was a nasty bug with booting USB sticks on machines without floppy disk drives in some earlier FreeDOS versions. Mark Art Fore wrote: I understand now a bit more from your info and Eric Auers. I have a couple of problems though. I do not have anything with dos on it other than a CDROM with freedos. If I boot with the CDROM, I cannot see the USB drives. Any way to do that? If I could, I would be there. Booting from USB drive, I cannot access any other drive except A: If I do fdisk from linux command line, I cannot see anything but the first harddrive and cannot change harddrives. So, how do I see the usb drive from either another USB drive or from the CEROM. (I also do not have Windows, only Suse linux 10.1 and the free dos cdrom} Art On Wed, 2006-10-11 at 15:02 -0400, Mark Bailey wrote: Hi Art: I am far from an expert here, but there are two models for booting from a USB stick. One is a superfloppy model where the entire USB stick is formatted as a single giant floppy disk and the other mode is where the USB stick has an MBR and is treated basically like a hard disk. See http://www.marlow.dk/site.php/tech/usbkeys Some (most?) BIOS's only support one mode or the other. Linux can support either, using device /dev/sda (superfloppy) or /dev/sda1 (like a hard disk). # To format the drive in superfloppy format, you simply do: mkdosfs -I /dev/sda # Formatting in harddisk requires more steps, if it's not allready formatted that way: dd if=/dev/zero of=/dev/sda bs=512 count=1 to erase the start of the USB Key. After that you can do a fdisk /dev/sda and create a new FAT partition (FAT16 is suitable). To install a MBR and format the key afterwards, do install-mbr /dev/sda --force mkdosfs -I /dev/sda1 Have you checked to see if there is a D: drive? Have you used the attrib command to see if the files are hidden for some reason? Good luck! Let me know if either of these suggestions help. Mark Art Fore wrote: That did not work. Look at the partitions in yast partitioner, it shows /dev/sdd a the disk drive, and /dev/sdd1 as a fat partition. executing ms-sys -s /dev/sdd ; sync, I get Public domain syslinux master boot record successfully written to /dev/sdd Executing syslinux /dev/sdd ; sync, I get syslinux: this doesn't look like a valid FAT filesystem Executing syslinux /dev/sdd ; sync, I get a successful install. Tried deleting the sdd1 partition, no luck. Tried copying the files to sdd, that went ok, but they ended up in sdd1. Does not make sense to me. I would like to have the whole 256 meg as dos drive, but the .bin and .exe flash burning files do not even show up when booted to dos. Art On Wed, 2006-10-11 at 13:13 -0400, Mark Bailey wrote: Try copying the files to /dev/sdd Since you had to do syslinux to /dev/sdd, and /dev/sdd1 didn't look like a valid FAT filesystem, I'm not sure what the copy to /dev/sdd1 actually did. Mark Art Fore wrote: Have been trying unsuccessfully for two days to get freedos on a cruzer 256 meg memory stick. Best procedure I found was http://users.dslextreme.com/~craig.lawson/linux_notes/flashing_bios.html but did not work in the last step syslinux /dev/sdd1 ; sync syslinux: this doesn't look like a valid FAT filesystem Why is this? How do I fix this? Art Gave it one last try and got it. The last two statements are a little misleading. It shows both /dev/sd??. Last statement should have been syslinux /dev/sdd ; sync. Still have one problem. I copied the .rom and .exe files for BIOS update to /media/usbdisk (/dev/sdd1), but they do not show up after boothing from the usb drive. If I look
[Freedos-user] Freedos on USB memor stick
Have been trying unsuccessfully for two days to get freedos on a cruzer 256 meg memory stick. Best procedure I found was http://users.dslextreme.com/~craig.lawson/linux_notes/flashing_bios.html but did not work in the last step syslinux /dev/sdd1 ; sync syslinux: this doesn't look like a valid FAT filesystem Why is this? How do I fix this? Art - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Freedos on USB memor stick (partially solved)
That did not work. Look at the partitions in yast partitioner, it shows /dev/sdd a the disk drive, and /dev/sdd1 as a fat partition. executing ms-sys -s /dev/sdd ; sync, I get Public domain syslinux master boot record successfully written to /dev/sdd Executing syslinux /dev/sdd ; sync, I get syslinux: this doesn't look like a valid FAT filesystem Executing syslinux /dev/sdd ; sync, I get a successful install. Tried deleting the sdd1 partition, no luck. Tried copying the files to sdd, that went ok, but they ended up in sdd1. Does not make sense to me. I would like to have the whole 256 meg as dos drive, but the .bin and .exe flash burning files do not even show up when booted to dos. Art On Wed, 2006-10-11 at 13:13 -0400, Mark Bailey wrote: Try copying the files to /dev/sdd Since you had to do syslinux to /dev/sdd, and /dev/sdd1 didn't look like a valid FAT filesystem, I'm not sure what the copy to /dev/sdd1 actually did. Mark Art Fore wrote: Have been trying unsuccessfully for two days to get freedos on a cruzer 256 meg memory stick. Best procedure I found was http://users.dslextreme.com/~craig.lawson/linux_notes/flashing_bios.html but did not work in the last step syslinux /dev/sdd1 ; sync syslinux: this doesn't look like a valid FAT filesystem Why is this? How do I fix this? Art Gave it one last try and got it. The last two statements are a little misleading. It shows both /dev/sd??. Last statement should have been syslinux /dev/sdd ; sync. Still have one problem. I copied the .rom and .exe files for BIOS update to /media/usbdisk (/dev/sdd1), but they do not show up after boothing from the usb drive. If I look at it in Linux, it shows them. So, what is the secret? Art - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Freedos on USB memor stick (partially solved)
I understand now a bit more from your info and Eric Auers. I have a couple of problems though. I do not have anything with dos on it other than a CDROM with freedos. If I boot with the CDROM, I cannot see the USB drives. Any way to do that? If I could, I would be there. Booting from USB drive, I cannot access any other drive except A: If I do fdisk from linux command line, I cannot see anything but the first harddrive and cannot change harddrives. So, how do I see the usb drive from either another USB drive or from the CEROM. (I also do not have Windows, only Suse linux 10.1 and the free dos cdrom} Art On Wed, 2006-10-11 at 15:02 -0400, Mark Bailey wrote: Hi Art: I am far from an expert here, but there are two models for booting from a USB stick. One is a superfloppy model where the entire USB stick is formatted as a single giant floppy disk and the other mode is where the USB stick has an MBR and is treated basically like a hard disk. See http://www.marlow.dk/site.php/tech/usbkeys Some (most?) BIOS's only support one mode or the other. Linux can support either, using device /dev/sda (superfloppy) or /dev/sda1 (like a hard disk). # To format the drive in superfloppy format, you simply do: mkdosfs -I /dev/sda # Formatting in harddisk requires more steps, if it's not allready formatted that way: dd if=/dev/zero of=/dev/sda bs=512 count=1 to erase the start of the USB Key. After that you can do a fdisk /dev/sda and create a new FAT partition (FAT16 is suitable). To install a MBR and format the key afterwards, do install-mbr /dev/sda --force mkdosfs -I /dev/sda1 Have you checked to see if there is a D: drive? Have you used the attrib command to see if the files are hidden for some reason? Good luck! Let me know if either of these suggestions help. Mark Art Fore wrote: That did not work. Look at the partitions in yast partitioner, it shows /dev/sdd a the disk drive, and /dev/sdd1 as a fat partition. executing ms-sys -s /dev/sdd ; sync, I get Public domain syslinux master boot record successfully written to /dev/sdd Executing syslinux /dev/sdd ; sync, I get syslinux: this doesn't look like a valid FAT filesystem Executing syslinux /dev/sdd ; sync, I get a successful install. Tried deleting the sdd1 partition, no luck. Tried copying the files to sdd, that went ok, but they ended up in sdd1. Does not make sense to me. I would like to have the whole 256 meg as dos drive, but the .bin and .exe flash burning files do not even show up when booted to dos. Art On Wed, 2006-10-11 at 13:13 -0400, Mark Bailey wrote: Try copying the files to /dev/sdd Since you had to do syslinux to /dev/sdd, and /dev/sdd1 didn't look like a valid FAT filesystem, I'm not sure what the copy to /dev/sdd1 actually did. Mark Art Fore wrote: Have been trying unsuccessfully for two days to get freedos on a cruzer 256 meg memory stick. Best procedure I found was http://users.dslextreme.com/~craig.lawson/linux_notes/flashing_bios.html but did not work in the last step syslinux /dev/sdd1 ; sync syslinux: this doesn't look like a valid FAT filesystem Why is this? How do I fix this? Art Gave it one last try and got it. The last two statements are a little misleading. It shows both /dev/sd??. Last statement should have been syslinux /dev/sdd ; sync. Still have one problem. I copied the .rom and .exe files for BIOS update to /media/usbdisk (/dev/sdd1), but they do not show up after boothing from the usb drive. If I look at it in Linux, it shows them. So, what is the secret? Art - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user - Using Tomcat but need to do more? Need to support web services