Article View: comp.os.linux.misc
Article #529Re: Hardisk will not boot
From: John Michael Floyd
Date: Wed, 10 Sep 1997 00:00
Date: Wed, 10 Sep 1997 00:00
59 lines
3158 bytes
3158 bytes
On 9 Sep 1997 06:34:26 GMT, Matt Jenkins <mdj@arcadia.cs.rmit.edu.au> wrote: >Graham Daveney (graham@daveney.matra.com.au) wrote: > >: 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) > >Ok, I assume, then that you have installed LILO on /dev/hda2 > >If not, then where is it installed? > >Most people installed it into the Master Boot Record of their HD. But here >is my recommended course of action: > > >Reset the Boot Flag to /dev/hda1 - this should allow you to boot into >DOS/Win. > >use LOADLIN to get linux up, then, install LILO on, in your case /dev/hda4. > >after that, change the boot flag to boot hda4. > >My reasoning for doing this, is that if windows or dos has to be >reinstalled, windows95 (in particular) likes to rewrite the boot record. > >In using my scheme, LILO is hiding safely on the linux partition which is >invisible to evil Windows. All you have to do then is reset the boot flag. > CAREFUL - As lilo uses the bios to boot you must make sure that your root partition is inside the allowed bios 1024 cylinder limit! This configuration puts it outside this. There is no way round this as it is bios limited not linux! Your main problem is that this will require a complete re-partitioning of your system. A small but useful point is that you only need to create a small root partition (20M is OK) that keeps the kernel images and bin,etc in. Another larger partition located any where on the disk (eg above the 1024 cylinder limit) is then used for all the other parts of the linux file system (multiple partitions for home etc are also a good idea!). Of course you can always revert to solely booting off a floppy but this takes you back to a boot performance matching MS systems! Hope this helps. Cheers John Floyd
Technical Details
Message-ID:
<slrn61e7jb.7b9.jmf@estuary.dlwc.nsw.gov.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5v1qrs$av$1@daveney.matra.com.au> <5v2qli$cre$1@goanna.cs.rmit.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,abaecf1253958bc4 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,abaecf1253958bc4 X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,abaecf1253958bc4 X-Google-Attributes: gidf9b51,public X-Google-Thread: 102b32,abaecf1253958bc4 X-Google-Attributes: gid102b32,public From: jmf@estuary.dlwc.nsw.gov.au (John Michael Floyd) Subject: Re: Hardisk will not boot Date: 1997/09/10 Message-ID: <slrn61e7jb.7b9.jmf@estuary.dlwc.nsw.gov.au> X-Deja-AN: 271421957 References: <5v1qrs$av$1@daveney.matra.com.au> <5v2qli$cre$1@goanna.cs.rmit.edu.au> Reply-To: jfloyd@mothy.mech.uts.edu.au Organization: AUSNet Services Newsgroups: comp.os.linux.misc,aus.computers.linux,comp.os.linux.setup,comp.os.linux.hardware