Re: Installing a second hard disk
wouldn't be easier to simply use right command directly? dd if=/dev/zero of=/dev/newdisk bs=64k count=1 - to clean up any DOS or other mess it may be here assuming you will need all disk as one filesystem newfs -right-options /dev/newdisk then add right entry to fstab and mount -a that's all assuming you need partitions bsdlabel -w newdisk bsdlabel -e newdisk and edit label and then same with newfs on each partition. please DO read newfs manual, as default options aren't good ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Installing a second hard disk
Thanks all who answered so quickly. The PC's BIOS detects the complete capacity. The access mode was "auto", and I have changed it to "LBA", but the same result: FreeBSD still sees a disk (on ad2) capacity of 127 GB. The FreeBSD version installed is 5.4 Thus, I have installed the disk under Windows 2000, and behaves the same way. However Windows XP recognizes the full capacity. The disk is a Seagate IDE Ultra ATA disk. Unfortunately site www.48bitlba.com only offers help for Windows-based systems, and the tools are also for Windows-based OS. Anyway, I have ignored the warning regarding the geometry inaccuracy, done the following manually: fdisk -I /dev/ad2 bsdlabel -w /dev/ad2s1 newfs -U /dev/ad2s1a mkdir /mydata mount /dev/ad2s1a /mydata echo "/dev/ad2s1a /mydata ufs rw 2 2" >> /etc/fstab but for FreeBSD the disk's capacity is still 127 GB. The BIOS date is 21 Mar 2002. I've found out that there is a BIOS upgrade for the motherboard dated June 2002 (if I'm not wrong). So, will upgrading the BIOS solve this issue? Or will upgrading to FreeBSD 6.2 solve it instead? Thanks in advance for any hint or suggestion. Aitor -Original message- To: freebsd-questions@freebsd.org Subject: Installing a second hard disk > Hi List, > > I am trying to install a secondary hard disk in a Intel-based PC > with FreeBSD 5.4 > > This secondary disk's capacity is 250 Gb. When I enter sysintall > to try to format it and create a slice, FreeBSD says that the > geometry of disk is not correct. I, then, type in the values detected > by the BIOS as suggested, but FreeBSD still complains that those > are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB. > > So my question is: where is the problem? Is it that FreeBSD is not > able to recognise such a big disk capacity? > > Any hint, suggestion, or web link would be highly appreciated. > > Thanks in advance > Aitor. LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea baimenik gabe. -- Este mensaje puede contener información confidencial, en propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está prohibido legalmente. -- This message may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this message, please notify it to the sender and delete without resending or backing it, as it is legally prohibited. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing a second hard disk
On Tue, Mar 13, 2007 at 06:05:16PM +0100, Aitor San Juan wrote: > Hi List, > > I am trying to install a secondary hard disk in a Intel-based PC > with FreeBSD 5.4 > > This secondary disk's capacity is 250 Gb. When I enter sysintall > to try to format it and create a slice, FreeBSD says that the > geometry of disk is not correct. I, then, type in the values detected > by the BIOS as suggested, but FreeBSD still complains that those > are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB. > > So my question is: where is the problem? Is it that FreeBSD is not > able to recognise such a big disk capacity? > > Any hint, suggestion, or web link would be highly appreciated. So far, I have been successful in ignoring those warnings and just going ahead and doing the fdisk / bsdlabel / newfs. After that the warnings seem to stop and everything works OK. It makes me wonder why those messages still come out on new disks, if they aren't meaningful, bit I don't know the whole deal about it. Geometry seems to be virtual and the OS does its own thing once it gets out from under BIOS processing. /jerry > > Thanks in advance > Aitor. > > > LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * > Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez > babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, > inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea > baimenik gabe. > -- > Este mensaje puede contener informaci?n confidencial, en propiedad o > legalmente protegida. Si usted no es el destinatario, le rogamos lo comunique > al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su > uso no autorizado est? prohibido legalmente. > -- > This message may contain confidential, proprietary or legally privileged > information. If you are not the intended recipient of this message, please > notify it to the sender and delete without resending or backing it, as it is > legally prohibited. > ** > ___ > 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]"
Re: Installing a second hard disk
Check your BIOS and possibly update the BIOS. Also low-level format the disk to ensure there is nothing on the disk causing any issues. -Derek At 12:05 PM 3/13/2007, Aitor San Juan wrote: Hi List, I am trying to install a secondary hard disk in a Intel-based PC with FreeBSD 5.4 This secondary disk's capacity is 250 Gb. When I enter sysintall to try to format it and create a slice, FreeBSD says that the geometry of disk is not correct. I, then, type in the values detected by the BIOS as suggested, but FreeBSD still complains that those are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB. So my question is: where is the problem? Is it that FreeBSD is not able to recognise such a big disk capacity? Any hint, suggestion, or web link would be highly appreciated. Thanks in advance Aitor. LEGEZKO OHARRA / AVISO LEGAL / LEGAL ADVICE * Mezu honek isilpeko informazioa gorde dezake, edo jabea duena, edota legez babestuta dagoena. Zuri zuzendua ez bada, bidali duenari esan eta ezabatu, inori berbidali edo gorde gabe, legeak debekatzen duelako mezuak erabiltzea baimenik gabe. -- Este mensaje puede contener información confidencial, en propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya que su uso no autorizado está prohibido legalmente. -- This message may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this message, please notify it to the sender and delete without resending or backing it, as it is legally prohibited. ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing a second hard disk
On Tuesday 13 March 2007 13:05, Aitor San Juan wrote: > Hi List, > > I am trying to install a secondary hard disk in a Intel-based PC > with FreeBSD 5.4 > > This secondary disk's capacity is 250 Gb. When I enter sysintall > to try to format it and create a slice, FreeBSD says that the > geometry of disk is not correct. I, then, type in the values detected > by the BIOS as suggested, but FreeBSD still complains that those > are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB. > > So my question is: where is the problem? Is it that FreeBSD is not > able to recognise such a big disk capacity? > > Any hint, suggestion, or web link would be highly appreciated. Assuming the new disk is ad4, and you want a single FreeBSD slice/partition/FS covering the whole disk: fdisk -BI /dev/ad4 bsdlabel -wB /dev/ad4s1 newfs -U /dev/ad4s1a See the manpages for each command for more details. The -B flags aren't necessary if you never plan to boot from the new disk, but they don't hurt anything either. If you want multiple FreeBSD partitions you could run a "bsdlabel -e" after the first bsdlabel command above, and additional newfs commands as appropriate. Continuing the example above, you could do: mkdir /newdisk mount /dev/ad4s1a /newdisk echo "/dev/ad4s1a /newdiskufs rw 2 2" >> /etc/fstab To both mount the new filesystem and have it mounted automatically at boot. See the fstab manpage for details about that. (You could of course use a text editor to modify fstab instead of the echo command above.) JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing a second hard disk
Hi-- On Mar 13, 2007, at 10:05 AM, Aitor San Juan wrote: I am trying to install a secondary hard disk in a Intel-based PC with FreeBSD 5.4 This secondary disk's capacity is 250 Gb. When I enter sysintall to try to format it and create a slice, FreeBSD says that the geometry of disk is not correct. I, then, type in the values detected by the BIOS as suggested, but FreeBSD still complains that those are not valid. FreeBSD sees the new disk as a disk of approx. 131 GB. So my question is: where is the problem? Is it that FreeBSD is not able to recognise such a big disk capacity? FreeBSD will recognize large disks, but your hardware itself needs to support what's known as LBA48 addressing to properly work with drives larger than 137.4 GB. Make sure that you've got the latest BIOS update for your MB installed, and try to make sure that the drive is configured to use LBA or "auto" access mode, rather than C/H/S. Also, you should ignore the warning about the geometry under these circumstances rather than entering a manual geometry...C/H/S mode is going to waste most of the available disk space, so you don't want to use it. First hit from google suggests a site here: http://www. 48bitlba.com/ with some tools...I haven't looked into them, but it looks like they have a utility to check your BIOS for LBA48 compatibility. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"