[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: how to boot single-user mode?



On 11:44:51 Ken Gaugler wrote:
>>Last night I tried and tried to get my system to come up in
>single user mode (so I could do some major filesystem changes).

Ken, I'm not certain, but you can get to it by issuing the command
'telinit 1' while logged in as root.  Thats one way.

>For background, I need to change the size of some partitions, so
>I need to copy whole partitions to a temporary location while I
>re-do the partition table on the target disk.  I hope to avoid
>having to re-install from tape or from scratch this way.

Perhaps a suggestion for you to consider to accomplish this is
using cpio.  For example, the command 'find . -depth | cpio -pdmv
/target_dir' will make an exact copy of a filesystem, preserving links
and file access times, etc.  If you execute the above from the top dir
of a filesystem, it will make a duplicate at the 'target_dir'.  I have used
cpio like this to copy the entire root and/or /usr partitions to new
locations with no problems whatsoever.

Paul



Reply to: