View Single Post
  #1   (View Single Post)  
Old 26th October 2009
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default Upgrade 7.2 to 8.0RC1 (2nd HDD lost etc..)

Hi! Upgraded using freebsd-update

After booting to 8.0 i got stopped to Single-user mode because could not mount my another HDD which was working under 7.2. Modifying fstab helped to get past but how can i mount it again because thereĀ“s no slices listed anymore in /dev just ad0 and ad0a.

Code:
crw-r-----  1 root      operator    0,  75 Oct 25 00:38 acd0
crw-r--r--  1 root      wheel       0,  34 Oct 25 00:38 acpi
crw-r-----  1 root      operator    0,  73 Oct 25 01:39 ad0
crw-r-----  1 root      operator    0,  76 Oct 25 01:39 ad0a
crw-r-----  1 root      operator    0,  74 Oct 25 00:38 ad2
crw-r-----  1 root      operator    0,  77 Oct 25 00:38 ad2s1
crw-r-----  1 root      operator    0,  78 Oct 25 03:38 ad2s1a
crw-r-----  1 root      operator    0,  79 Oct 25 00:38 ad2s1b
crw-r-----  1 root      operator    0,  80 Oct 25 03:38 ad2s1d
crw-r-----  1 root      operator    0,  81 Oct 25 03:38 ad2s1e
crw-r-----  1 root      operator    0,  82 Oct 25 03:38 ad2s1f
crw-------  1 root      operator    0,  33 Oct 25 00:38 ata
crw-------  1 root      wheel       0,  35 Oct 25 00:38 atkbd0
Fdisk on both drives

Code:
bsdkone# fdisk ad0
******* Working on device ad0 *******
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 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 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 312581745 (152627 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 852/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

bsdkone# fdisk ad2
******* Working on device ad2 *******
parameters extracted from in-core disklabel are:
cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=77545 heads=16 sectors/track=63 (1008 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 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 78156162 (38162 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
bsdkone#
__________________
SpreadBsd

Last edited by Calderon; 27th October 2009 at 11:05 AM. Reason: Title
Reply With Quote