LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-02-2009, 02:50 AM   #1
The MoD
LQ Newbie
 
Registered: Nov 2008
Posts: 16

Rep: Reputation: 2
How to move my ZW installation to a new box?


Hi,

I plan to move my ZW 6.0 installation to a new box. There will be several partitions.

So far I know that I could use partimage for that. As a consequence the partition sizes have to be exactly the same. With fdisk of gparted I think I can figure out how many sectors I really need ...

Now the questions:

1) Is there a tool / way that would allow me to move to a new partition and grow the partition size? Growing it after successful installation would be acceptable.

2) Currently I'm using Grub Legacy as my boot loader. For the time being I'd prefer staying with it. But I assume that I have somehow to re-configure it so the it finds the right partition. How would I do that?

Any help is highly welcome.


regards,


The MoD
 
Old 09-03-2009, 12:19 PM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
I have accomplished the same scenario with a couple of tools. I used Clonezilla which uses partimage, and gparted.

First I saved the combined partitions on a reserved drive. With clonezilla you can restore the original partition tables that was on the drive (mbr). And on restore you can decide to restore the original partition table or just leave it alone. If your hdd are the same I dont see a problem with cloning the drive.

There are bunch of options available with clonezilla. I like it because I can save it too a cd and backup and restore drives to another machine using ssh. Very handy tool.

I resize the new partitions with gparted, which is a Gnome tool. You'll have to find a gui tool for XFCE for ZenWalk, not sure of one for XFCE.

I try to get a close as I can in size using gparted. Clonezilla can restore to a partition that is the same size or larger.

After backing up the partitions I restore with the options (no grub) & (-k do not change partition table from image). This way I can use the new partition tables I created using gparted. Then after restore, I use a linux live disk, and manually restore grub. Since I had grub installed originally, I dont have to re-create my menu.lst or grub.conf. In the live disk I run these commands

Code:
# su

# grub

grub> find /boot/grub/stage1
      (hd0,0)      <---  This is the location of the menu.lst file

grub> root (hd0,0) <--- This tells grub where the menu.lst file is located

grub> setup (hd0)  <--- This installs grub to the mbr

grub> quit
Then when I restart I have the original menu and grub is restored to the mbr

Last edited by manwithaplan; 09-03-2009 at 12:33 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to update linux configuration after move the HD to anther box Dr_Death_UAE Linux - General 4 07-14-2009 06:31 PM
Can't init Slackware 11 after hardware failure and move to new box Randux Slackware 3 12-23-2008 06:13 AM
Move from one Linux Box to another hambleto Linux - General 4 08-02-2007 03:55 PM
move hard drives to anew box.... elmurado Linux - Hardware 6 03-20-2006 05:46 PM
Move my Mandrake 9.1 Harddrive to a box with a Win2K install on another HD? d3funct Linux - Software 2 11-19-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:58 AM.

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