09-07-2009
nothing i am getting ( any messages).i just installed the linux and now when i insert the pendrive ,nothing happens.
now i just tried to mount by following these steps.
:mkdir /mnt/pendrive
then i added to the file /etc/fstab the following text
/dev/sda1 /mnt/pendrive auto noauto,user,rw,exec 0 0
but it is throwing the error :sad1 is not a valid block
could you please guide me to resolve the issue.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can't acces ftp from my computer. It is posible my provider blocks it, but local ftp works fine. Any ideas ?
Thanks, TuMux (7 Replies)
Discussion started by: TuMux
7 Replies
2. Red Hat
helo my sysem is running on redhat 9.
now i want to take data from redhat 9 pc to pen drive.
but when i plug it it is not detected.
can u tell me how to mount pendrive on redhat9.
amit (1 Reply)
Discussion started by: amitpansuria
1 Replies
3. UNIX for Dummies Questions & Answers
Can anybody explane 'How to boot from a pendrive' ?Is it possible to load Operating System from a pendrive----? How? (5 Replies)
Discussion started by: Ajith kumar.G
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
Can anybody help me with how I can connect a usb pendrive or external disk to a Sun Server which runs on Solaris 9? I am able to connect the usb drive to a windows server easily and copy files but am wondering if it is possible to do that with Solaris.
Any help will be appreciated. thanks. (3 Replies)
Discussion started by: rahmantanko
3 Replies
5. SCO
please let me know how to mount the pendrive on the unixware (1 Reply)
Discussion started by: deepthi.s
1 Replies
6. Solaris
Hi,
My current requirement is to log in ROOT to a Solaris 10 server using telnet. It is not advisable to enable telnet access but my requirement forces me to do so. So under /etc/default/login i have commented the line CONSOLE....
And still I am unable to connect. Putty console just vanishes... (3 Replies)
Discussion started by: EmbedUX
3 Replies
7. Slackware
Holla,
I have been trying to install a recent distro, with a minimum X such as jwm, but unfortunately my cdrom is broken and I can only boot the USB port, with a pendrive.
AMD K6 3D is today too old for being for linux.
Is there an image of slackware than runs that processor and that can... (5 Replies)
Discussion started by: raptor34
5 Replies
8. Cybersecurity
My friend has found a bug with sudo.
His organization has Linux laptops with no root access to users. Policy pushing is through Puppet.
But doing sudo sudo twice he is able to access root.
Do you guys have any clue, how's that possible, usually sudo su is restricted. (8 Replies)
Discussion started by: nixhead
8 Replies
9. Shell Programming and Scripting
I want to bug and make lag in the vps using commands on linux by a normal user, SSH on centos 6. (1 Reply)
Discussion started by: [xEF]Danger
1 Replies
10. Linux
I've "installed" LM 19.1 to a PNY 16Gb(2.0) pendrive. I have a few issues that I'd like to resolve. First and foremost, the O.S. experiences "lagging" issues and to a lesser degree, freezing. Example: Complete "boot-up" (from start to complete "home" page) can take upwards of 7 mins. Then when... (10 Replies)
Discussion started by: 69Rixter
10 Replies
LEARN ABOUT HPUX
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
Display version information and exit.
-h, --help
Display help text 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), pivot_root(2), mount(8), switch_root(8), umount(8)
AVAILABILITY
The pivot_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux August 2011 PIVOT_ROOT(8)