LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2002, 01:29 PM   #1
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Lightbulb resizing, formatting, merging...


My greetings LQ! I want you guys to help me in accomplishing on very serious task....

I have 20GB hard drive:
/dev/hda
{
/dev/hda1 - NTFS 6.5GB Partition where WinblozeXP lives ( but not for long )
/dev/hda2 - reiserFs 3GB Linux part
/dev/hda3 - Linux Swap 256Mb
/dev/hda5 - Fat32 part ( where music is stored ) all rest space

So what I want to do is resize ntfs part. to 3GB, shrink XP, and install there Win2k.
Then redistribute free space that should be 3GB and add it to Linux
Main problem is: How to add this 3GB to Linux?
I want to make it with GNU-Parted. Guys can you provide me with some info on how can I solve this problem
I would be very glad to hear some answers
thnx
 
Old 10-01-2002, 02:49 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Parted cant' handle NTFS, unfortunatelly. Partition Magic can. I don't remember any free program that is able to do it for you...
 
Old 10-01-2002, 03:11 PM   #3
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
Yes I will do NTFS resizing with PM, but I need to merge reiserfs part with freespace
???
 
Old 10-01-2002, 03:27 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
you would just need to create a fylesystem on the free space you'd have after resizing NTFS, so say it is /dev/hdb2, first format it
cfdisk /dev/hdb2
to linux native, then
mke2fs /dev/hdb2, you can create journaling as well ext3 with -j flag
then create a mount point for it
cd /
mkdir /misc
and mount it
mount -text3 /dev/hdb2 /misc
if everything goes as planned
add the entry to /etc/fstab
/dev/hdb2 /misc ext3 defaults 1 2
and you should be alright
consult man page for mke2fs
and if you want ReiserFS, JFS, or XFS instead use the appropriate tools to create such types of filesystem. It is a little bit off head for me I don't remember the tool names, so http://google.com/linux should save you a fortune.
 
Old 10-01-2002, 03:33 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It is mkreiserfs for reiserfs
mkreiserfs /dev/hdb2
as an example and make sure to include write filesystem in the mount command and /etc/fstab instead of ext3
 
Old 10-01-2002, 03:56 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
And at that point, you then could probably use parted to distribute the space, if you wanted to add it to a fast filling partition. Since it'd be ext2/3 or Reiser, you should have more luck with it. But if you just wanted to add it to Linux, and have it available for whatever, Boris has given quite the good answer, and you can stop after that.

Cool
 
Old 10-02-2002, 02:38 PM   #7
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Original Poster
Rep: Reputation: 30
Thank you, but it only for now, I will have more questions in that thread
 
  


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
mp3 merging delos Linux - Software 7 05-03-2009 01:33 AM
merging mpg files karhu Linux - Software 4 07-28-2005 05:25 AM
Merging Interfaces MBH Linux - Networking 1 02-12-2005 07:08 PM
Splitting then Merging Pres Linux - General 2 03-01-2004 09:03 AM
Merging partitions Chrissi Linux - General 7 06-08-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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