SWITCH_ROOT(8) System Administration SWITCH_ROOT(8)NAME
switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS -h, --help
Display help text and exit.
-V, --version
Display version information and exit.
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO chroot(2), init(8), mkinitrd(8), mount(8)AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)
Check Out this Related Man Page
SWITCH_ROOT(8) System Administration SWITCH_ROOT(8)NAME
switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS -h, --help
Display help text and exit.
-V, --version
Display version information and exit.
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO chroot(2), init(8), mkinitrd(8), mount(8)AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)
Does anyone know how to get mysql up and running with the installed version that comes with redhat linux?
I've spent hours with no progress.
Thank you (13 Replies)
Dear Guys ,
I have linux - redhat 6.1 and it is on the internet , works as email server forworder .
when i execute netstat -a command i got a strange output that i want to ask about it and how can i control it or drop it plz :
the output looks like :
tcp 0 1... (5 Replies)
Hello all,
I wanted to know if any one had successfully install nis+ utils and use nis+ client on a linux (redhat) and have a Solaris nis+ server. I am able to install the client software on the linux and am able to see the nis+ tables. The passwd tables' works file but the auto_master and... (10 Replies)
When I try to log on as root now all it does is load YaST. When I used to log on as root it would have a desktop and all...what has happened? Thanks in advance. (10 Replies)
Hi,
We have dual processor dell machine loaded with redhat linux 7.2. It was working fine without any problem but recently power went off so suddenly system switched off. From then onwards system is running very slow. My suspect is on processor. How to check both the processors running properly or... (8 Replies)
hey guys im rather new to linux, im runnin damm small linux on an old HP.
my problem is I cant mount the cd rom drive. when I try and mount I get the mount point is being used by another directory, i tried editing the fstab file. but that didnt work. any help would be greatly appreciated. (12 Replies)
hi
in my server ( / ) root filesystem size is full how to reduce the size and what are the files i want to remove.
i need answer for linux and AIX also. (6 Replies)
SOS !!!
I have forgotten my root password, on my system, and as a result unable to
access my important files, on my redhat LINUX 8.x m/c. Kindly tell me how
reset/change the existing password, and make a new one. Any help will be
greatly appreciated. The problem arose because I left the... (6 Replies)
Hello,
I am trying to mount an external USB drive connected to a SnapServer 410 ( a network file server running a linux OS called Guardian OS).
THanks to some articles on the the web, I found that I needed to use the following command:
> mount -t vfat /dev/sde /mnt/usbext
... (7 Replies)
Hello experts,
Im having the following problem:
I have recorded a data dvd and need to mount it on a linux red hat 4 enterprise server.
But when I run:
mount -t iso9660 /dev/hda /media/cdrecorder appear the following message:
mount: wrong fs type, bad option, bad superblock
then I run
dmesg... (5 Replies)
Hi whan i am trying to mount a windows share on linux i received the following error can some one help me with thsi
# mount -t cifs \\\\servername\testdata -o username=xw27,password=*es*feed /test
Mounting the DFS root for a particular server not implemented yet
No ip address specified... (5 Replies)
Hello All,
I have one query is "How to set the password for file using vi utility in linux.
Please reply to my queries. I am waiting for reply.
Thanks in advance.
Thanks.
Kuddus Shaikh (4 Replies)
Good evening, I've got a question, in our production system there is an application called Intermediate which ftp service is the core to to send back and forth from/to diferent destinations
Gradually FS / was ruuning out space and we took a long time to figure out what precesses were eating up... (9 Replies)
hi,
i have a problem with linux redhat .
I have a sequencial files and i want to delete a duplicate records .
How i can to do.
Thanks lot
Regards (5 Replies)