LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 01-03-2004, 08:54 PM   #1
ivansv
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Rep: Reputation: 0
partition activation


installed debian with a /, swap, and a 1gb part. unfortunately the deb install gave me no chance to activate as /usr/local the 1gb part. how can i activate a /usr/local or would it be possible to merge it into the / part. for more room. the parts. are setup in this order: /(hda5), 1gb(unassigned hda6), and swap(hda7). thanks for ur response.
 
Old 01-03-2004, 09:06 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can use partedit to make your / bigger,
or make a partition with the leftover space and mount it at /usr/local
with an entry in fstab
 
Old 01-03-2004, 09:18 PM   #3
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
ivansv,

Sure, you can add additional space to /, or anywhere you like for that matter.

Simply do the following:

1. Because you have three partitions right now, you will need to make an extended partition first. Depending on how much room you have left on your drive, run fdisk and set aside as much room as you can/need. I believe the ID to give for an extended partition is 5.

2. Now, create a primary partition in the extended partition space. This new partition will start at the same block as the extended partition so dont freak out Look at it this way, you are reserving a big empty space ( extended partition ) and filling it with useable partitions.

3. Once the new primary partition is created, save the new partition scheme and exit out of fdisk.

4. Format your new partition with whatever type of file system you like.

# mke2fs /dev/hda9 // whatever you named your new partition. This uses the ext2 filesystem.

5. As root do the following:

# cd /
# mkdir usr
# cd usr
# mkdir local

This will create the /usr/local directory you need in the root directory tree.

6. Now simply mount your new partition in /usr/local

# mount /dev/hda9 /usr/local

All the space you set aside with the new partition should be available.

7. To have the /dev/hda9 mount done automatically at boot add the following to your /etc/fstab file

# /dev/hda9 /usr/local ext2 noatime 0 0

Substitute the file system type with the type you used when formating the partition.

That should do it.

Good luck.
 
Old 01-04-2004, 03:13 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
he has an extended drive already. hda5,6, and 7 is the proof.
a partition in an extended partition is called a logical partition, but that's
not really important.

it looks like he just has hda6 not mounted.

please don't take offense.
 
Old 01-04-2004, 05:36 AM   #5
ivansv
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Original Poster
Rep: Reputation: 0
partition activation

fellows, thanks for ur responses. breezwell, whansard is right i already have an ext part which means i can skip ur first 3 steps and use the rest. thanks for pointing me in the right direction, this is an area where i need some reading up on.
 
Old 01-04-2004, 09:13 AM   #6
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
Thumbs up

No offense taken.
I just tend to type faster than my brain works at time.
 
  


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
Windows XP activation rant! ShakyJake General 30 07-12-2005 08:09 AM
NICs ACTivation aquiline Linux - Networking 0 03-23-2005 07:26 AM
What is bonobo-activation? BajaNick Linux - Security 3 03-14-2005 12:04 PM
Modem activation problem alcanon Linux - Newbie 3 01-28-2004 10:27 AM
Tripwire Activation NoviceW Linux - General 1 12-14-2003 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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