[Compactbsd-devel] RE: [Compactbsd-devel]
Status: Alpha
Brought to you by:
ttul
From: Mike M. <mmc...@pn...> - 2002-10-26 03:42:18
|
Thanks for the fast response, it's very much appreciated! I'm still having no luck, however. Here's the output of 'disklabel sd0', after I cleared out the partitions: ------------------ # disklabel sd0 # using MBR partition 3: type A6 off 32 (0x20) size 125408 (0x1e9e0) # /dev/rsd0c: type: SCSI disk: SCSI disk label: ImageMate II flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 8 sectors/cylinder: 256 cylinders: 490 total sectors: 125440 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] c: 125440 0 unused 0 0 # (Cyl. 0 - 489) # ----------------- So I changed flashdist.sh to this: -------------- # Value Disklabel name # #totalsize=62720 # "total sectors:" totalsize=125440 bytessec=512 # "bytes/sector:" sectorstrack=32 # "sectors/track:" sectorscylinder=256 # "sectors/cylinder:" trackscylinder=8 # "tracks/cylinder:" #cylinders=245 # "cylinders:" #cylinders=285 #cylinders=213 # doesn't work #cylinders=245 cylinders=490 ---------------- And when I run 'python build.py -b sd0', I get this: ----------------- # /usr/local/bin/python build.py -b sd0 1035585396.92 [12687]: Creating working stand directory... 1035585396.93 [12687]: Copying boot files into working stand directory... # using MBR partition 3: type A6 off 32 (0x20) size 125408 (0x1e9e0) fdisk: sysctl(machdep.bios.diskinfo): Device not configured # using MBR partition 3: type A6 off 32 (0x20) size 125408 (0x1e9e0) newfs: /dev/rsd0a: Device busy 1035585410.76 [12687]: flashdist.sh 20020501 ch...@dq... 1035585410.76 [12687]: Using disk device: sd0 1035585410.76 [12687]: Using distfile: /root/CompactBSD-0.1.0/flashdist/flashbig.txt 1035585410.76 [12687]: Copying kernel from: /bsd 1035585410.76 [12687]: 1035585410.76 [12687]: Please pay attention to any error messages that you may 1035585410.76 [12687]: receive from the commands this script it using. If you 1035585410.76 [12687]: end up having problems, they could explain why. 1035585410.76 [12687]: Setting up disklabel... 1035585410.76 [12687]: 1035585410.77 [12687]: The install script is using the following parameters: 1035585410.77 [12687]: Total size of media: 125440 sectors (64225280 bytes) 1035585410.77 [12687]: Bytes/Sector: 512 1035585410.77 [12687]: Sectors/Track: 32 1035585410.77 [12687]: Sectors/Cylinder: 256 1035585410.77 [12687]: Tracks/Cylinder (heads): 8 1035585410.77 [12687]: Cylinders: 490 1035585410.77 [12687]: 1035585410.77 [12687]: Updating MBR and partition table... 1035585410.77 [12687]: Note, you may ignore "sysctl(machdep.bios.diskinfo)" errors if present. 1035585410.77 [12687]: 1035585410.77 [12687]: Installing disklabel... 1035585410.77 [12687]: disklabel -R sd0 /tmp/_ahhr17752 1035585410.77 [12687]: 1035585410.77 [12687]: Creating new filesystem... 1035585410.78 [12687]: newfs -c 490 -S 512 -u 32 -z 8 -o space /dev/rsd0a 1035585410.78 [12687]: There was a problem running newfs. Maybe the geometry is wrong? # ----------------- And finally, after the run, I tried it again manually: ------------------ # newfs -c 490 -S 512 -u 32 -z 8 -o space /dev/rsd0a Oct 25 17:39:59 cthulhu /bsd: sd0: mode sense (4) returned nonsense; using fictitious geometry Oct 25 17:39:59 cthulhu /bsd: sd0: mode sense (4) returned nonsense; using fictitious geometry Block size restricts cylinders per group to 285. # disklabel sd0a # /dev/rsd0a: type: SCSI disk: SCSI disk label: ImageMate II flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 8 sectors/cylinder: 256 cylinders: 490 total sectors: 125440 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # microseconds track-to-track seek: 0 # microseconds drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 125152 32 4.2BSD 1024 8192 16 # (Cyl. 0*- 488) b: 1 125184 swap # (Cyl. 489 - 489*) c: 125440 0 unused 0 0 # (Cyl. 0 - 489) # ------------------------- > If you run 'disklabel /dev/sd0' (or sd1), I think it will show you the > parameters you need to change in flashdist.sh to use the 64MB card. > > Steve > > -----Original Message----- > From: com...@li... > [mailto:com...@li...]On Behalf Of Mike > McClure > Sent: Friday, October 25, 2002 7:21 PM > To: com...@li... > Subject: [Compactbsd-devel] (no subject) > > > Howdy. > > What parameters must I change in flashdist.sh to use a 64MB CF card? > > Or should they be changed somewhere else? > > Thanks, > > Mike > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mobile: 913-636-5590 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Compactbsd-devel mailing list > Com...@li... > https://lists.sourceforge.net/lists/listinfo/compactbsd-devel > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmc...@pn... mobile: 913-636-5590 |