03-21-2002
Mounting Drive!!!
#Check is system detects Drive
dmesg|grep hdb
#First make a mount directory
mkdir /mnt/win2000
#Then mount Drive
mount /dev/hdb /mnt/win2000
If not then you need win32 support in the kernel.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)
Discussion started by: soulshaker
4 Replies
2. UNIX for Dummies Questions & Answers
Hey, need to mount the following below, and new ish to unix.. what is the process.. thanks :b:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SEAGATE-ST973401LC-0001 cyl 51057 alt 2 hd 4 sec 702>
/pci@1d,700000/scsi@4/sd@0,0 (5 Replies)
Discussion started by: blb
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time.
Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem..
Can... (1 Reply)
Discussion started by: KhawHL
1 Replies
4. Shell Programming and Scripting
Hi all,
I would like to know how to use the format command?
I mean i essentially want to mount my windows drives here...
For which i needed to know there readings!!!
When i tried to do format i was offered one disk(obviously),that was
c1d0
i selected that...
and choose partitions (twice... (1 Reply)
Discussion started by: wrapster
1 Replies
5. UNIX for Advanced & Expert Users
I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies
6. IP Networking
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies
7. UNIX for Dummies Questions & Answers
Hey guys,
i have a computer (from a friend) with win xp home. now he can not boot the system and i want to try to fix it. I don't know what he did but windows says all the time "hal.dll is missing" and so on...
I tried windows restore and helping cons but it's not working.
Now I try to work... (2 Replies)
Discussion started by: puthy
2 Replies
8. UNIX for Dummies Questions & Answers
Hi guys.
I read the man page for mount command but i didn't understand
why we use -o option. could someone help?:D (1 Reply)
Discussion started by: majid.merkava
1 Replies
9. Shell Programming and Scripting
Heyas
At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it.
EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...).
Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies
10. UNIX for Beginners Questions & Answers
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
LEARN ABOUT REDHAT
pivot_root
PIVOT_ROOT(8) Maintenance Commands PIVOT_ROOT(8)
NAME
pivot_root - change the root file system
SYNOPSIS
pivot_root new_root put_old
DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since
pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details.
Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for
invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH:
cd new_root
pivot_root . put_old
exec chroot . command
Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the
root directory of the shell.
Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also
note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be
changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's
root or not).
EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell:
mount /dev/hda1 /new-root
cd /new-root
pivot_root . old-root
exec chroot . sh <dev/console >dev/console 2>&1
umount /old-root
Mount the new root file system over NFS from 10.0.0.1:/my_root and run init:
ifconfig lo 127.0.0.1 up # for portmap
# configure Ethernet or such
portmap # for lockd (implicitly started by mount)
mount -o ro 10.0.0.1:/my_root /mnt
killall portmap # portmap keeps old root busy
cd /mnt
pivot_root . old_root
exec chroot . sh -c 'umount /old_root; exec /sbin/init'
<dev/console >dev/console 2>&1
SEE ALSO
chroot(1), mount(8), pivot_root(2), umount(8)
Linux Feb 23, 2000 PIVOT_ROOT(8)