May 21, 2012, 09:17:07 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your links to our directory. Click here to add your links.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Add your links to our directory. Click here to add your links.
Pages: [1]
  Print  
Author Topic:

Adding a new partition

 (Read 2637 times)
0 Members and 1 Guest are viewing this topic.
xulescu
Administrator
Sr. Member
*****

Points: 8
Offline Offline

Posts: 259


WWW
« on: June 22, 2006, 09:40:49 »

Hi,

 I have 10 G of free hardrive and I want to useit under linux. How can I add this partition ?

Thankx
Logged



TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: June 22, 2006, 10:06:27 »

With fdisk:

Code:
fdisk /dev/hda [b](if your harddrive is IDE Master)[/b]

Bellow are the command for working with partitions.
Quote
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

or use cfdisk which is more easier to create/delete/modify partitions

Regards

P.S. Anyway after that you need to format and mount

Logged

xulescu
Administrator
Sr. Member
*****

Points: 8
Offline Offline

Posts: 259


WWW
« Reply #2 on: June 23, 2006, 12:39:21 »

Worked. I used cfdisk. after that I formated the disk with mkfs.reiserfs and is ok ... but how can I make an automatic mount at boot time ?

thx
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #3 on: June 23, 2006, 13:01:53 »

Look in /etc/fstab ... the you will find an example how to add tyour disk there. After that at first reboot the parition will be mounted


Regards
Logged

xulescu
Administrator
Sr. Member
*****

Points: 8
Offline Offline

Posts: 259


WWW
« Reply #4 on: June 23, 2006, 13:48:15 »

Thanks ... again ...
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!