LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-29-2007, 12:05 PM   #1
hulk321
Member
 
Registered: Jul 2007
Posts: 137

Rep: Reputation: 15
Using fdisk utility


Hi,
i have hard drive with four partitions on it. two are NTFS and two are FAT32. windows xp is installed on first NTFS drive.
when i boot from cd to install slackware 10.1 i do the following;

login as root
fdisk /dev/hda
when print for partition tables it shows no drive
then
n for creating a drive
p to creat primary
i chose the default option 1
then go for n and chose e for extended
i chose 1 it says it has already been occupied. if i try 2 it says there is no space available for this action
i delet d1 then go for extended at 1. then go for logical drive at 5 then at 6.
when i type w to write the table it say permission is denied.

what do i do now.

please guide.
 
Old 08-29-2007, 12:30 PM   #2
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Thumbs up

Quote:
Originally Posted by hulk321 View Post
Hi,
i have hard drive with four partitions on it. two are NTFS and two are FAT32. windows xp is installed on first NTFS drive.
when i boot from cd to install slackware 10.1 i do the following;

login as root
fdisk /dev/hda
when print for partition tables it shows no drive
then
n for creating a drive
p to creat primary
i chose the default option 1
then go for n and chose e for extended
i chose 1 it says it has already been occupied. if i try 2 it says there is no space available for this action
i delet d1 then go for extended at 1. then go for logical drive at 5 then at 6.
when i type w to write the table it say permission is denied.

what do i do now.

please guide.
Have you tried CFDISK ?

Are you doing this to install Linux, if so follow this link.

If your just configuring your drive then check out this graphical partitioner package.

- Perry
 
Old 08-29-2007, 12:51 PM   #3
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by hulk321 View Post
login as root
fdisk /dev/hda
when print for partition tables it shows no drive
Can you be more specific?
Quote:
Originally Posted by hulk321
then
n for creating a drive
p to creat primary
i chose the default option 1
then go for n and chose e for extended
i chose 1 it says it has already been occupied. if i try 2 it says there is no space available for this action
i delet d1 then go for extended at 1. then go for logical drive at 5 then at 6.
when i type w to write the table it say permission is denied.
n - create a new partition -> you can't, you have already 4 primary partitions

Code:
# fdisk /dev/hdb

Command (m for help): p

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        1500    12048718+   7  HPFS/NTFS
/dev/hdb2            1501        4500    24097500    7  HPFS/NTFS
/dev/hdb3            4501        8000    28113750   83  Linux
/dev/hdb4            8001        9729    13888192+  83  Linux

Command (m for help): d
Partition number (1-4): 1

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Selected partition 1
First cylinder (1-9729, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-1500, default 1500): 1500

Command (m for help): n
First cylinder (1-1500, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-1500, default 1500): 700

Command (m for help): n
First cylinder (701-1500, default 701): 701
Last cylinder or +size or +sizeM or +sizeK (701-1500, default 1500): 1500

Command (m for help): p

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        1500    12048718+   5  Extended
/dev/hdb2            1501        4500    24097500    7  HPFS/NTFS
/dev/hdb3            4501        8000    28113750   83  Linux
/dev/hdb4            8001        9729    13888192+  83  Linux
/dev/hdb5               1         700     5622687   83  Linux
/dev/hdb6             701        1500     6425968+  83  Linux

Command (m for help): w
Did you follow the same steps?
 
  


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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
What's the utility??? archive Mandriva 2 03-28-2007 10:01 AM
"multiboot utility" and "dell utility partition" on dell i5150 xround Linux - Laptop and Netbook 5 04-21-2005 09:19 AM
rm utility seanatis Linux - General 1 09-05-2004 03:56 PM
very useful utility, everyone should see exodist Linux - Software 3 08-27-2003 03:29 AM

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

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