Re: [Freedos-user] help: need a tool to write MBR to harddisk
Musicant, I can be write utility You needed. For free. Please write description for utility and I write it. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Thank you for the detailed answers! :-) Now I already have a *.img file , it's came from " dd if=/dev/sdc 0f=*.img" in Ubuntu , and sdc is a usb flash . I want to write the *.img to the same usb flash in freedos to make a linux bootalbe usb flash , do I have a simple way? I tried the "rawrite" " diskcopy" , they are all for floppy disks. Hoping for your answer, thanks so much! 在2008-12-17,"Eric Auer" 写道: > >Hi! > >> Today I use the command " diskcopy" , but it only for floppy disk, >> is there the tool likt it but it can be used for usb flash ? > >You mean for creating a bootable USB stick? Maybe makebootfat >or sys-freedos-linux can help you here: > >www.ywesee.com/pmwiki.php/Site/FlashingBiosOfALinuxServer > >I know, this does not "install from disk image", but I would >not recommend using disk images for USB flash anyway, because >USB sticks come in all sizes and you do not have disk images >in all sizes, or at least having them would waste space on a >web server. So you better use a tool to make the stick boot >and then copy the files as files, for example after downloading >a zip with FreeDOS files. The Rugxulo diskette distro can be >useful here: > >http://rugxulo.googlepages.com/ > >It has 3 diskettes, 2 of which already have all BASE FreeDOS >components in the versions we would use for FreeDOS 1.1 :-) >You can also get a "one 2.88 MB diskette" variant as single >download there, instead of downloading one zip per diskette. > >Note that the "make bootable" tools mentioned above are not >for DOS: In DOS, you would simply use SYS instead. You may >also have to use FDISK to flag the partition on your USB >stick as bootable. You may also need FDISK /MBR to make the >MBR bootable as well. This should work if your BIOS supports >USB storage well enough. If not, or if you have to use block >device style USB drivers in DOS (if the BIOS supports USB >storage, no DOS drivers are needed, sticks will just work) >then you will be unable to use FDISK and only SYS will work. > >Or of course use your Linux or Windows and a tool like the >sys-freedos-linux or makebootfat mentioned above... :-) > >Eric > >PS: DISKCOPY does work for non-diskette drives as well, I >believe, but as said, you will not have a diskimage which >has the correct size for your USB stick in most cases. > > > > >-- >SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >The future of the web can't happen without you. Join us at MIX09 to help >pave the way to the Next Web now. Learn more and register at >http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >___ >Freedos-user mailing list >Freedos-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/freedos-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Hi! > Today I use the command " diskcopy" , but it only for floppy disk, > is there the tool likt it but it can be used for usb flash ? You mean for creating a bootable USB stick? Maybe makebootfat or sys-freedos-linux can help you here: www.ywesee.com/pmwiki.php/Site/FlashingBiosOfALinuxServer I know, this does not "install from disk image", but I would not recommend using disk images for USB flash anyway, because USB sticks come in all sizes and you do not have disk images in all sizes, or at least having them would waste space on a web server. So you better use a tool to make the stick boot and then copy the files as files, for example after downloading a zip with FreeDOS files. The Rugxulo diskette distro can be useful here: http://rugxulo.googlepages.com/ It has 3 diskettes, 2 of which already have all BASE FreeDOS components in the versions we would use for FreeDOS 1.1 :-) You can also get a "one 2.88 MB diskette" variant as single download there, instead of downloading one zip per diskette. Note that the "make bootable" tools mentioned above are not for DOS: In DOS, you would simply use SYS instead. You may also have to use FDISK to flag the partition on your USB stick as bootable. You may also need FDISK /MBR to make the MBR bootable as well. This should work if your BIOS supports USB storage well enough. If not, or if you have to use block device style USB drivers in DOS (if the BIOS supports USB storage, no DOS drivers are needed, sticks will just work) then you will be unable to use FDISK and only SYS will work. Or of course use your Linux or Windows and a tool like the sys-freedos-linux or makebootfat mentioned above... :-) Eric PS: DISKCOPY does work for non-diskette drives as well, I believe, but as said, you will not have a diskimage which has the correct size for your USB stick in most cases. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Thank you for all the answers! Today I use the command " diskcopy" , but it only for floppy disk, is there the tool likt it but it can be used for usb flash ? 在2008-12-16,"Jim Hall" 写道: >D'oh. Was thinking of FDISK /MBR. > >On Tue, Dec 16, 2008 at 7:02 AM, Eric Auer wrote: >> >> Hi! >> >>> Why not use SYS? It does this (although not like dd.) >>> SYS writes the FreeDOS boot to MBR. >> >> No - SYS writes to the boot sector of the partition. >> It NEVER writes to the MBR. The SYS of other DOS and >> Win9x never write the MBR either, but for example the >> FIXMBR tool of Windows does write the MBR... >> >> If you want to read/write the MBR, you can for example >> use FreeDOS FDISK. It does not only let you edit the >> partitioning manually, but it also features a variety >> of script-controlled commands, including backup and >> restore of the MBR :-). Please use FDISK 1.3.1 or newer, >> as previous versions sometimes tried to recover from >> problems by deleting the whole partition table without >> first asking the user! >> >> www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fdisk/ >> >> Eric >> >> PS: Note that because SYS only takes care of the boot >> sector, you can only boot primary partitions marked as >> bootable directly. However, boot menus can help you to >> invoke DOS boot sectors on other locations as well :-) >> >> >> >> >> -- >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> ___ >> Freedos-user mailing list >> Freedos-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freedos-user >> > >-- >SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >The future of the web can't happen without you. Join us at MIX09 to help >pave the way to the Next Web now. Learn more and register at >http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >___ >Freedos-user mailing list >Freedos-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/freedos-user -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Which utility you are talking about? Джандуарлем Абдулаихим schrieb: > These utility you can write itself in the Turbo-C 2.0. It's a simply - reads > & write series of sectors as one big string of data. Use biosdisk() function > for make them result. > > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > > -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
D'oh. Was thinking of FDISK /MBR. On Tue, Dec 16, 2008 at 7:02 AM, Eric Auer wrote: > > Hi! > >> Why not use SYS? It does this (although not like dd.) >> SYS writes the FreeDOS boot to MBR. > > No - SYS writes to the boot sector of the partition. > It NEVER writes to the MBR. The SYS of other DOS and > Win9x never write the MBR either, but for example the > FIXMBR tool of Windows does write the MBR... > > If you want to read/write the MBR, you can for example > use FreeDOS FDISK. It does not only let you edit the > partitioning manually, but it also features a variety > of script-controlled commands, including backup and > restore of the MBR :-). Please use FDISK 1.3.1 or newer, > as previous versions sometimes tried to recover from > problems by deleting the whole partition table without > first asking the user! > > www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fdisk/ > > Eric > > PS: Note that because SYS only takes care of the boot > sector, you can only boot primary partitions marked as > bootable directly. However, boot menus can help you to > invoke DOS boot sectors on other locations as well :-) > > > > > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ___ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user > -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Eric Auer escreveu: > Hi! > >> Why not use SYS? It does this (although not like dd.) >> SYS writes the FreeDOS boot to MBR. > > No - SYS writes to the boot sector of the partition. > It NEVER writes to the MBR. Correct: the program that does that id fdisk, this way: fdisk /MBR Alain -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Hi! > Why not use SYS? It does this (although not like dd.) > SYS writes the FreeDOS boot to MBR. No - SYS writes to the boot sector of the partition. It NEVER writes to the MBR. The SYS of other DOS and Win9x never write the MBR either, but for example the FIXMBR tool of Windows does write the MBR... If you want to read/write the MBR, you can for example use FreeDOS FDISK. It does not only let you edit the partitioning manually, but it also features a variety of script-controlled commands, including backup and restore of the MBR :-). Please use FDISK 1.3.1 or newer, as previous versions sometimes tried to recover from problems by deleting the whole partition table without first asking the user! www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fdisk/ Eric PS: Note that because SYS only takes care of the boot sector, you can only boot primary partitions marked as bootable directly. However, boot menus can help you to invoke DOS boot sectors on other locations as well :-) -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] help: need a tool to write MBR to harddisk
Why not use SYS? It does this (although not like dd.) SYS writes the FreeDOS boot to MBR. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user