LinuxQuestions.org
Help answer threads with 0 replies.
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 09-08-2006, 04:15 AM   #1
pielgrzym
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Moving Kubuntu accross partitions


Hello I already asked on ubuntuforums, but got no reply, hopefully here somebody would be so kind to answer my questions

I installed Kubuntu to check how does the new KDE look and I really fell in love with it. Since I want to keep Kubuntu and don't need windows anymore (vmware is good enough) I would like to move Kubuntu to my main partition. Here is how the situtation looks:

First disk – WD 40GB – connected to mobo controller:

Primary partition:
22 GB – Windows installed + lilo installed (can't boot win any more ).

Extended partition:
18 GB:
2GB SWAP
16GB XFS – here we have Kubuntu

Second disk – WD 160GB – connected to external PCI controller:
Two NTFS partitions, both 80GB.

Unfortunately the qtparted doesn't work on my system (it crashes after opening the NTFS 160GB disk – I installed Kubuntu with cfparted and alternate install CD). All I have now is cfdisk, and other cli tools (gparted works too, but I don't know if it won't cause trouble since it's for GNOME actually).

My plan:

1.Delete primary partition from wd 40GB and create:
-swap – 2GB (probably in XFS)
-boot – 100MB – in ext3 (didn't know it's important when I was installing Kubuntu)
- / - rest of space – in XFS
-mount /home on the second hard drive (size ca. 40GB)

Then:

1.Test the system for a couple of days
2.If it works delete old Linux partitions and merge them into the root partition (it's possible in XFS isn't it? How to do this?)
3.Format the rest of second hard drive and mount it as XFS “/stuff” folder

Here are my quiestions regarding the plan:

1.Can I manipulate partitions in the primary partition on the smaller disk without affecting the expanded partition?
2.How to acces the hde (smaller disk, the one I boot)? cfdisk can only see the big NTFS disk (called hda5 and hda6)
3.Is moving the system only a case of properly formed cp command? Please could you tell me how to exactly move the system to a new location?
4.XFS supports expanding – how to expand an xfs partition? Which command does it?
5.After succesfully reformating stuff how to install and configure grub (since now I use Lilo) to have ability to boot from old and new location (I need this temporarly to check if new system works fine)?
6.I have preload enabled – will it affect the moving of system?

Or maybe there is another way? What if I reformat the disk and install Kubuntu from scratch and then I will move the directory where installed .deb packages are located and make them install somehow? And then move home folder with all the settings? And then compile the kernel from scratch, amarok, kde, nope – I'll try to move my current system first


I will be very gratefull for all your answers and suggestions thanks in advance
 
Old 09-08-2006, 06:03 AM   #2
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
1: yes as long as you dont touch the expanded partition
2: by calling
Code:
$ cfdisk /dev/hde
3: no lots of configuration is done based on partition
4: dunno
5: dunno grub but lilo can do that too just install it to the mbr and add the different partition
6: dunno

now to you wanting to move the entire system... i dont think thats a good idea. ya need to reinstall ubuntu (kubuntu) onto the new partition. if you want to keep your config you altered yourself copy the relevent files from /etc/ and the entire /home folder

moving a distro to another partition isnt generaly a good idea imo.
 
  


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
Moving data between Partitions crofty13 Linux - Software 3 07-14-2006 08:43 PM
moving partitions toaster.waffle Linux - General 5 06-09-2005 12:15 AM
Moving Partitions. firedance Linux - General 1 01-08-2005 04:07 AM
moving partitions around Rocker Linux - General 7 02-02-2004 11:21 AM
Moving partitions nabil Linux - Software 5 07-17-2001 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 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