On Sat, 1 Apr 2000, John Anthony Kazos Jr. wrote:
> I wish to move my root partition from hda1 to hdb2. I figured the easiest way
> to do this is to remount the root partition as read-only and copy the files.
> But when I issue "mount -t e2fs -o remount,ro /dev/hda1 /" I get an error
> specifying that it's in use, and if I boot as "linux single" and try the same
> thing it ignores me completely. (Not even an error message; it just does
> nothing.) I thought about kludging lilo so it drops me into a console, but I
> don't want to do something as silly as this unless I have to.

init 1 to get into single user mode.  kill off any remaining daemons and
programs save for the kernel daemons and init.  you should have a few
gettys running and that's fine.

then mount -o remount,ro /

that should work for you.  the reason your prior attempt failed was because
there was a program running somewhere that still had open files.  like
klogd, syslogd, etc.

-d

Reply via email to