LinuxQuestions.org
Help answer threads with 0 replies.
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 11-23-2010, 04:07 AM   #1
morad_dba
LQ Newbie
 
Registered: Jun 2010
Posts: 18

Rep: Reputation: 0
cannot format extended partion as ext3


Dear all,
Today I add hard disk and tried to make partion tion as extended. but i could not format it as ext3. and I could not also access the drive
using fidsk /dev/sdb1. It rerurns error as: /dev/sdb1 unable to read .
Please help me.

Regards,
Morad_dba
 
Old 11-23-2010, 04:12 AM   #2
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
To help we need some information:
Your distribution, your desktop, your partitions.
Please post the output of a terminal:
Code:
lsb_release -rd
If you have Gnome:
Code:
gnome-about
and as a root:
Code:
fdisk -l
"l" like list
alfredo
 
Old 11-23-2010, 04:17 AM   #3
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
fdisk works with drives not partitions:
Code:
fdisk /dev/sdb
And for formating is mkfs.ext3, but first check fdisk -l as suggest alfredo10.

Last edited by eSelix; 11-23-2010 at 04:19 AM.
 
Old 11-23-2010, 04:46 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
It would be very helpful if you retry the command you used to "format it as ext3" then copy the command and the output into a post in this thread (the fdisk -l /dev/sdb output would be useful too, as already mentioned).
 
Old 11-23-2010, 05:04 AM   #5
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
Maybe the OP tries to format an extended partition?
That's not possible; the extended partition is a container for logical partitions.
@ Morad_dba:
On the hard disk of your computer you only can have 4 primary or 3 primary and 1 extended partition, which can include 12 (or more - depends on the hardware) logical partitions; these you can format as ext3, ext4,...
alfredo
 
Old 11-23-2010, 10:51 PM   #6
morad_dba
LQ Newbie
 
Registered: Jun 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Dear all,

I solved the problem. Actually I wrongly used the command fdisk /dev/sdb1. That's why It returns /dev/sdb1 unable to read. Finally I typed fdisk /dev/sdb. and I delete the extended partition and make it as primary. and mount it in a mountpoint.

Thanks everybody.

Regards,
Morad.
 
Old 11-23-2010, 11:12 PM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Glad you solved it. In case you want more than 4 partitions it is a good idea to have an extended partition. Threads can be marked SOLVED via the Thread Tools menu.
 
  


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
how to format swap partion rajesh_alpha Linux - Kernel 4 03-09-2010 09:58 AM
problem mounting a linux partion from another ext3 partion fkeith Linux - Hardware 1 10-14-2007 07:33 PM
format a partion hammam12 Linux - Software 14 06-26-2006 07:22 AM
Merging empty hard drive with root partion on ext3? crayolarx Linux - General 11 03-06-2004 03:29 PM
is windows extended partion free space visible to linux fdisk purplesky Linux - General 1 11-12-2002 07:27 PM

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

All times are GMT -5. The time now is 02:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration