[CentOS] 6.5 single user mode

Wed Feb 5 15:59:52 UTC 2014
Steve Clark <sclark at netwolves.com>

On 02/05/2014 08:57 AM, Les Mikesell wrote:
> On Wed, Feb 5, 2014 at 5:44 AM, Steve Clark <sclark at netwolves.com> wrote:
>> If what you are really doing is the equivalent of cloning images, you
>> might look at clonezilla, or the backup/restore package called rear
>> (in EPEL).   But for a quick brute-force change, you could probably
>> edit /etc/init/rcS-sulogin.conf and add the script you want to replace
>> /sbin/sushell.
>>
>> Hi Les,
>>
>>      Yes I found that file - Thanks.
>>
> I'd still recommend looking at clonezilla and rear.  Clonezilla-live
> is a CD you boot to save/restore images - and there is also a network
> server version for PXE booting and image storage.  The good part is
> that it can handle windows along with most linux versions.  The down
> side is that the restore disk has to be the same size or larger.
> Rear is a set of shell scripts that use your own system tools to build
> a bootable image containing the scripts you need to partition, format,
> and restore (pretty much exactly what you are doing but with more
> options).   It is really intended as a backup with a fast simple
> restore back on the same hardware, but you have an opportunity to
> change the disk layout if needed so it works for cloning or moving a
> working system.
>
> In an case, the other thing new in 6.x is that you need to remove the
> udev rules for the NICs or update them with the new MAC addresses or
> the cloned machine will start its ethx names above the old ones, plus
> fix the /etc/sysconfig/network-scripts/ifcfg-ethx files like you did
> in 5.x.
Yep - already ran into that. We have had our working for about 4 years and it was based on 5.x we
are moving to x86_64 bit 6.x so I am creating a new usb key using 64 bit 6.x.
>


-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.netwolves.com