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
[-- Attachment #1 --]
Hello!
I moved my harddrive från 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=ATA_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=1108 heads=255 sectors/track=63 (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=1108 heads=255 sectors/track=63 (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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I moved my harddrive från being secondary
master to primary slave on the motherboard. Both the harddrives is using LBA
mode in BIOS (award).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING
CHECKS</FONT></DIV>
<DIV><FONT face=Arial size=2>/dev/ad0s1a: Clean, blah blah..</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>ad2: READ command timeout -
resetting</FONT></DIV>
<DIV><FONT face=Arial size=2>ata1: resetting done.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>ata-master: WARNING: WAIT-READY
active=ATA_ACTIVE_ATA</FONT></DIV>
<DIV><FONT face=Arial size=2>ad2: trying fallback to PIO mode</FONT></DIV>
<DIV><FONT face=Arial size=2>ata1: resetting devices... done.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><now the computer locks up, stop responding, i
have waited for like 15 minutes></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>MY /etc/fstab</FONT></DIV>
<DIV><FONT face=Arial
size=2>---------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>#
Device
Mountpoint FStype
Options Dump
Pass#<BR>/dev/ad0s1b
none
swap
sw
0
0<BR>/dev/ad0s1a
/
ufs
rw
1
1<BR>#/dev/ad1s1e
/home
ufs
rw
2
2<BR>/dev/ad0s1f
/usr
ufs
rw
2
2<BR>/dev/ad0s1e
/var
ufs
rw
2
2<BR>#/dev/acd0c
/cdrom cd9660 ro,noauto
0
0<BR>proc
/proc procfs
rw
0 0<BR><FONT face=Arial
size=2>---------------------------------------------------------------------------------------------------------</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When i do 'fdisk /dev/ad1' (which i believe to be
my secondary slave) i get this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>mars# fdisk /dev/ad1<BR>******* Working on device
/dev/ad1 *******<BR>parameters extracted from in-core disklabel
are:<BR>cylinders=1108 heads=255 sectors/track=63 (16065 blks/cyl)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Figures below won't work with BIOS for partitions
not in cyl 1<BR>parameters to be used for BIOS calculations
are:<BR>cylinders=1108 heads=255 sectors/track=63 (16065 blks/cyl)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Media sector size is 512<BR>Warning: BIOS sector
numbering starts with sector 1<BR>Information from DOS bootblock is:<BR>The data
for partition 1 is:<BR>sysid 165,(FreeBSD/NetBSD/386BSD)<BR>
start 63, size 17799957 (8691 Meg), flag 80
(active)<BR> beg: cyl 0/ sector 1/
head 1;<BR> end: cyl 1023/ sector 63/
head 254<BR>The data for partition 2 is:<BR><UNUSED><BR>The data for
partition 3 is:<BR><UNUSED><BR>The data for partition 4
is:<BR><UNUSED><BR>mars#</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------<FONT face=Arial
size=2>-----------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thankyou in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Martin</DIV></FONT></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c003a6$bdc172c0$0a00a8c0>
