General :: How To Write Boot Program Into Floppy Image?

Sep 29, 2010

OS: Windows XP
Virtual Machine: Bochs-2.4.5

I want to learn some details about linux booting, so I begin writing a small boot program myself. Yesterday, I was writing a small boot program and planned to use it boot a Bochs virtual machine. The boot program is written in assembly language and compiled with nasm.I use bxiamge.exe in Bochs and create an floppy image called boot.img and configure the Bochs virtual host to boot from this floppy image. My question is how to write the compiled boot.bin program into the floppy image(boot.img)?

View 1 Replies


ADVERTISEMENT

Hardware :: Write A Floppy Boot Image To Floppy Drive (as Root)?

Feb 19, 2010

I am trying to write a floppy boot image to my floppy drive (as root):

Code:
dd if=boot.img of=/dev/fd0
dd: opening `/dev/fd0': Read-only file system

[code]....

View 8 Replies View Related

General :: Make A Floppy Image And Overwrite The MBR?

Aug 15, 2011

I am trying to make a floppy image with a working file system so that I can test a 2 stage boot loader. When I attempt to mount the floppy and then cp the second binary over to it, mount gets all unhappy. Here are the steps I am trying to use:

dd if=/dev/zero of=floppy.img bs=512 count=2948
mkfs.vfat floppy.img
dd if=boot1.bin of=floppy.img bs=512 count=1

[Code]....

View 2 Replies View Related

General :: Change The Floppy Image Of Qemu?

Jan 18, 2010

I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?

View 1 Replies View Related

General :: Mount Floppy Image (*.img) And Edit By Adding Files?

Aug 14, 2010

i have read how mount floppy image (*.img) but how edit by adding files?

View 4 Replies View Related

Debian Hardware :: Can't Write To Floppy?

Feb 19, 2010

I am trying to write a floppy boot image to my floppy drive (as root):

dd if=boot.img of=/dev/fd0
dd: opening `/dev/fd0': Read-only file system
But it is mounted as rw in my fstab:

[code]...

View 14 Replies View Related

General :: Cannot Mount Floppy Drive While Creating Driver Floppy

Sep 23, 2009

I am having a Promise TX4650 RAID controller & trying to create a driver floppy for installing the drivers. Also am using RHEL 5, I can create the driver floppy, but when I type "mount /dev/fd0 /media/floppy" I get error: "mount: mount point /media/floppy does not exist".Can I get the files in a format other than the ext2 floppy image, so that we do not need to use a floppy drive?There is a readme file inside the driver archive & you can use that as a reference.

View 2 Replies View Related

General :: How To Boot USB Via Floppy?

Mar 12, 2011

