Solved

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

Posted on 1997-07-29
1
398 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
ID: 1628925
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

856 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