07-31-2002
mkdir /mnt/c
mount -t nfts /dev/hda1 /mnt/c
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 Advanced & Expert Users
Hie ,
I have a distrib Red Hat with a kernel-2.4.9-31 . I can't mount a ntfs fs with command :
#mount -t ntfs /dev/hda1 /windows
mount: fs type ntfs not supported by kernel
Why doesn't my kernel support a type ntfs ? How can I mount this FS ?
Merci d'avance.. (1 Reply)
Discussion started by: Romeo_91
1 Replies
3. Linux
:) Hi frds ..i hope i can get some help for this.. I am unable to mount ntfs/hpfs file system which contain my XP o/s. As per the information collected on net i found tht my kernel i.e 2.4.xx does not support ntfs ..?
Now I dont knwo where to get upgraded kernel and how to deploy it ..can anyone... (0 Replies)
Discussion started by: nicknihal
0 Replies
4. Linux
How Can I mount Windows NTFS Partation in to Linux ? (4 Replies)
Discussion started by: Amit Deore
4 Replies
5. UNIX for Advanced & Expert Users
Just inherited a windows server to support. Windows 2003 Enterprise edition
I can view driver / folders on the windows NTFS volume by mapping a drive from my windows laptop..
Can I mount this from a unix server also?
I heard you can use Microsoft Services for Network File System... (3 Replies)
Discussion started by: frustrated1
3 Replies
6. Filesystems, Disks and Memory
Just some info about my hard drive setup. I have a 150GB WD Raptor X as my boot drive with partitions for Ubuntu and Windows. I have 500GB hard drive for my home partition (mainly to keep my movie and music collections since the Raptor is too small) and I also have an external 500GB hard drive... (0 Replies)
Discussion started by: pyroguysf
0 Replies
7. Fedora
Hi,
I'm new for unix. I tried to mount windows NTFS partition in Fedora unix, but it is saying ntfs not found. The command i used is
mount /dev/sdb1 -t ntfs /mnt/drive1
and how to find the available filesystem type?. (1 Reply)
Discussion started by: gwgreen1
1 Replies
8. UNIX for Dummies Questions & Answers
I copied some files from my Linux EXT4 box to an ntfs flash drive. I have ntfs-3g installed, and the files copied fine, but I could not view them on a Windows box. What happened? Did it not write them using NTFS? Did it mount the drive under a different file-system (is that even possible)? (1 Reply)
Discussion started by: glev2005
1 Replies
9. Red Hat
Very green to the world of Linux/Unix computing, as I have recently been tasked with getting out internal network set up for incoming data sets we are receiving.
Unfortunately our system is Linux/Unix mainly, and the drives that are coming in are SATA NTFS formatted. I'm wondering if there... (0 Replies)
Discussion started by: cbrowne20
0 Replies
10. UNIX for Dummies Questions & Answers
How can I copy a data disk on an AIX system to a Windows readable format (0 Replies)
Discussion started by: Phill
0 Replies
LEARN ABOUT CENTOS
pivot_root
PIVOT_ROOT(8) System Administration PIVOT_ROOT(8)
NAME
pivot_root - change the root filesystem
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).
OPTIONS
-V, --version
Output version information and exit.
-h, --help
Display help and exit.
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), switch_root(8), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux August 2011 PIVOT_ROOT(8)