From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 16:00:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6363F16A4CF for ; Thu, 18 Dec 2003 16:00:27 -0800 (PST) Received: from web12606.mail.yahoo.com (web12606.mail.yahoo.com [216.136.173.229]) by mx1.FreeBSD.org (Postfix) with SMTP id CDC4D43D31 for ; Thu, 18 Dec 2003 16:00:23 -0800 (PST) (envelope-from bj93542@yahoo.com) Message-ID: <20031219000023.25533.qmail@web12606.mail.yahoo.com> Received: from [128.226.68.47] by web12606.mail.yahoo.com via HTTP; Thu, 18 Dec 2003 16:00:23 PST Date: Thu, 18 Dec 2003 16:00:23 -0800 (PST) From: Dorin H To: Admin In-Reply-To: <006101c3c58d$de4d14c0$1c77fea9@dpc27> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.1 PowerPak Installation problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 00:00:27 -0000 > > I have created a log file using dmesg, but, I am > unable to copy on to the > floppy disc. When I try to mount the floppy with > mount /dev/fd0 /mnt, it > gives me error message: Device is not configured. > Try: mount -t msdos /dev/fd0 /mnt with any DOS formated disc. If you want to mount a UFS partition/floppy, you have to create actually the FS structure first using newfs (but you will not be able to easily read it from Win :) ). % man 1 fdformat Note that fdformat does only perform low-level formatting. In order to create a file system on the medium, see the commands newfs(8) for a UFS file system, or newfs_msdos(8) for an MS-DOS (FAT) file system. Mount expects a file system structure on that disc (either UFS or DOS). > > I formatted the floppy using fdformat command, and > when tried to mount, it > gives me error message "incorrect super block". Now > this format is not > copatible with windows system. No file system present (in this case, mount tried to mount the default ufs FS, which expect to start with a superblock, which is not there, as you haven't newfs-ed the disc). > > I also created another dos fat partition and tried > to mount so that I could > copy the log file to dos partition, it won't work. I > have used this method > to transfer the files on a Linux system. > Again, see above (newfs(8)). If you formated as type, again, use -t msdos to specify the type (default is ufs). > Is there a way to transfer files from FreeBSD to > Windows? Simple way:) : new floppy (preformated in old DOS/IBM format), insert, "mount -t msdos /dev/fd0 /mnt" , copy the stuff, "umount /dev/fd0", extract, go to windoze.... /Dorin. PS. In case of errors, check if you have the /dev/fd0 device actually. You should, if your drive is recognized during boot. PS2. Maybe you want to take a look at www.onlamp.com, they have many nice written tutorials about FreeBSD to put you on track. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/