LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-06-2008, 07:23 PM   #1
babag
Member
 
Registered: Aug 2003
Posts: 419

Rep: Reputation: 31
best way to clone mandriva (2007 spring) hard drive


i need to make a couple of matching boxes using surplus hardware.
i have a 2007.1 installation i like that's been tested and works
great. what's the best way to now duplicate that system on a
couple of other boxes? (i have a couple of matching boxes.)

tried making a partimage partition backup of hda1 but that's
failed at every turn. i made some progress getting it to boot
but it still fails, to the point that simply doing a fresh
install, updating, installing additional apps, and configuring
would actually be faster than going through all that seems
necessary to get the partimage process to work.

some issues seem mandriva specific so i finally figured out i
should probably come here and see if anyone else is successfully
cloning a mandriva system and what the steps are they're going
through to get it to be bootable and work.

how do you do it?

thanks,
BabaG

Last edited by babag; 03-06-2008 at 07:25 PM.
 
Old 03-06-2008, 07:43 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
I have these instructions for cloning, adapt as needed for your situation:

mkdir /mnt/oldroot
mkdir /mnt/oldhome
mkdir /mnt/newroot
mkdir /mnt/newhome

mount /dev/hda5 /mnt/oldroot
mount /dev/hda6 /mnt/oldhome
mount /dev/hdb5 /mnt/newroot
mount /dev/hdb6 /mnt/newhome

cp -dpRx /mnt/oldroot /mnt/newroot
cp -dpRx /mnt/oldhome/* /mnt/newhome/*



-- To Fix Boot --

mount -t proc proc /mnt/newroot/proc
chroot /mnt/newroot /bin/bash
source /etc/profile
grub --no-floppy
device (hd0) /dev/hdb
root (hd0,4)
setup (hd0)
 
Old 03-08-2008, 06:11 PM   #3
babag
Member
 
Registered: Aug 2003
Posts: 419

Original Poster
Rep: Reputation: 31
thanks {BBI}Nexus{BBI}. used a variant of this. the fixing of
the booting was beyond me but i found something that was, for
me, simpler: reboot with mandriva disc--->rescue system--->
reinstall boot loader. here's a link to a detailed description
of how i got things working for anyone who might be interested.


http://www.linuxquestions.org/questi...027/page3.html


thanks again,
BabaG
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
zip 100 MB parallel port drive on Mandriva 2007 Spring One jscottdl Linux - Hardware 5 05-22-2007 12:03 PM
LXer: The Perfect Desktop - Mandriva 2007 Spring Free (Mandriva 2007.1) LXer Syndicated Linux News 0 05-10-2007 02:01 PM
LXer: Mandriva releases Mandriva Linux 2007 Spring LXer Syndicated Linux News 0 04-18-2007 11:16 PM
LXer: Mandriva Linux 2007 Spring: Here Comes The Spring LXer Syndicated Linux News 0 03-24-2007 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration