🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #530

Re: Hardisk will not boot

#530
From: Neil Rickert
Date: Wed, 10 Sep 1997 00:00
48 lines
2785 bytes
In <5v1qrs$av$1@daveney.matra.com.au> graham@daveney.matra.com.au (Graham Daveney) writes:

>The problem is now that I cannot get the hardisk to boot, I can boot both Linux
>and DOS from a floppy. During bootup floppy A: is detected, and after that C:
>should be detected and booted from, but nothing.

>I have performed a dd to zero the first 512 bytes of the two DOS partitions.

>Here is a copy of my fdisk -l command.

>Disk /dev/hda: 16 heads, 63 sectors, 6232 cylinders
>Units = cylinders of 1008 * 512 bytes

>   Device Boot  Begin   Start     End  Blocks   Id  System
>/dev/hda1           1       1     813  409720+   6  DOS 16-bit >=32M
>/dev/hda2   *     814     814    1017  102816    6  DOS 16-bit >=32M
>/dev/hda3        1018    1018    1148   66024   82  Linux swap
>/dev/hda4        1024    1149    6232 2562336   83  Linux native
>Partition 4 does not start on cylinder boundary:
>     phys=(1023, 15, 63) should be (1023, 0, 1)


>Any advice or pointers much appreciated.

 (1) - create a 'BOOT' directory on one of your DOS partitions.  (It
       does not have to be named 'BOOT').
 (2) - Make sure that your DOS partition (the one with the BOOT
       directory) is mounted in linux.  You can do this with an entry
       in '/etc/fstab'.
 (3) - While running linux:
	  cp /boot/*  /DOS/BOOT  ## change the destination to the appopriate name
	  mv /boot /boot.old
	  ln -s /DOS/BOOT /boot  ## again, substitute the appropriate name
				 ## for the DOS directory.
 (4) - copy your linux kernel to the /boot directory (now symlinked
       to the directory in the DOS partition.  This may already have
       been done if you have a redhat system, which puts kernels in
       '/boot'.
 (5) - Edit /etc/lilo.conf.  Make sure that the kernel listed is the
       one in '/boot'.
 (6) - /sbin/lilo
 
Keep a boot floppy handy.  If you ever defrag your DOS partition, LILO
will fail until you rerun '/sbin/lilo'.

The point of all of the above is to keep everything needed during
boot in the first 1023 cylinders.
Technical Details
Message-ID: <5v7j9m$rrs@ux.cs.niu.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5v1qrs$av$1@daveney.matra.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102b32,abaecf1253958bc4
X-Google-Attributes: gid102b32,public
X-Google-Thread: f9b51,abaecf1253958bc4
X-Google-Attributes: gidf9b51,public
X-Google-Thread: 1103af,abaecf1253958bc4
X-Google-Attributes: gid1103af,public
X-Google-Thread: 102983,abaecf1253958bc4
X-Google-Attributes: gid102983,public
From: rickert@cs.niu.edu (Neil Rickert)
Subject: Re: Hardisk will not boot
Date: 1997/09/10
Message-ID: <5v7j9m$rrs@ux.cs.niu.edu>
X-Deja-AN: 271466098
References: <5v1qrs$av$1@daveney.matra.com.au>
Organization: Northern Illinois University
Newsgroups: comp.os.linux.misc,aus.computers.linux,comp.os.linux.setup,comp.os.linux.hardware