I have several (small) bootable linux distros on USB sticks, and I would like to use them on several computers, some of which do not have USB boot support. Many of these also do not have a CD drive.In order to get around this problem I would like to create a bootable floppy disk that can load the system from the USB stick (similar to http://www.damnsmalllinux.org/wiki/i.../Boot_Floppies). I have found quite a few floppy images on the internet (like the one above), but I haven't yet got one that works and boots the USB sticks that I have (i.e. one that can boot Tiny Core).Is this actually possible (it seems to be, but I haven't got it to work yet) and does anyone know how I can do it?

View 3 Replies View Related

OpenSUSE Hardware :: Write To Floppy Drive /dev/fd0 (11.3 X86_64)

May 1, 2011

I currently discovered a problem when using the floppy drive /dev/fd0: I can't use it. I can mount /dev/fd0 as normal, can create/write a file, but it is not written to the floppy disk. Instead of that the current program (eg vim) hangs (or is "uninterruptable") until I remove the floppy disk from the drive. Because of the removal I get several errors in /var/log/messages. What I'm doing:

== snip ==
mount /dev/fd0 /mnt
echo "TEST" > /mnt/test
sync [--> HANG until I remove the floppy disk]
[sync "completes"/terminates, insert floppy disk]
umount /mnt
== snap ==

(In this example I used echo instead of vim, because it behaves the same in this situation) The errors I get are as follows:

[Code]...

View 9 Replies View Related

Ubuntu :: User Doesnt Have Write Permissions To Floppy?

Jan 7, 2010

so i have a limited user (my dad) on Jaunty who has no write access to his floppy disks. Nautilus gives a permission denied error, and i discovered that root owns the floppy drive, thus allowing his read-only. (that write tab on the floppy in on btw). However, when i login as a admin, nautilus says that user has write access. ??? I check the user's user privliges and everything exept "administer the system" is checked. I can copy files on it by logging in as root.

View 4 Replies View Related

General :: Boot Any Usb Distro From Floppy

Mar 22, 2011

I have an old laptop I'd like to try Bodhi linux on from a usb stick. I've got it installed running on a newer laptop so I know the usb install works. I've searched considerably & haven't found the dummy version of how to boot any distro on usb from a floppy. I have used a DSL floppy to boot Damn small on usb. Is there an easy way to boot Bodhi or any other linux distro that is on usb using the same floppy? I type dsl fromusb to get damnsmall to run. Bodhi fromusb doesn't work.

View 1 Replies View Related

Ubuntu :: Simulate A Floppy Drive With User Read Write

Sep 17, 2010

I have a computer with no floppy drive (x64 ubuntu lucid installed) I have a program (wine windows xp) that will only save data and export data from/to a floppy drive. I found information on setting up an emulated floppy drive. i.e.

sudo dd bs=512 count=2880 if=/dev/zero of=imagefile.img
sudo mkfs.msdos imagefile.img
sudo mount imagefile.img /media/floppy -o loop

I modified the winecfg to include under the drive section A: /media/floppy. Problem is I cannot write to the drive as a normal user. I have tried everything I know but only root can read write to the drive. Is there someway to set up this emulated floppy to allow me as a user to write and read contents.

View 1 Replies View Related

Fedora :: Mount Floppy Disk Image As Drive?

Jan 17, 2011

This probably is something simple, and may have already been addressed on here.I have a 1.4MB floppy disk image file that I would like to mount as a drive.

View 5 Replies View Related

General :: Bios Flash Boot Floppy

Apr 4, 2011

I am trying to flash my bios but they only supply an exe or a floppy image. obviosly I am not running windows to run the exe and I dont have a floppy drive. So I have been trying to copy the floppy image to a cd with little success.Size of boot image is 2884 sectors -> genisoimage: Error - boot image 'F1B.IMG' has not an allowable size.The way I understand it thats 4 sectors over the 1.44Mb floppy size? Is there a way I continue anyway? Seeing that I will be putting it on a cd I cant see that the size is going to matter

View 14 Replies View Related

General :: Can Boot RHEL 5.3 From Floppy Drive?

Jan 14, 2010

I've installed RHEL 5.3 on a Dell Desktop. I don't want to install GRUB to the MBR. Is there a way to boot up RHEL from a floppy?I've installed GRUB on to a floppy but not having much luck starting up RHEL. In the past Slackware has allowed me to startup the kernel from a floppy using LILO. I was hoping that there is way for RHEL too.

View 6 Replies View Related

General :: How To Boot Flash Drive Via Floppy?

Apr 25, 2010

I have problem with my laptop Samsung VM7000. The BIOS has a password on which I don't know. It has no HDD and the CD-ROM is damaged. I have a FDD floppy drive and two USB slots, they work (tested). To remove password I tried this http://dogber1.blogspot.com/2009/05/...ered-bios.html but it didn't work.Then I've found a Linux based password cracker http://www.pccmos.com/ but, since my cd drive is dead, I can't launch it. I can write it on a flashdrive, but my laptop is not booting from flash, so I have to make a floppy-boot-disc to boot flash via floppy, but how?

View 2 Replies View Related

General :: Write *.iso Image Files Onto USB Memory Stick?

Sep 6, 2009

Can you please do me favor and let me know how can I write the *.iso image files onto USB memory sticks as if we burn them into CD and thus making bootable CD to boot from ? Is there any command under Linux for this purpose ?

View 4 Replies View Related

General :: Boot Debian Install Disk From Floppy?

May 4, 2010

I scored a Dell poweredge 6300 from a local pawn shop. It has the capability to boot from cd-rom, but apparently not with isolinux, which is what the debian installer cd uses. I was able to boot to UBCD411 (Ultimate Boot CD, which uses syslinux), but didn't see any option to boot to a CD (maybe I'm missing something here?). I tried using the boot floppy from this site. I didn't expect it to work (it's from the Woody era), and it did not. I got a message that says SYSLINUX ver.XXXX CBIOS boot failed. I went to [URL].. and looked for a boot floppy image for Lenny, but apparently it doesn't exist. I did however find the boot floppy image for Etch.

To be honest, even if I did find the Lenny floppy boot image, I'm not sure how to use it to point the system to the installer CD. So, I have two questions:

1) Does anyone know of a boot floppy image for Lenny, or if I could use the Etch boot floppy image?

2) How would one boot from floppy, then point the system to the installer CD?

System info:
(4) Xeon Pentium 2 processors 500 Mhz
(6) UltraSCSI hard drives
(1) SCSI cd-rom drive
(1) SCSI dvd-rom drive
(1) Floppy drive
(1) 10/100 NIC

I'm open to any other suggestions as to how I could install Debian Lenny on this machine.

View 5 Replies View Related

General :: Distro With Diskettes For Floppy Boot Setup That Supports USB

Mar 15, 2011

Situation- Laptop (2003 made Toshiba 2410) with dead secondary controller, so no CDDVD drive, BIOS does not support any form of booting from USB. Laptop has working floppy (had to repair it) distros that are good for older units like that that also support booting from diskettes, and then can mount and install from a USB CDDVD rom drive.

View 7 Replies View Related

General :: Can't Write In Program Window

Jan 11, 2010

