Solved

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

Posted on 1997-07-29
1
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

691 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