[96141] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: dd and boot.img

daemon@ATHENA.MIT.EDU (Mark McGlone)
Sat Oct 24 14:53:31 1998

From: Mark McGlone <dmcglon1@san.rr.com>
To: redhat-list@redhat.com
Date: Sat, 24 Oct 1998 11:47:24 -0700
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

You wrote:
>
>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.
>
>Jim
>jimk@echonyc.com


To make a boot disk, all I ever do is format a disk
	fdformat /dev/fd0H1440
but don't put the ext2 filesystem on it, nor do you
need to mount it. Then copy your kernel to the disk
like this 
	dd if=/boot/vmlinuz of=/dev/fd0 bs=8192
Of course replace vmlinuz with whatever your kernel
is named as. Also you want to be sure it points to
your correct root device with the rdev command. (Though
it should already)

	rdev /boot/vmlinuz



Hope this helps

Mark McGlone
dmcglon1@san.rr.com


-- 
  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.


home help back first fref pref prev next nref lref last post