Re: Replacing root device on a running system

2004-10-29 Thread Pigeon
On Fri, Oct 29, 2004 at 03:42:10PM +0100, Ben Hutchings wrote: > Micha Feigin wrote: > >Is it possible to change the root device on a running linux system? > > Yes; use the pivot_root system call. I don't know of any command that > provides access to that, though. /sbin/pivot_root :-) man 8 pi

Re: Replacing root device on a running system

2004-10-29 Thread Ben Hutchings
Micha Feigin wrote: Is it possible to change the root device on a running linux system? Yes; use the pivot_root system call. I don't know of any command that provides access to that, though. It is mainly used to switch from the initrd to the normal root filesystem. Ben. -- To UNSUBSCRIBE, emai

Replacing root device on a running system

2004-10-27 Thread Micha Feigin
Is it possible to change the root device on a running linux system? I tried mounting a different device over the currently mounted root and it claims to have mounted, but I still see the old system. The idea is to give the kernel root=/dev/hda1 for example, and the in /etc/fstab on /dev/hda1 to mo