Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-15-2004, 08:55 PM   #1
Registered: Nov 2004
Location: Zona Leste, Sao Paulo, Brazil, South America, Alpha Quadrant, Milk Way
Distribution: Slackware 14.0
Posts: 140

Rep: Reputation: 16
new /opt partition from / without resizing with parted


I have some ntfs partitions (hda1, 5,6,7) and then a small (I know I am guilt) hda3 (1.3 giaga) primary and / partition. ( and then the other ones, like swap, usr(reiserfs), home(reiserfs),var(ext2),tmp(ext2) and not used space)
What I need is to do , if possible:

1- Erase hda7 (win partition with 4.3 giga) and create a linux reiserfs partition. That is NO problem.

2- Transfer all my /opt from the / partition to this new one, so I'd have more space to isnstall my stuff, and of course update lilo and fstab.
--> How do I do this????

I know I can't just to erase the hda7 and resize hda3, like with 'gnu parted', because I'd need to maintain the start cylinder, and that is not possible , since hda7 is fisicaly before hda3...

So I think that I can just create a new one, and than transfer all the /opt... but I just NEVER did that before...

By the way, I am using a Slack 10.

Is there any good soul who could help me? :-)

btw: just asking... if I install a new second hd, create a big lvm2 and start moving everything, including boot, root, and all? but please, I need a realistic answer to the real problem, like I asked about the new partition,, and some suggestions and some light about this different option just if that isn't possible; what I suppose is easy, but complicated to me because I never did it before.

Thanks and bye....
Old 12-16-2004, 01:50 AM   #2
Registered: Oct 2003
Location: india
Distribution: slack
Posts: 34

Rep: Reputation: 15
make the new partition
format it
mount it somewhere
copy /opt
rename your /opt to something else
mkdir /opt
change your /etc/fstab to mount it on /opt at boot


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
partition resizing using parted...bad memories of fdisk rextor Linux - General 1 07-30-2005 10:34 AM
Resizing a linux partition using parted Ofvitinn Linux - General 5 10-04-2004 10:22 PM
Help with Parted & Resizing Partitions beley Linux - Hardware 2 02-27-2004 11:42 PM
Resizing Partition on RH9 using Parted Sticks Linux - Newbie 0 07-26-2003 12:29 AM
Resizing EXT3 partition using parted??? Hegemon Linux - General 1 01-21-2003 12:59 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:39 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
Open Source Consulting | Domain Registration