Solved

boot sector of /mnt/dev/fd0 does not have a boot signature

Posted on 1997-07-29
1
388 Views
Last Modified: 2013-12-15
Hi,

I'm having very bad troubles with the installation of red hat linux 4.1
I used the boot disk and the CD to install everything and it went fine,
but only the creation of a bootdisk didn't work. It asked me where to put
lilo, and then it said "error". So I booted linux with the bootdisk with
"rescue" and tried to create a bootdisk by typing the folowing:
      * mount -t ext2 /dev/sda4 /mnt
      * fdformat /mnt/dev/fd0H1440
      * mkfs.minix /mnt/dev/fd0 1440
      * mkdir /flop
      * mount /mnt/dev/fd0 /flop            --> didn't work -> "invalid argument"
         and
      * mount -t ext2 /mnt/dev/fd0 /flop      --> didn't work eather -> "invalid argument"
*      * cp -p /mnt/boot/chain.b /flop            --> couldn't do that !
      * lilo -C /mnt/etc/lilo.conf -U /mnt/dev/fd0
            --> "boot sector of /mnt/dev/fd0 does not have a boot signature"

While trying this, someway the devices fd0 and fd0h1440 disappeared.
My question is of course: how do I restore these devices and how do I boot
Linux ?

Additional information:
I have a 486 DX2/66 with 8MB of RAM and an Adaptec scsi card with a scsi
6x cdrom drive and a harddisk of 3GB with 1 primary partition of 1Gb,
1 extended partition of 1,7 GB (divided in 5 logical partitions) and 1 last
extended partition of 300MB where I'd like to install Linux.

Thank you very much, and sorry for my bad English,

Tom Francart
Leuven, Belgium, Europe
TomFrancart@rocketmail.com
0
Comment
Question by:tomfrancart
1 Comment
 
LVL 1

Accepted Solution

by:
MikeCrist earned 100 total points
Comment Utility
First off, you made the minix filesystem on the floppy, then tried to mount it as ext2:
mount /mnt/dev/fd0 /flop --> didn't work -> "invalid argument"
mount -t ext2 /mnt/dev/fd0 /flop --> didn't work eather -> "invalid argument"

The statement should have been:
mount -t minix /mnt/dev/fd0 /flop

As for fd0 and fd0H1440, the proper major/minor numbers are as follows:
2/0, block device
2/28, block device

So to create them, you would use:
mknod fd0 b 2 0
mknod fd0H1440 b 2 28

Also, Linux cannot be install after cylinder 1023 on the drive.  I also don't believe LILO can boot an extended partition.  So it would not be wise to put Linux on the last 300 MB of an extended partition.  What you can do is have a small (10 Mb or so) primary partition on a drive, and have the extended partition mounted in /, with /boot on the 10 Mb primary partition.  Good Luck

Mike Crist
mike@mwaz.com

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now