[96140] in RedHat Linux List
RE: dd and boot.img
daemon@ATHENA.MIT.EDU (Tim Moloney)
Sat Oct 24 14:45:20 1998
In-Reply-To: <36321A59.763084AD@echonyc.com>
Date: Sat, 24 Oct 1998 14:41:30 -0400 (EDT)
From: Tim Moloney <moloney@netsrq.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On 24-Oct-98 Jim Kannengieser wrote:
>Hi, folks. Sorry to bother you all with this, but I am having a bit of a
>problem. My Red Hat 5.1 boot disk no longer works. When I try to boot my
>system with it to perform an installation, it says "boot failed." My Red
>Hat 5.0 disk works well, but I'd rather install 5.1. On another system,
>I tried using dd to make a boot disk from the boot.img file on the 5.1
>cd-rom, but that doesn't seem to be working correctly. Here's what I've
>been doing. If someone could, please tell me what I've been doing
>incorrectly.
I've never made a boot disk but I've successfully made a supplimental
disk.
>1. Insert a floppy into floppy drive and type:
> mkfs.ext2 /dev/fd0
You don't need to do this.
>2. Mount the floppy
You don't need to do this.
>3. Mount the Red Hat 5.1 cd, cd to the images directory and type:
> dd if=boot.img of=/mnt/floppy/boot.img
Close but it should be:
dd if=boot.img of=/dev/fd0
>At this point, the following message appears:
> dd: /mnt/floppy/boot.img: No space left on device
> 2741+0 records in
> 2740+0 records out
You have a file system on the disk which takes some space so there
is not enough room. The reason why you don't need to create a file
system and mount the disk is because the dd command can write to the
"raw" floppy device and create everything that is needed on it.
>The boot disk doesn't work at all, and I'm not sure what is wrong with
>my approach. Does anyone know how to make a boot disk from the boot.img
>file correctly?
>
>Thanks in advance for your assistance.
No problem. =)
_____ ___ ___ ___
(_ _)( )( \/ ) Tim Moloney Think of something
) ( ) ( ) ( moloney@netsrq.com witty and imagine it
(___) (___)(__)\/(__) Sarasota, Florida was written here.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.