LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-08-2004, 03:30 PM   #1
embassy
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Trying to create a partition help


I am very new to this so please forgive my newbieness

I am trying to make a partition using fdisk command. Ok here is what I have done so far.

[root@shuttle ~]# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 203 102280+ 83 Linux
/dev/hda2 204 158816 79940952 8e Linux LVM

Disk /dev/sda: 120.0 GB, 120034124288 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 2 14593 117210240 f W95 Ext'd (LBA)
/dev/sda5 2 14593 117210208+ b W95 FAT32

I want to create a partition on my primary hard disk which I beleive is /dev/hda

Then I did this command fdisk /dev/hda and got this output

The number of cylinders for this disk is set to 158816.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Am I doing something wrong.

Please help. Thanks
 
Old 12-08-2004, 03:39 PM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you havent actually done anything yet....

this is just a warning that some old software cant handle such hige disks..
but i assume you are using a fairly recent linux kernel and lilo / grub boot manager right ?
 
Old 12-08-2004, 03:45 PM   #3
embassy
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by qwijibow
you havent actually done anything yet....

this is just a warning that some old software cant handle such hige disks..
but i assume you are using a fairly recent linux kernel and lilo / grub boot manager right ?
Yes Im using grub boot loader with the upto date kernel

When I get to this stage I press m for help and get these options

Command (m for help): m
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)

Command (m for help):

So I press n to add new partition and get this

Command (m for help): n
Command action
e extended
p primary partition (1-4)

Can you help me please.
 
Old 12-08-2004, 07:03 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
its asking if you want to create a new primary partiton, or a new extended partiton...

read "man fdisk" or use a more "newbie friendly" partiton tool like cfdisk, or qtparted.

basically, you can only have 4 primary partitons, if you require anu more you should have 3 primary partitons, and make the rest extended partitons.
 
  


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
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 05:01 AM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
create new partition vande Linux - Newbie 1 10-13-2004 11:35 PM
How do I create new partition? akilhoffer Linux - Newbie 5 08-31-2004 02:55 PM
Create partition? mikeshn Linux - General 7 02-08-2004 08:31 PM


All times are GMT -5. The time now is 02:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration