Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 1998 14:43:02 +0100
From:      "David Larkin" <David.Larkin@DJL.co.uk>
To:        <FreeBSD-questions@FreeBSD.ORG>
Subject:   Is FreeBSD still on disk ? How to boot :- Booting Default: F? 
Message-ID:  <199808101340.GAA12009@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
First, apologies to any subscribers to FeeeBSD-hackers,
who may have already seen a very similar question, 
which I posted there last week. However, judging by the 
content of that list, I guess that this FreeBSD-questions 
list may be a more appropriate forum.

Can anyone advise me if my system is repairable ?

I was running FreeBSD 2.2.5 and W95 happily on my machine.
wd0 contained W95, and wd1 contained FreeBSD
Suddenly while running W95, everything went "pop" and I wasn't
able to boot either.
So, booting from floppy, using the "fixit" option, and running 
fdisk I get the following :-
 
fdisk wd0
*** working on device /dev/rwd0 ***
parameters extracted from in-core disklabel are:
cylinders=4095 heads=16 sectors/track=63 1008 blks/cyl)
Figure below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4095 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information for partition 1 is:
<UNUSED>
Information for partition 2 is:
<UNUSED>
Information for partition 3 is:
<UNUSED>
Information for partition 4 is:
<UNUSED>
 
fdisk wd1
*** working on device /dev/rwd1 ***
parameters extracted from in-core disklabel are:
cylinders=4095 heads=16 sectors/track=63 1008 blks/cyl)
Figure below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4095 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information for partition 1 is:
sysid 128, (Minix 1.1 ....... 1.4a)
    start -61531, size 63 (0 Meg), flag 0
      beg: cyl 0/ sector 0/ head0;
      end: cyl 0/  sector 1/  head1;
Information for partition 2 is:
sysid 0,(unused)
      start 0, size 0 (0 Meg), flag d1
         beg:  cyl 0/ sector 62/ head 251;
         end:  cyl 0/ sector 0/  head 0
Information for partition 3 is:
<UNUSED>
Information for partition 4 is:
sysid 165, (FreeBSD/NetBSD/386BSD)
     start 1, size 4127759 (2015 Meg), flag 80
        beg: cyl 0/ sector 2/ head 0;
        end: cyl 1022/ sector 63/ head 15

My understanding of the above is limited, but I get the 
impression that my W95 (wd0) installation is gone, but my
FreeBSD is still there in slice 4 of wd1.

Based on the above information, can anyone confirm that 
my FreeBSD installation is still there, and that the challenge
is how to boot it.

I  wrote a boot manager to the first disk (wd0), and now when I 
boot I get the following

F5 .... disk 2
Default: F5
F5 .... disk 2
Default: F?

Alternatively, would anyone like to suggest that the system
is lost, and a fresh installation is required. 

Any advice on how to proceed, or where appropriate 
documentation may be found would be appreciated.

David Larkin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808101340.GAA12009>