LinuxQuestions.org
Review your favorite Linux distribution.
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, 08: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, 09:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 12:54 PM   #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 01:21 PM.
 
Old 08-12-2004, 01:46 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 02: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


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


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