Sponsored Content
Operating Systems BSD Mounting a hard disk in FreeBSD Post 302466514 by figaro on Tuesday 26th of October 2010 03:19:31 PM
Old 10-26-2010
Thank you for your response. It still has not worked, but the pointer is definitely helpful. Upon new issues encountered, I will be posting back again.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Dumping a FreeBSD Archive on a partiotion on Hard Disk

I have been using FreeBSD (currently 4.10, yes yes i havent updated it for a few months), and unfortunately when initially installing it onto my laptop, i made the mistake of only assigning it 3.5 GB and time has passed and I now find myself withonly 300 something MB left on the chunk, i want to... (2 Replies)
Discussion started by: PenguinDevil
2 Replies

2. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

3. UNIX for Dummies Questions & Answers

mounting lacie hard drive to another suns system

I have two unix workstations. One crashed :( , but the other is still operating efficiently. We have a Lacie external hard drive attached to the workstation that failed. I would like to mount the external drive to the workstation that is still functioning. I am not very familiar with how to do... (1 Reply)
Discussion started by: Tmarsha6
1 Replies

4. Solaris

mounting 1TB hard disk with Solaris10 X86

I have a 1TB hard disk that I had partitioned on a Sun clone and had 7 partitions of 137GB a piece. (Using a USB to SATA adaptor) I then had loaded a new hard disk on my laptop (T60...Lenova) with Solaris 10 X86. I tried to mount the hard disk but it kept telling me the mount point was busy and I... (2 Replies)
Discussion started by: mndavies
2 Replies

5. HP-UX

Mounting an external parallel hard drive

Can anyone please walk me through how to mount an external parallel (or scsi) hard drive in visualize C3000 machine? I also would like to mount "/var/sallie" directory in that external drive. My "/var/sallie" directory is running out of space so I would like to mount an external hard drive so that... (0 Replies)
Discussion started by: sallysallie
0 Replies

6. Linux

Help mounting a hard drive in Knoppix 3.7

Hi guys, Right off the bat i'm gonna say that i'm a total linux noob. this is the second time i've seen the interface... anyway that being said, here is my issue. I have a user that needs to get data off a hard drive. This hard drive won't mount in windows xp. Last time this happened one of... (1 Reply)
Discussion started by: Neadric
1 Replies

7. BSD

Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command: mount -t msdosfs /dev/da0s1 /mnt Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies

8. Solaris

mounting 2nd hard drive

Sun 280R, Solaris 5.8.... I have inserted a 2nd hard drive on my system. 'format' recognized the disk, but I cannot figure out how to access the disk. Any help is appreciated! (3 Replies)
Discussion started by: jalburger
3 Replies

9. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

10. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
MOUNT.CONF(8)						    BSD System Manager's Manual 					     MOUNT.CONF(8)

NAME
mount.conf -- root file system mount configuration file SYNOPSIS
/.mount.conf DESCRIPTION
During the bootup process, the FreeBSD kernel will try to mount the root file system using the logic in the vfs_mountroot() function in src/sys/kern/vfs_mountroot.c. The root mount logic can be described as follows: 1. The kernel will synthesize in memory a config file with default directives for mounting the root file system. The logic for this is in vfs_mountroot_conf0(). 2. The kernel will first mount devfs(8) as the root file system. 3. Next, the kernel will parse the in-memory config file created in step 1 and try to mount the actual root file system. See FILE FORMAT for the format of the config file. 4. When the actual root file system is mounted, devfs will be re-mounted on the /dev directory. 5. If a /.mount.conf file does not exist in the root file system which was just mounted, the root mount logic stops here. 6. If a /.mount.conf file exists in the root file system which was just mounted, this file will be parsed, and the kernel will use this new config file to try to re-mount the root file system. See FILE FORMAT for the format of the config file. 7. If the new root file system has a /.mount directory, the old root file system will be re-mounted on /.mount. 8. The root mount logic will go back to step 4. The root mount logic is recursive, and step 8 will be repeated as long as each new root file system which is mounted has a /.mount.conf file. FILE FORMAT
The kernel parses each line in .mount.conf and then tries to perform the action specified on that line as soon as it is parsed. # A line beginning with a # is a comment and is ignored. {FS}:{MOUNTPOINT} {OPTIONS} The kernel will try to mount this in an operation equivalent to: mount -t {FS} -o {OPTIONS} {MOUNTPOINT} / If this is successfully mounted, further lines in .mount.conf are ignored. If all lines in .mount.conf have been processed and no root file system has been successfully mounted, then the action specified by .onfail is performed. .ask When the kernel processes this line, a mountroot> command-line prompt is displayed. At this prompt, the operator can enter the the root mount. .md file Create a memory backed md(4) virtual disk, using file as the backing store. .onfail [panic|reboot|retry|continue] If after parsing all the lines in .mount.conf the kernel is unable to mount a root file system, the .onfail directive tells the kernel what action to perform. .timeout N Before trying to mount a root file system, if the root mount device does not exist, wait at most N seconds for the device to appear before trying to mount it. If .timeout is not specified, the default timeout is 3 seconds. EXAMPLES
The following example .mount.conf will direct the kernel to try mounting the root file system first as an ISO CD9660 file system on /dev/cd0, then if that does not work, as an ISO CD9660 file system on /dev/acd0, and then if that does not work, as a UFS file system on /dev/ada0s1a. If that does not work, a mountroot> command-line prompt will be displayed where the operator can manually enter the root file system to mount. Finally if that does not work, the kernel will panic. .onfail panic .timeout 3 cd9660:/dev/cd0 ro .timeout 0 cd9660:/dev/acd0 ro .timeout 3 ufs:/dev/ada0s1a .ask The following example .mount.conf will direct the kernel to create a md(4) memory disk attached to the file /data/OS-1.0.iso and then mount the ISO CD9660 file system on the md device which was just created. The last line is a comment which is ignored. .timeout 3 .md /data/OS-1.0.iso cd9600:/dev/md# ro # Can also use cd9660:/dev/md0 ro The following example .mount.conf will direct the kernel to create a md(4) memory disk attached to the file /data/base.ufs.uzip and then mount the UFS file system on the md uzip device which was just created by the geom_uzip(4) driver. .md /data/base.ufs.uzip ufs:/dev/md#.uzip ro # Can also use ufs:/dev/md0.uzip ro The following example .mount.conf will direct the kernel to do a unionfs mount on a directory /jail/freebsd-8-stable which has a chroot(2) environment. .timeout 3 unionfs:/jail/freebsd-8-stable NOTES
For each root file system which is mounted, a /dev directory must exist so that the root mount logic can properly re-mount devfs(8). If this directory does not exist, the system may hang during the bootup process. SEE ALSO
nmount(2), md(4), boot.config(5), fstab(5), boot(8), loader(8), mount(8) HISTORY
The mount.conf file first appeared in FreeBSD 9.0. AUTHORS
The root mount logic in the FreeBSD kernel which parses /.mount.conf was written by Marcel Moolenaar <marcel@FreeBSD.org>. This man page was written by Craig Rodrigues <rodrigc@FreeBSD.org>. BSD
July 7, 2013 BSD
All times are GMT -4. The time now is 11:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy