LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2004, 07:55 PM   #1
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Changing from 2 partition to 3 partition system


I currently have Windows XP Pro and Mandrake 10 installed. My current partition table exists like this: - All values approximated:

1) 30 gb - FAT32
2) 9.5 gb - ext3
3) 500 mb - swap

FAt32 = Windows XP
ext3 = /
swap = swap

What I'd like to do, is cut my 9.5 gig section into 2 sections, one /home and all the rest on another. Is this possible, if so are ther any tutorials on this? I realize I'm in for a task, but where would i accomplish it? I can't use DiskDrake, as it would require unmounting my / partition wouldn't it? Would it be possible to do in Single-User mode?

Thanks.
--John
 
Old 08-11-2004, 08:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If you have plenty of room on the FAT32
I'd tar.gz my system into two files (one home,
one the rest), repartition it and restore :)

You may have to reconfigure lilo/grub,
and that should do it.


Cheers,
Tink
 
Old 08-12-2004, 11:54 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
ok: so while im in linux, i would do this:
Code:
# umount /mnt/windows
# tar -c home.tar
# tar -a /home/* ./home.tar
And i believ that would tar up my /home directory. Then would i simply
Code:
# rm -RF /home
# tar -c everything.else.tar
# tar -a /* ./everything.tar
# mount /dev/hda1 /mnt/windows
# mkdir /mnt/windows/Linux
# mv everything.else.tar /mnt/windows/Linux/
# mv home.tar /mnt/windows/Linux/
reformat/repartition, then just expand the *.tar files to / and /home respectively?
Where would I do this? After repartitioning, I would wipe out my current installation, thus making it inaccessible (can't access it thru windows). How would I expand the *.tar files?

Last edited by scuzzman; 08-12-2004 at 12:21 PM.
 
Old 08-12-2004, 12:46 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You would use knoppix or a Linux installation CD
(Slackware's installation CD for example lets you)
to re-partition and format your new partitions, and
then use the same thing to mount the windows
partition and untar the saved files to the newly
created Linux partitions.

Make sure your install CDs busy-box knows about
tar before you repartition, though ;)


Cheers,
Tink
 
Old 08-12-2004, 01:18 PM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
Bookmarked for home use.
*Affero'ed*
Thanks a lot Tink.
 
  


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
changing partition gamor Linux - Newbie 1 08-06-2005 05:37 PM
Changing /home partition disinformation Linux - General 5 01-29-2004 05:57 AM
Changing partition sizes SchwarzeFeen Linux - General 3 01-05-2004 11:57 PM
Help changing partition to ReiserFS Gates1026 Linux - Newbie 7 09-18-2003 10:03 PM
changing a partition eddcrossman Linux - Newbie 17 02-16-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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