I have a diction(english-bulgarian-english) program which have only windows version and I installed it in my slackware trough wine. The problem is that I can't write a word in bulgarian into it. When in english layout i can write, but when change to bulgarian i can't. I click in the field for the words but just can't.Can be the problem from my system locale, because some programs in bulgarian can't be translated and I see symbols.
Help

View 2 Replies View Related

General :: Old Pc: Make A Bootable Single Floppy Disk To Boot With The Pendrive?

Sep 1, 2009

Nothing is working,[URL] My bootable pendrive is not seen by grub. The tab in grub, e, gives my 3 partitions only

[URL]

View 2 Replies View Related

Fedora Hardware :: Run A DOS Program And The Most Expedient Way To Copy It To A Bootable Floppy?

Jul 16, 2011

Old habits die hard...I wanted to run a DOS program and the most expedient way was to copy it to a bootable floppy. Problem one, floppy isn't mounted by default. Ok, so I mounted it, then attempted the copy. The copy failed almost immediately with an error message. I rebooted into ubuntu, did the same thing, and it worked.

View 2 Replies View Related

General :: Program To Make Image Of Partition

Mar 1, 2010

What is good program and that is easy to use to make a image of a linux partition

View 3 Replies View Related

General :: Program To Get A Webcam Image Large?

May 11, 2010

Just purchased a webcam and it worked immediatelly with kopete. This was in the configuration dialog, a small window showed me moving around in all my gloriousness. Now realise why those horror films show this sort of footage.

Thing is: how to make the image bigger, fill the screen? Is there a program? Don't say rtfm, I don't know enough to do that.

View 8 Replies View Related

General :: Write A Simple Program C++ To Connect To Mysql Database?

Sep 5, 2010

I'm trying to write a simple program c++ to connect to Mysql database based in my 127.0.0.1 server:

int main (void) {
cout << "33[2J" << "33[0;0f";
MYSQL mysql;
MYSQL *conn;

[code]....

View 2 Replies View Related

General :: Program To Convert Audio File Of Fax Transmission To Image?

Dec 2, 2010

I have a number of uncompressed audio files recorded off of an analog (POTS) telephone line of fax transmissions. Is there a Linux utility or library I could use to convert these files into images of the fax they contain? I'm not looking to send/receive a fax via a modem, but just to "replay" the communications tones and parse out the fax message.I'm guessing this may not be possible due to duplex issues and not knowing which end of the conversation is sending what,but thought I'd ask to see if anyone knew of something.

View 4 Replies View Related

Fedora :: F12 & Internal Floppy Drive - Floppy Formatting No Longer Works?

Dec 13, 2009

Is there something weird about the FLOPPY DRIVE on F12? Nothing associated with it works & I can't get an icon for it. Also the FLOPPY FORMATTER no longer works. (mine is an internal drive)- I had some really miner quirks with it in 10 but it worked. I had some workaround launchers that I used until an upgrade semi-fixed it. (It would give a false error that it couldn't run but did. I just ignored it.)

I tried to edit FSTAB to cure a problem of my BACKUP drive showing up twice*** so while I was in there I added the stuff for the floppy & it still doesn't work. If I try to mount it manually, I get the error that /dev/fd0 doesn't exist.I tried to find some info on it & it SEEMS that there MAY be a bug but I'm not sure as the info is a bit confusing as to just what version & such they are talking about. And there was also the problem that all the stuff seemed to be OLD or not related to my problem.I why I quite hacking at my system, is that all my workaround launchers & the formatter say that there are GNOME things missing & they can't run. So I figure that there is something missing or screwy already & that I'd better ask BEFORE I make things worse or actually break something.With the fact that floppies are about gone, it's getting to be not that big of a deal but I still find myself having to use them for repair purposes (albeit, not as much) & it gets to be a bit of a pain to fire up M$ just to do something like this.

*** It appears that the one in FSTAB was the one I needed, so where would the OTHER one be so I can get rid of it? Or at least make it auto mount.

View 12 Replies View Related

Hardware :: Cant Open A Floppy Disk On Floppy Drive

Jun 7, 2009

error message:Unable to scan Floppy Drive for media changes Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

View 1 Replies View Related

General :: Make A USB Floppy On Another Drive And Use That To Boot The Normal USB Drive?

Feb 27, 2011

I have a USB drive on which I want to install Arch Linux (using the installer, not unetbootin or something similar, as I want the drive to be persistent.) The computer from which I want to boot this USB supports booting from a USB floppy, not a normal drive. Is there any way for me to make a USB floppy on another drive and use that to boot the normal USB drive?

View 2 Replies View Related

Ubuntu :: Write To An Mounted ISO Image?

Apr 9, 2010

Is anyone aware of a way (or a program I can use) to write to an existing ISO image?To set the scene I've used APTonCD to create an ISO with all the programs on I want so that the next time I install Linux Mint (or Ubuntu) I can just put in the CD & install a lot of programs in one go with Package Manager. Thats worked fine & I have the ISO ready for CD but I would like a way to change it a bit so that I can add some of my own custom setup scripts (stuff to set up user accounts & so on) then every thing I need is all on one CD / DVD

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved