Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 1995 00:31:09 -0800 (PST)
From:      Julian Elischer <julian@ref.tfs.com>
To:        jmb@freebsd.org (Jonathan M. Bresler)
Cc:        questions@freebsd.org
Subject:   Re: [Q] recovering 1.1.5.1 disk
Message-ID:  <199512040831.AAA04572@ref.tfs.com>
In-Reply-To: <Pine.BSF.3.91.951203125613.4567B-100000@Aspen.Woc.Atinc.COM> from "Jonathan M. Bresler" at Dec 3, 95 01:04:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
 you need to know which sector on the disk the old FreeBSD partition
started on..
and use fdisk -u (not -i) to adjust your start
block first, to 0 then 1 then 64
each time, reboot, and then do a disklabel sd1 to see if it finds anything..

If it aint one of those, you'll need to search for the disklabel..
(it has magic numbers in it so it can be found..)
and fdisk -u used to adjust..





> 
> 
> i installed 2.1.0-RELEASE using the boot floppy to install to sd1
> (imprimis drive).  1.1.5.1 was on sd0 (seagate drive).  after the install,
> i tried to boot to sd0 (the 1.1.5.1 disk).  'no bootable partition'.  the
> FreeBSD partition is gone.  it was the only partition on the disk. 
> 
> i was able to recreate the disk partition using 'fdisk -iu'.   but the 
> disklabel is not found:
> 
> keystone: [3] disklabel sd1
> disklabel: ioctl DIOCGDINFO: Invalid argument
> 
> how do i recover the disk without resorting to a full install and restore 
> from tape??
> 
> here is the dmesg from the 2.1.0-RELEASE system (i switched the disks, 
> imprimis is now sd0)
> 
>     jmb@keystone.woc.atinc.com:/usr/src/sys/compile/KEYSTONE
> CPU: i486DX (486-class CPU)
> real memory  = 16777216 (16384K bytes)
> avail memory = 14970880 (14620K bytes)
> Probing for devices on the ISA bus:
> sc0 at 0x60-0x6f irq 1 on motherboard
> sc0: VGA color <16 virtual consoles, flags=0x0>
> ed0 not found at 0x280
> sio0 at 0x3f8-0x3ff irq 4 on isa
> sio0: type 16550A
> sio1 at 0x2f8-0x2ff irq 3 on isa
> sio1: type 16550A
> lpt0 at 0x378-0x37f irq 7 on isa
> lpt0: Interrupt-driven port
> lp0: TCP/IP capable interface
> psm0 at 0x60-0x63 irq 12 on motherboard
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fdc0: NEC 72065B
> fd0: 1.44MB 3.5in
> fd1: 1.2MB 5.25in
> wdc0 not found at 0x1f0
> aha0 at 0x330-0x333 irq 11 drq 5 on isa
> aha0 waiting for scsi devices to settle
> (aha0:0:0): "IMPRIMIS 94601-15 1250" type 0 fixed SCSI 1
> sd0(aha0:0:0): Direct-Access 989MB (2026965 512 byte sectors)
> (aha0:1:0): "SEAGATE ST3655N 9550" type 0 fixed SCSI 2
> sd1(aha0:1:0): Direct-Access 520MB (1065036 512 byte sectors)
> (aha0:4:0): "EXABYTE EXB-85058SQANXR1 06S1" type 1 removable SCSI 2
> st0(aha0:4:0): Sequential-Access density code 0x0,  drive empty
> 1 3C5x9 board(s) on ISA found at 0x340
> ep0 at 0x340-0x34f irq 10 on isa
> ep0: aui/utp[*UTP*] address 00:60:8c:be:f9:0e irq 10
> npx0 on motherboard
> npx0: INT 16 interface
> sd1: cannot find label (no disk label)
> 
> 
> Jonathan M. Bresler        FreeBSD Postmaster         jmb@FreeBSD.ORG
> play go. ride bike. hack FreeBSD.--ah the good life 
> i am moving to a new job.                 PLEASE USE: jmb@FreeBSD.ORG
> 
> 




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