LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2004, 04:06 AM   #1
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
Partition re-arranging, Imaging and Linux


Here's a little way of saving you time if you want to add partitions, a new Distro, increase the size of your root partition, or even mess around with 'Doze partitions without having to re-install your main Linux Distro.

I'm running SUSE 9 but the same method should be applicable to most other distros.

BEFORE YOU START -- ensure you have your bootable installation CD, and WRITE DOWN THE MOUNT POINTS in your fstab for example if you have a single partition on /dev/hda7 as root then note it down.

1) Back up your Linux system partitions (you don't need to back up swap) with imaging software -- Norton Ghost / Acronis True image work here -- Drive Image works as well so long as you have DI 2003--- don't bother with the new version as it's bloatware and needs Microsoft Net to run.

2) Using any type of partition manager re-arrange your partitions.

3) Restore your Linux partitions -- the imaging software can be run from a bootable Cd floppies. The partitions can be re-sized as well.
Note the new number of your partitions -- in the above example say you've added a partition your restored Linux partition might now be /dev/hda9 instead of /dev/hda7.

4) Boot your installation CD -- select new installation (SUSE) or whatever option which will eventually allow you to "Repair existing installation"

5) SUSE YAST will eventually prompt for New Installation / Repair Installation / Boot existing system. Choose repair existing system.

6) Check the repair options -- the items of particular importance are
a) FSTAB ENTRIES
b) GRUB boot loader.

7) YAST will guide you through the FSTAB fix for exable if your original root partition was on /dev/hda7 you will be prompted to alter this -- select REMOVE. It will aslo come up with an entry like this -- using the example of where the restored linux partition is hda9 the screen will show /DEV/HDA9 Data -- change the mountpoint to / (your root partition) and select REPAIR.

8) GRUB will now need to be fixed -- YAST will prompt --- DO NOT INSTALL GRUB on the MBR -- select the boot partition -- in this case it will be hda9 (the single root partition).

9) now you can exit and re-boot.

If you are using a dual / multiple booting mechanism select Linux and your restored system should boot normally as if nothing had happened.


If you HAVE to install on the MBR ensure that you have valid entries for your other operating systems -- you can fix this after Linux re-boots as well.


Have Fun --- I've now got 3 distros and 'Doze XP running on the same system --- tip ensure the root partitions of the non booted linux systems are not mounted at boot time on the distro you are running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help with re-arranging hard disk partitions umichLinux Linux - General 4 04-10-2005 05:13 PM
imaging linux euforia Linux - Distributions 2 11-02-2004 03:22 PM
Linux Imaging??? Devboy Linux - Newbie 2 01-11-2004 09:32 PM
Dual bootup. Arranging order amoskoh Linux - General 1 01-25-2003 01:41 PM
Zenworks imaging with Linux Michelle Hall Linux - Networking 1 12-04-2002 11:56 PM


All times are GMT -5. The time now is 01:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration