|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|
||||
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 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 |
|
|||
*update Nov 2009* post below...
If there is any consolation, I failed to install a _8 snapshot (aug 13 I think) to a sata-on-pci, sysinstall failed to find the fs-or-partition to install to, and one of the sysinstall disk pages had nothing at the top to choose from. Despite I had put "165/A5h: BSD" on it with Bootit. Not persuing it further since I upgraded the principal (non-sata ) disk to 8-stable already.
__________________
FreeBSD 13-STABLE Last edited by jb_daefo; 5th November 2009 at 02:47 AM. Reason: spelling; update; |
|
||||
moved.
__________________
SpreadBsd Last edited by Calderon; 27th October 2009 at 12:15 PM. Reason: moved |
|
||||
I tried to recompile the kernel with removing
"options GEOM_PART_GPT" and added "options GEOM_BSD" and "options GEOM_MBR" Now my dev looks like Code:
bsdkone# ls -l total 2 crw-r----- 1 root operator 0, 75 Oct 28 11:22 acd0 crw-r--r-- 1 root wheel 0, 34 Oct 28 11:22 acpi crw-r----- 1 root operator 0, 73 Oct 28 11:22 ad0 crw-r----- 1 root operator 0, 76 Oct 28 11:25 ad0a crw-r----- 1 root operator 0, 76 Oct 28 11:25 ad0a crw-r----- 1 root operator 0, 97 Oct 28 11:25 ad0as1 crw-r----- 1 root operator 0, 97 Oct 28 11:25 ad0as1 crw-r----- 1 root operator 0, 97 Oct 28 11:25 ad0as1 crw-r----- 1 root operator 0, 79 Oct 28 11:25 ad0c crw-r----- 1 root operator 0, 103 Oct 28 11:25 ad0ca crw-r----- 1 root operator 0, 105 Oct 28 11:25 ad0cas1 crw-r----- 1 root operator 0, 102 Oct 28 11:25 ad0cs1 crw-r----- 1 root operator 0, 84 Oct 28 11:25 ad0s1 crw-r----- 1 root operator 0, 74 Oct 28 11:22 ad2 crw-r----- 1 root operator 0, 80 Oct 28 11:22 ad2s1 crw-r----- 1 root operator 0, 87 Oct 28 13:22 ad2s1a crw-r----- 1 root operator 0, 88 Oct 28 11:22 ad2s1b crw-r----- 1 root operator 0, 89 Oct 28 11:22 ad2s1c crw-r----- 1 root operator 0, 116 Oct 28 11:22 ad2s1ca crw-r----- 1 root operator 0, 117 Oct 28 11:22 ad2s1cb crw-r----- 1 root operator 0, 118 Oct 28 11:22 ad2s1cd crw-r----- 1 root operator 0, 119 Oct 28 11:22 ad2s1ce crw-r----- 1 root operator 0, 120 Oct 28 11:22 ad2s1cf crw-r----- 1 root operator 0, 90 Oct 28 13:22 ad2s1d crw-r----- 1 root operator 0, 91 Oct 28 13:22 ad2s1e crw-r----- 1 root operator 0, 92 Oct 28 13:22 ad2s1f crw------- 1 root operator 0, 33 Oct 28 11:22 ata crw------- 1 root wheel 0, 35 Oct 28 11:22 atkbd0 Code:
bsdkone# mount -t ufs /dev/ad0cs1 /kakkonen mount: /dev/ad0cs1 : Invalid argument bsdkone#
__________________
SpreadBsd |
|
||||
I don´t know what, but something seemed to go wrong after update.
Maybe it´s because the disc was not formatted in dedicated mode or something. Anyway i decided to Zero fill the disc and make the one slice on entire disc. weighting between the data on disc and the work to get that data back (personal only) it´s not impossible to start from scratch. Also i recommend myself to explore some of the disktools some more and learn even more about drives in BSD.
__________________
SpreadBsd |
|
|||
/edit, today, of this post/
bsd v8 STABLE Some> Much progress on this end of the problem. I have a SATA which had 2 partitions, empty space, but neither partition (was) seen in /dev. One or more of the following resulted in *many* (some short, some long, some inbetween...) (roughly three times that number quoted below, for one drive...) /dev entries for the drive, but I can mount the existing fat32 one, none of the other 20 or so match the 2nd, bsd, partition. (maybe no bsdlabel ?) YES. NO BSDLABEL YET. Code:
kldload geom_label.ko kldload geom_bsd.ko kldload geom_mbr.ko # all _8 partitions) with Fdisk, and nothing mounts (maybe no disklabel yet, but I intended to skip that to gmirror them maybe first...) If I have time to fix the "mount ufs" problem with bsdlabel, maybe I will re-edit this *beta* post. /edit/. Reading, I learned the 'a' are labels. Deduced the ad10s2 ad10s3 and ad10s4 were the 3 bsd fdisk'd partitions. bsdlabelled them... Code:
bsdlabel -w /dev/ad10s[2,3,4] Still learning... BTW SORRY for the no complete-writeup. Never any time, not enough knowledge, .... Something for a future version of bsd to "fix" with more-verbose /dev entries maybe... then one would only have to operate on half of them in trial-and-error... /edit: ending in "a" means is a label/ Quote:
__________________
FreeBSD 13-STABLE Last edited by jb_daefo; 5th November 2009 at 02:54 AM. Reason: learned something, fixed something. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
hal and lost interupt | shep | NetBSD General | 1 | 23rd October 2009 07:12 AM |
ext2 lost+found | gosha | General Hardware | 0 | 21st June 2009 01:32 PM |
vr0: rx packet lost | tutosun | FreeBSD General | 4 | 13th September 2008 10:13 AM |
Lost posts | graudeejs | Feedback and Suggestions | 5 | 3rd August 2008 02:59 PM |
pfsense wireless AP - lost packets | AndreyS | FreeBSD General | 0 | 7th June 2008 05:38 PM |