[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: dd and boot.img
- From: Alexei Nefediev <nefediev heron itep ru>
- To: redhat-list redhat com
- Subject: Re: dd and boot.img
- Date: Sat, 24 Oct 1998 23:09:24 +0300 (MSK)
> >
> >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
>
I guess there is no need to format the floppy. dd command does not care
what is on the floppy. It just copies the image to it one to one.
I agree that putting kernel to the floppy is much more wise than using
.img file for this. But what for is this bootable floppy needed? To be
used when LILO crashes, or to fix the filesystem? In the latter case I
would advise using boot and root floppies from Slackware distribution.
Alexei
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]