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


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 :: 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 :: 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 View Related

General :: Make `cp` Choose No When Prompted To Overwrite?

Jun 17, 2011

I have a list of files that I am copying around for various purposes. What my current command looks similar to this:cat list_of_files | xargs -I {} /bin/cp -f {} /destination/dirI am using the full path to cp so that the default alias of cp -i does not take effect. However, when I find a duplicate file, it is overwriting any that have already been copied. What I would like to do is to force cp to not overwrite and not prompt.

View 2 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

General :: Possible To Make Bootable Floppy To Run New OS

Sep 7, 2010

i have been doing a house clearance and come across an old laptop nothing special but its old running windows 95 i think any way i have used dsl b4 as a bak up incase my pc went dawn haw do i get rid of windows and run dsl on this laptop as it only has a floppy drive and a 2.5 gig hard drive its a relik i know this but instead of throwing it away i thout that putting dsl on it i could make a web browser out of it just for fun is it possable to make a bootable floppy to run the new os on the laptop.

View 5 Replies View Related

General :: Possible To Make Bootable Floppy Disk With PLOP?

Jan 4, 2010

For old machines, is this bootmanager plop floppy disk exists? [URL]

View 1 Replies View Related

Software :: Overwrite Same Input File Image

Mar 18, 2011

Code:
dd bs=8192 if=Image of=/dev/PS0
In the above command, I cant able to understand the option "of=/dev/PS0"

Whether it means,
1) to write the input file "Image" in to "/dev/PS0" of the Floppy device
or
2) to overwrite the same input file "Image" in a file format ("/dev/PS0") of Floppy.

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

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

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

Fedora :: Make Mkdir Silently Overwrite Any Existent Directory?

Feb 19, 2010

I am working on a bash script which among its operations creates directories using the mkdir command. However, when the directory already exists mkdir mentions that in the command line output.

Is there any way I can make mkdir silently overwrite any existent directory? (no messages in the output). For the same price, could it be done with other commands such as cp or mv?

View 3 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

General :: Best To Make A Image Of Backup?

Mar 3, 2010

What is best to make a image or a backup.
Whit what for program.
By a image form what partion do i have to make a image.
By backup what directory to backup.

so that when by linux is corrupt i can do a reinstall.

View 7 Replies View Related

General :: How To Make CD Image From Installed OS

Dec 23, 2010

I have recently upgraded RHEL 4.8 to RHEL 4.9 Beta.Since 4.9 ISO are unavailable and has to be fetched through update from RHEL 4.8.Can I anyhow create ISO of RHEL 4.9 Beta?Why Beta..becoz my team test pre-releases too.

View 1 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 :: Make A Mountable Image Of Directories?

Sep 22, 2010

I have a couple of directories that I want to turn into an image. For example:

Quote:

/usr/dir1
/usr/dir2

I want to end up with two imgs (dir1.img and dir2.img). I wanna be able to type in:

Quote:

mkdir /usr/dir1
mount dir1.img /usr/dir1

How can I do that? If I can't use mount than what should I use?

View 3 Replies View Related

OpenSUSE Hardware :: Can't Make Floppy Drive Read Disc Automatically

Oct 24, 2010

Not sure if anyone uses floppy drives anymore much. I know that most machines don't come with them anymore unless you ask for one.One of my machines [Machine # 2] has a floppy and I have never had the occaision to use it under linux [opensuse 11.2 currently]. Until now that is! I have about 30 floppies that I need to transfer the data from. I am able to mount the floppy drive and take data off the currently inserted floppy, but if I want to insert another floppy and remove the data from it, I must unmount and remount the floppy everytime. There is an entry in fstab:

/dev/fd0 /media/floppy auto noauto,user 0 0

and a mount point in media [/media/floppy] Is there something else I need to have in the fstab line for the floppy so that it will read automatically everytime I insert a disk?

View 8 Replies View Related

General :: Extract Cloned Image From Hdd Make Live-cd

Dec 22, 2010

I recently used clonezilla to make a backup image of hdd, before doing factory restore, now the image is of not necessary as I can image the restored computer (Acer Aspire 3620).Is it possible to extract image to blu-ray and make bootable as in live-cd?

View 8 Replies View Related

General :: Possible Too Use DD Command To Make Image File Of Blackberry 8330?

Feb 26, 2010

i was wondering if it is possible too use the DD command to make an image file of my blackberry 8330?i need it of the onboard memory and not the external memory card.

View 1 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

General :: Best Script To Have Rsync Make Image File Of Hard Drive

May 9, 2011

I have never used rsync before, only DD. But from what I have been reading, rsync is better becasue it will basically mirror your hard drive, thus being able to run the cloned software from the new hard drive. My problem is I do not know what is the best commands or even the basic commands to use in rsync. I am trying to make an image from a external hard drive to a usb drive. That way my chances of messing up he original software is not as risky becasue I'll just restore the image onto another hard drive. Does anyone know the best script to have rsync make an image file of a hard drive and place it on a usb drive and then restore it?

View 8 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 :: Cp + Not Want To Overwrite Permissions?

May 26, 2011

How to use cp command without to overwrite target file permissionsFor examplecp /tmp/file /home/fileI dont want to change chown and chgrp on /home/file

View 2 Replies View Related

General :: Why 'cannot Overwrite Existing File'

Mar 8, 2011

I try to write to a file "date > file" but Linux says 'cannot overwrite existing file'. I tried chmod 755 but still cannot write to the file. What should I do?

View 2 Replies View Related

General :: Command To Overwrite A Directory?

Jan 18, 2010

there's a command to overwrite a directory.

View 6 Replies View Related

General :: Cannot Overwrite The Existing Files

Apr 15, 2011

I run a command in a Linux terminal, the result was written to the desied folder. After I modified the command and rerun it. The old files are still there and not overwritten at all. Only it is successfull after I deleted the old files and run the command.

View 3 Replies View Related

General :: OS Overwrite Unmounted Data?

Feb 22, 2011

I have a Debian OS installed (6.0), installed on a single partition, which was running out of space. So I copied all the data in /home to a spare partition, then edited fstab to mount this new partition as /home.

This works fine. But now of course I have the /home data both on the new partition (the one that is now being mounted and used), and also still on the original partition, though this directory is no longer mounted by the OS, so I can't directly 'get at' the data to delete it.

I could easily get into the partition from another OS and delete the unneeded /home data of course but I was just wondering; as this data is no longer 'seen' by the OS, will it be overwritten automatically by the OS when it needs more space, as it does with data that has been deleted from the filesystem, or would it be reserved somehow, still using up space?

View 6 Replies View Related

General :: Bootloader Will Overwrite - Fedora 13 With Windows 7

Aug 24, 2010

I have problem with bootloader , mean to say , after installing fedora 13 my windows 7 bootloader will overwrite, and when i install windows7 boot loader my fedora 13 bootloader will overwrite vice versa

View 7 Replies View Related







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