Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 1995 18:11:02 +0200 (WET)
From:      Yuri Gindin <aerygis@aerodyne.technion.ac.il>
To:        freebsd-questions@freebsd.org
Subject:   How to label the rest of the disk ?
Message-ID:  <Pine.A32.3.91.950804180204.44510A-100000@aerodyne.technion.ac.il>

next in thread | raw e-mail | index | archive | help

	Hello all,

I currently try to label the rest of my disk WD 1223 MB EIDE
the fist slice /dev/wd0s1 is 50 MB (DOS)
the second is  /dev/wd0s2 is 500MB (FreeBSD)
and the rest is empty.
First I tried to make it with a boot.flp
but it wants the partition to be / (Additional FreeBSD slice)
after that it says that FreeBSD Boot manager doesn't allows 
to boot from this point.
I also tried to label it with disklabel, but no success, see
the log:

Script started on Thu Aug  3 10:11:32 1995
yuri@beard:~ 101 > disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: wd0s2
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 1015
sectors/unit: 1023120
rpm: 0
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    61440        0    4.2BSD        0     0     0 	# (Cyl.    0 - 60*)
  b:   102400    61440      swap                    	# (Cyl.   60*- 162*)
  c:  1023120        0    unused        0     0       	# (Cyl.    0 - 1014)
  e:   143360   163840    4.2BSD        0     0     0 	# (Cyl.  162*- 304*)
  f:   715920   307200    4.2BSD        0     0     0 	# (Cyl.  304*- 1014*)
Warning, revolutions/minute 0
super block size 0
yuri@beard:~ 102 > df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       29727    13235    14113    48%    /
/dev/wd0s2e     68735    55032     8204    87%    /usr
/dev/wd0s2f    347095   273484    45843    86%    /usr/local
/dev/wd0s1      52264    46710     5554    89%    /dos
/dev/wd1s4a     15719    10787     4146    72%    /old
/dev/wd1s4e    295743   239229    41726    85%    /usr1
procfs              4        4        0   100%    /proc
yuri@beard:~ 103 > ls -l /dev/wd0s3*
brw-r-----  1 root  operator    0, 262146 Aug  2 19:50 /dev/wd0s3
brw-r-----  1 root  operator    0, 262144 Aug  2 19:50 /dev/wd0s3a
brw-r-----  1 root  operator    0, 262145 Aug  2 19:50 /dev/wd0s3b
brw-r-----  1 root  operator    0, 262146 Aug  2 19:50 /dev/wd0s3c
brw-r-----  1 root  operator    0, 262147 Aug  2 19:50 /dev/wd0s3d
brw-r-----  1 root  operator    0, 262148 Aug  2 19:50 /dev/wd0s3e
brw-r-----  1 root  operator    0, 262149 Aug  2 19:50 /dev/wd0s3f
brw-r-----  1 root  operator    0, 262150 Aug  2 19:50 /dev/wd0s3g
brw-r-----  1 root  operator    0, 262151 Aug  2 19:50 /dev/wd0s3h
# disklabel -w -r /dev/rwd0s3 fuji513 foo
disklabel: /dev/rwd0s3: No such file or directory
# ls -l /dev/rwd0s3*
crw-r-----  1 root  operator    3, 262146 Aug  2 19:50 /dev/rwd0s3
crw-r-----  1 root  operator    3, 262144 Aug  2 19:50 /dev/rwd0s3a
crw-r-----  1 root  operator    3, 262145 Aug  2 19:50 /dev/rwd0s3b
crw-r-----  1 root  operator    3, 262146 Aug  2 19:50 /dev/rwd0s3c
crw-r-----  1 root  operator    3, 262147 Aug  2 19:50 /dev/rwd0s3d
crw-r-----  1 root  operator    3, 262148 Aug  2 19:50 /dev/rwd0s3e
crw-r-----  1 root  operator    3, 262149 Aug  2 19:50 /dev/rwd0s3f
crw-r-----  1 root  operator    3, 262150 Aug  2 19:50 /dev/rwd0s3g
crw-r-----  1 root  operator    3, 262151 Aug  2 19:50 /dev/rwd0s3h
# disklabel -w -r /dev/rwd0s3a fuji513 foo
disklabel: /dev/rwd0s3a: Invalid argument

any suggestions ?
Thanks in advance,
Best Regards,


/-----------------------------------------------------------------\
|  \\     Yuri Gindin <yuri@xpert.com> http://www.xpert.com/~yuri |
|   \\   //                 ||          Home: +972-4-282475       |
|    \\ //  ___    ___   ___||__        Work: +972-4-545259       |
|     \//  / --\  / --\ / --||--                     Internet     |
|     //\  ||  \\// __/ ||  ||                S/W Development     |
|    // \\ ||__//\\____ ||  \\__          Network Integration     |
| ==//===\\||=======================    System Administration     |
\---------\||-------UNIX Systems LTD------------------------------/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.91.950804180204.44510A-100000>