From owner-freebsd-questions Fri Aug 11 8:11:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from d1o908.telia.com (d1o908.telia.com [213.64.0.241]) by hub.freebsd.org (Postfix) with ESMTP id 822F137B5B2 for ; Fri, 11 Aug 2000 08:11:02 -0700 (PDT) (envelope-from skydiver@telia.com) Received: from venus (h200n3fls20o908.telia.com [213.64.151.200]) by d1o908.telia.com (8.8.8/8.8.8) with SMTP id RAA24233 for ; Fri, 11 Aug 2000 17:10:59 +0200 (CEST) Message-ID: <001001c003a6$bdc172c0$0a00a8c0@telia.com> From: "Martin Svensson" To: Subject: Harddrive mount problems! Date: Fri, 11 Aug 2000 17:13:44 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C003B7.80DC65C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C003B7.80DC65C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello! I moved my harddrive fr=E5n being secondary master to primary slave on = the motherboard. Both the harddrives is using LBA mode in BIOS (award). No i am not sure what my harddrive is called. This is what my previous = /etc/fstab looked like. But the /home directory was not commented out, i = did this now because it doesn't work when i boot. I get this error = message when i boot. -------------------------------------------------------------------------= ------------------------------------------ /dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/ad0s1a: Clean, blah blah.. ad2: READ command timeout - resetting ata1: resetting done. ata-master: WARNING: WAIT-READY active=3DATA_ACTIVE_ATA ad2: trying fallback to PIO mode ata1: resetting devices... done. -------------------------------------------------------------------------= ------------------------------------------ MY /etc/fstab -------------------------------------------------------------------------= -------------------------------- # Device Mountpoint FStype Options Dump = Pass# /dev/ad0s1b none swap sw 0 = 0 /dev/ad0s1a / ufs rw 1 = 1 #/dev/ad1s1e /home ufs rw 2 = 2 /dev/ad0s1f /usr ufs rw 2 = 2 /dev/ad0s1e /var ufs rw 2 = 2 #/dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 = 0 -------------------------------------------------------------------------= -------------------------------- When i do 'fdisk /dev/ad1' (which i believe to be my secondary slave) i = get this: -------------------------------------------------------------------------= ------------------------------------------ mars# fdisk /dev/ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=3D1108 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3D1108 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 17799957 (8691 Meg), flag 80 (active) beg: cyl 0/ sector 1/ head 1; end: cyl 1023/ sector 63/ head 254 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: mars# -------------------------------------------------------------------------= ------------------------------------------ Like i said before, in BIOS my harddrives are in LBA mode, i = autodetected then in bios. Please help me get back my /home partition, I = got some useful information there. Thankyou in advance Martin ------=_NextPart_000_000D_01C003B7.80DC65C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello!
 
I moved my harddrive fr=E5n = being secondary=20 master to primary slave on the motherboard. Both the harddrives is using = LBA=20 mode in BIOS (award).
 
No i am not sure what my harddrive is = called. This=20 is what my previous /etc/fstab looked like. But the /home directory was = not=20 commented out, i did this now because it doesn't work when i boot. I get = this=20 error message when i boot.
 
-------------------------------------------------------------------------------------------------------------------
=
/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING = CHECKS
/dev/ad0s1a: Clean, blah = blah..
 
ad2: READ command timeout -=20 resetting
ata1: resetting done.
 
ata-master: WARNING: WAIT-READY=20 active=3DATA_ACTIVE_ATA
ad2: trying fallback to PIO = mode
ata1: resetting devices... = done.
 
<now the computer locks up, stop = responding, i=20 have waited for like 15 minutes>
-------------------------------------------------------------------------------------------------------------------
 
MY /etc/fstab
----------------------------------------------------------------= -----------------------------------------
#=20 Device           &= nbsp;   =20 Mountpoint      FStype =20 Options         = Dump   =20 Pass#
/dev/ad0s1b         = ;   =20 none           =20 swap   =20 sw            = ; =20 0      =20 0
/dev/ad0s1a         &nb= sp;  =20 /            =   =20 ufs    =20 rw            = ; =20 1      =20 1
#/dev/ad1s1e         &n= bsp; =20 /home          =20 ufs    =20 rw            = ; =20 2      =20 2
/dev/ad0s1f         &nb= sp;  =20 /usr           =20 ufs    =20 rw            = ; =20 2      =20 2
/dev/ad0s1e         &nb= sp;  =20 /var           =20 ufs    =20 rw            = ; =20 2      =20 2
#/dev/acd0c         &nb= sp;  =20 /cdrom  cd9660  ro,noauto      =20 0      =20 0
proc          &nbs= p;        =20 /proc           = procfs =20 rw            = ; =20 0       0
----------------------------------------------------------------= -----------------------------------------
 
When i do 'fdisk /dev/ad1' (which i = believe to be=20 my secondary slave) i get this:
 
-------------------------------------------------------------------------------------------------------------------
mars# fdisk /dev/ad1
******* Working = on device=20 /dev/ad1 *******
parameters extracted from in-core disklabel=20 are:
cylinders=3D1108 heads=3D255 sectors/track=3D63 (16065 = blks/cyl)
 
Figures below won't work with BIOS for = partitions=20 not in cyl 1
parameters to be used for BIOS calculations=20 are:
cylinders=3D1108 heads=3D255 sectors/track=3D63 (16065 = blks/cyl)
 
Media sector size is 512
Warning: = BIOS sector=20 numbering starts with sector 1
Information from DOS bootblock = is:
The data=20 for partition 1 is:
sysid = 165,(FreeBSD/NetBSD/386BSD)
   =20 start 63, size 17799957 (8691 Meg), flag 80=20 (active)
        beg: cyl 0/ = sector 1/=20 head 1;
        end: cyl 1023/ = sector 63/=20 head 254
The data for partition 2 is:
<UNUSED>
The data = for=20 partition 3 is:
<UNUSED>
The data for partition 4=20 is:
<UNUSED>
mars#
-------------------------------------------------------------------------------------------------------------------
 
Like i said before, in BIOS my = harddrives are in=20 LBA mode, i autodetected then in bios. Please help me get back my /home=20 partition, I got some useful information there.
 
 
Thankyou in advance
 
Martin
------=_NextPart_000_000D_01C003B7.80DC65C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message