Re: formating a disk
> > Le 31/03/2006 à 06:34:16+0200, Albert Shih a écrit > > Le 30/03/2006 20:19:17-0500, Jerry McAllister a écrit > > > > > > > > > > I wonder what exactly you mean by 'format'. > > > We don't tend to use that word to mean making slices (fdisk), > > > partitions (disklabel/bsdlabel) or file systems (newfs). > > > > > > Usually format refers to something done at the very low leval of > > > the drive and is normally only done at the manufacturer nowdays. > > > I expect you mean one or more of the others, but cannot say. > > > > > > But, anyway, that is what you need to do - in that order. > > > fdisk, disk/abel/bsdlabel, newfs > > > > > > So, try and explain what you have done using these utilities if > > > you have and if you haven't, then check them out and see if > > > that helps. If you really did a "format" under XP, then I think > > > you can just start over with fdisk, but I haven't tried that on > > > a hard disk much less a firewire device. > > > > First I try to edit the slice with fdisk but when he need to write I've > > got > > > > Information from DOS bootblock is: > > 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 63, size 156296322 (76316 Meg), flag 80 (active) > > beg: cyl 1/ head 1/ sector 1; > > end: cyl 512/ head 254/ sector 63 > > 2: > > 3: > > 4: > > Should we write new partition table? [n] y > > fdisk: Geom not found > > [EMAIL PROTECTED] rc.d]# > > > > What's that mean ? > > How can I fix that ? > > > I answer to myself > > After > > dd if=/dev/zero of=/dev/da0 bs=1k count=100 > > it's ... not working but after > > dd if=/dev/zero of=/dev/da0 bs=1k count=10 > > everything work fine. Ah, yes. You got hit by that one. I have a couple of times and almost mentioned it, but was unsure of how you were using the terminology so I didn't want to add any more to the issue just then. I don't know just why that happens sometimes -- someone else might be able to explain. Some fragment of left over data must confuse things. But using the dd as you mention above does seem to fix it and that step is indicated in the bsdlabel man page, although not in a very enlightening manner. So, good luck, jerry > > Thanks. > > -- > Albert SHIH > Universite de Paris 7 (Denis DIDEROT) > U.F.R. de Mathematiques. > 7 ième étage, plateau D, bureau 10 > Heure local/Local time: > Fri Mar 31 21:41:04 CEST 2006 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: formating a disk
Le 31/03/2006 à 06:34:16+0200, Albert Shih a écrit > Le 30/03/2006 20:19:17-0500, Jerry McAllister a écrit > > > > > > > I wonder what exactly you mean by 'format'. > > We don't tend to use that word to mean making slices (fdisk), > > partitions (disklabel/bsdlabel) or file systems (newfs). > > > > Usually format refers to something done at the very low leval of > > the drive and is normally only done at the manufacturer nowdays. > > I expect you mean one or more of the others, but cannot say. > > > > But, anyway, that is what you need to do - in that order. > > fdisk, disk/abel/bsdlabel, newfs > > > > So, try and explain what you have done using these utilities if > > you have and if you haven't, then check them out and see if > > that helps. If you really did a "format" under XP, then I think > > you can just start over with fdisk, but I haven't tried that on > > a hard disk much less a firewire device. > > First I try to edit the slice with fdisk but when he need to write I've > got > > Information from DOS bootblock is: > 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 156296322 (76316 Meg), flag 80 (active) > beg: cyl 1/ head 1/ sector 1; > end: cyl 512/ head 254/ sector 63 > 2: > 3: > 4: > Should we write new partition table? [n] y > fdisk: Geom not found > [EMAIL PROTECTED] rc.d]# > > What's that mean ? > How can I fix that ? > I answer to myself After dd if=/dev/zero of=/dev/da0 bs=1k count=100 it's ... not working but after dd if=/dev/zero of=/dev/da0 bs=1k count=10 everything work fine. Thanks. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Fri Mar 31 21:41:04 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: formating a disk
Le 30/03/2006 20:19:17-0500, Jerry McAllister a ?crit > > > > I wonder what exactly you mean by 'format'. > We don't tend to use that word to mean making slices (fdisk), > partitions (disklabel/bsdlabel) or file systems (newfs). Well the purpose is of course newfs. > > Usually format refers to something done at the very low leval of > the drive and is normally only done at the manufacturer nowdays. > I expect you mean one or more of the others, but cannot say. > > But, anyway, that is what you need to do - in that order. > fdisk, disk/abel/bsdlabel, newfs > > So, try and explain what you have done using these utilities if > you have and if you haven't, then check them out and see if > that helps. If you really did a "format" under XP, then I think > you can just start over with fdisk, but I haven't tried that on > a hard disk much less a firewire device. First I try to edit the slice with fdisk but when he need to write I've got Information from DOS bootblock is: 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 156296322 (76316 Meg), flag 80 (active) beg: cyl 1/ head 1/ sector 1; end: cyl 512/ head 254/ sector 63 2: 3: 4: Should we write new partition table? [n] y fdisk: Geom not found [EMAIL PROTECTED] rc.d]# What's that mean ? How can I fix that ? Lots of thanks Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Fri Mar 31 06:31:34 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: formating a disk
> > Hi all > > I've strange problem with a external disk (firewire). I don't know how I > can format it. > > I've already format this disk (on my FreeBSD box with newfs), after that I > reformat this disk with Windows XP (maybe bad idea ;-) ) and now I cannot > format the disk with anything > > When I try fdisk > > [EMAIL PROTECTED] rc.d]# fdisk -BI da0 > *** Working on device /dev/da0 *** > fdisk: invalid fdisk partition table found > fdisk: Geom not found > [EMAIL PROTECTED] rc.d]# > > If I try to use sysinstall I can make a slice, but when I want to format > the disk I go a error. > > If I try to format directly (without slice) it's working but I cannot mount > the disk. > > Anyone can help me ? I wonder what exactly you mean by 'format'. We don't tend to use that word to mean making slices (fdisk), partitions (disklabel/bsdlabel) or file systems (newfs). Usually format refers to something done at the very low leval of the drive and is normally only done at the manufacturer nowdays. I expect you mean one or more of the others, but cannot say. But, anyway, that is what you need to do - in that order. fdisk, disk/abel/bsdlabel, newfs So, try and explain what you have done using these utilities if you have and if you haven't, then check them out and see if that helps. If you really did a "format" under XP, then I think you can just start over with fdisk, but I haven't tried that on a hard disk much less a firewire device. Good luck, jerry > > NB: The disk work..because I reformat it under windows XP. > -- > Albert SHIH > Universite de Paris 7 (Denis DIDEROT) > U.F.R. de Mathematiques. > Heure local/Local time: > Fri Mar 31 01:28:14 CEST 2006 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"