From owner-freebsd-questions Tue Aug 15 03:49:10 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA16299 for questions-outgoing; Tue, 15 Aug 1995 03:49:10 -0700 Received: from aerodyne.technion.ac.il (aerodyne.technion.ac.il [132.68.147.2]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA16288 for ; Tue, 15 Aug 1995 03:48:49 -0700 Received: (aerygis@localhost) by aerodyne.technion.ac.il (8.6.12/8.6) id NAA38212; Tue, 15 Aug 1995 13:47:41 +0200 Date: Tue, 15 Aug 1995 13:47:41 +0200 (WET) From: Yuri Gindin To: freebsd-questions@freebsd.org Subject: How to label the rest of the disk ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@freebsd.org Precedence: bulk Sometime ago I asked this question, but haven't got no replies. What happens? It was possible to make label under 2.0 using disklabel and also using boot diskette. Now in 2.0.5, 2.1 we have different slices, so how can I make new slice from within existing FreeBSD partition ? Any help will be appreciated. The original mail follows: Cheers, Yuri. ---------------------------------------------------------------- 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 http://www.xpert.com/~yuri | | \\ // || Home: +972-4-282475 | | \\ // ___ ___ ___||__ Work: +972-4-545259 | | \// / --\ / --\ / --||-- Internet | | //\ || \\// __/ || || S/W Development | | // \\ ||__//\\____ || \\__ Network Integration | | ==//===\\||======================= System Administration | \---------\||-------UNIX Systems LTD------------------------------/