Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 07-20-2006, 10:48 AM   #1
LQ Newbie
Registered: Jul 2006
Location: Scotland
Distribution: Gentoo
Posts: 21

Rep: Reputation: 0
Moving Linux Installation from One Partition to another?


I am currently working on a laptop with Linux (Ubuntu) and XP installed. I have a spare partition (around 6GB) that I want to install and configure Linux on (Linux From Scratch), but the thing is, if the installation is successfull I want to copy (to removable device) the Linux From Scratch installation from the partition it was installed to (hda2) and delete the current Linux installation (Ubuntu) and associated partitions, re-partition as necessary (if at-all) and then copy what was on hda2 back onto one of the new partitions (not necessarily hda2).

It may seem easier to delete Ubuntu, partition and install but I specifically want to install, backup new installation, repartition and copy backup installation back onto new partitions, if for no other reason than to be able to do other work using my computer while Linux is compiling on the spare partition.

I can think of no reason why installing to a partition, copying, repartitioning, and copying backed up installation onto fresh partitions can't be done as after all it is just data on a drive, but at the same time maybe I am missing something!!!??? The only thing I can think of is ensuring the Grub.conf (menu.lst) file is pointing to the right partition.

Does anyone have any thoughts, suggestions, or even instructions???

Thanks in advance.

Last edited by jsstevenson; 07-20-2006 at 10:49 AM.
Old 07-20-2006, 11:05 AM   #2
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,179
Blog Entries: 8

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
You will need to edit /etc/fstab to mount the new partitions instead of the old ones, as well as editing the /boot/grub/menu.lst entry to boot up from the new partition.


installation, moving, partitions

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving linux partition from original hard drive to another, howto??? Fear58 Linux - General 22 02-15-2008 04:26 PM
moving files from windows partition to linux partition M O L8ingN2dust Linux - Newbie 11 01-08-2006 09:11 PM
Moving an entire Linux installation ... dhave Linux - General 7 10-19-2004 02:52 PM
Moving linux partition short101 Debian 4 10-14-2004 06:06 AM
Moving from extended partition to primary partition joelbudgor Linux - General 5 05-26-2004 06:08 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:28 PM.

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