Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 17:13:44 +0200
From:      "Martin Svensson" <skydiver@telia.com>
To:        <questions@freebsd.org>
Subject:   Harddrive mount problems!
Message-ID:  <001001c003a6$bdc172c0$0a00a8c0@telia.com>

next in thread | raw e-mail | index | archive | help
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.

<now the computer locks up, stop responding, i have waited for like 15 =
minutes>
-------------------------------------------------------------------------=
------------------------------------------

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:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I moved my harddrive fr=E5n =
being&nbsp;secondary=20
master to primary slave on the motherboard. Both the harddrives is using =
LBA=20
mode in BIOS (award).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-----------------------<FONT =
face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------</FONT></FONT></FONT></FONT></FONT></DIV>=

<DIV><FONT face=3DArial size=3D2>/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING =

CHECKS</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/dev/ad0s1a: Clean, blah =
blah..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ad2: READ&nbsp;command timeout -=20
resetting</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ata1: resetting done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ata-master: WARNING: WAIT-READY=20
active=3DATA_ACTIVE_ATA</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ad2: trying fallback to PIO =
mode</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ata1: resetting devices... =
done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;now the computer locks up, stop =
responding, i=20
have waited for like 15 minutes&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT=
></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>MY /etc/fstab</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-----------------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>#=20
Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
Mountpoint&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FStype&nbsp;=20
Options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<BR><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-----------------------------------------</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When i do 'fdisk /dev/ad1' (which i =
believe to be=20
my secondary slave) i get this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT=
></DIV>
<DIV><FONT face=3DArial size=3D2>mars# fdisk /dev/ad1<BR>******* Working =
on device=20
/dev/ad1 *******<BR>parameters extracted from in-core disklabel=20
are:<BR>cylinders=3D1108 heads=3D255 sectors/track=3D63 (16065 =
blks/cyl)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Figures below won't work with BIOS for =
partitions=20
not in cyl 1<BR>parameters to be used for BIOS calculations=20
are:<BR>cylinders=3D1108 heads=3D255 sectors/track=3D63 (16065 =
blks/cyl)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Media sector size is 512<BR>Warning: =
BIOS sector=20
numbering starts with sector 1<BR>Information from DOS bootblock =
is:<BR>The data=20
for partition 1 is:<BR>sysid =
165,(FreeBSD/NetBSD/386BSD)<BR>&nbsp;&nbsp;&nbsp;=20
start 63, size 17799957 (8691 Meg), flag 80=20
(active)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; beg: cyl 0/ =
sector 1/=20
head 1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end: cyl 1023/ =
sector 63/=20
head 254<BR>The data for partition 2 is:<BR>&lt;UNUSED&gt;<BR>The data =
for=20
partition 3 is:<BR>&lt;UNUSED&gt;<BR>The data for partition 4=20
is:<BR>&lt;UNUSED&gt;<BR>mars#</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------<FONT face=3DArial=20
size=3D2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT=
></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thankyou in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Martin</DIV></FONT></BODY></HTML>

------=_NextPart_000_000D_01C003B7.80DC65C0--



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?001001c003a6$bdc172c0$0a00a8c0>