LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2008, 02:42 AM   #1
linux_newbie86
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
unable to mount extended partition


Hi All

I am facing problem in mounting teh extended partition.
hda4 is the extended partition and further 5 & 6 are its primary partition.
When i did cat /proc/partitions, i got the follwoing output:
blocks name rio rmerge rsect ruse wio wmerge wsect wuse runni
ng use aveq

3 0 1000944 ide/host0/bus0/target0/lun0/disc 916 9855 21542 6750 461 1
410 3768 83400 0 33890 90290
3 1 251968 ide/host0/bus0/target0/lun0/part1 539 7308 15694 4520 2 0
4 150 0 4170 4670
3 2 248472 ide/host0/bus0/target0/lun0/part2 353 2538 5782 2220 452 1
409 3748 82970 0 29480 85330
3 3 406728 ide/host0/bus0/target0/lun0/part3 14 3 34 0 7 1 16 280 0 2
80 280
3 4 1 ide/host0/bus0/target0/lun0/part4 2 0 4 0 0 0 0 0 0 0 0
3 5 46336 ide/host0/bus0/target0/lun0/part5 0 0 0 0 0 0 0 0 0 0 0
3 6 47344 ide/host0/bus0/target0/lun0/part6 2 0 4 0 0 0 0 0 0 0 0

With fdisk -l /dev/hda, i am getting
Device Boot Start End Blocks Id System
/dev/hda1 * 1 250 251968+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(499, 15, 63) logical=(249, 31, 63)
Partition 1 does not end on cylinder boundary:
phys=(499, 15, 63) should be (499, 31, 63)
/dev/hda2 251 497 248472 83 Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(500, 0, 1) logical=(250, 0, 1)
Partition 2 has different physical/logical endings:
phys=(992, 15, 63) logical=(496, 15, 63)
Partition 2 does not end on cylinder boundary:
phys=(992, 15, 63) should be (992, 31, 63)
/dev/hda3 497 900 406728 83 Linux
/dev/hda4 901 993 93744 5 Extended
/dev/hda5 901 946 46336+ 83 Linux
/dev/hda6 947 993 47344+ 83 Linux

But when i am giving mount -t ext3 /dev/hda5 /backup, i amgetting the following error
mount: special device /dev/hda5 does not exist

Also no file with name hda5 and hda6 is created in the /dev directory.

Can anyone suggest the reason for this?

Regards
linux_newbie
 
Old 07-29-2008, 05:13 AM   #2
bhaveshvv109
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
Smile

Quote:
Originally Posted by linux_newbie86 View Post
Hi All

I am facing problem in mounting teh extended partition.
hda4 is the extended partition and further 5 & 6 are its primary partition.
When i did cat /proc/partitions, i got the follwoing output:
blocks name rio rmerge rsect ruse wio wmerge wsect wuse runni
ng use aveq

3 0 1000944 ide/host0/bus0/target0/lun0/disc 916 9855 21542 6750 461 1
410 3768 83400 0 33890 90290
3 1 251968 ide/host0/bus0/target0/lun0/part1 539 7308 15694 4520 2 0
4 150 0 4170 4670
3 2 248472 ide/host0/bus0/target0/lun0/part2 353 2538 5782 2220 452 1
409 3748 82970 0 29480 85330
3 3 406728 ide/host0/bus0/target0/lun0/part3 14 3 34 0 7 1 16 280 0 2
80 280
3 4 1 ide/host0/bus0/target0/lun0/part4 2 0 4 0 0 0 0 0 0 0 0
3 5 46336 ide/host0/bus0/target0/lun0/part5 0 0 0 0 0 0 0 0 0 0 0
3 6 47344 ide/host0/bus0/target0/lun0/part6 2 0 4 0 0 0 0 0 0 0 0

With fdisk -l /dev/hda, i am getting
Device Boot Start End Blocks Id System
/dev/hda1 * 1 250 251968+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(499, 15, 63) logical=(249, 31, 63)
Partition 1 does not end on cylinder boundary:
phys=(499, 15, 63) should be (499, 31, 63)
/dev/hda2 251 497 248472 83 Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(500, 0, 1) logical=(250, 0, 1)
Partition 2 has different physical/logical endings:
phys=(992, 15, 63) logical=(496, 15, 63)
Partition 2 does not end on cylinder boundary:
phys=(992, 15, 63) should be (992, 31, 63)
/dev/hda3 497 900 406728 83 Linux
/dev/hda4 901 993 93744 5 Extended
/dev/hda5 901 946 46336+ 83 Linux
/dev/hda6 947 993 47344+ 83 Linux

But when i am giving mount -t ext3 /dev/hda5 /backup, i amgetting the following error
mount: special device /dev/hda5 does not exist

Also no file with name hda5 and hda6 is created in the /dev directory.

Can anyone suggest the reason for this?

Regards
linux_newbie

It happen if your partion is exist but the device file removed by mistake... if your partion is blank then remove it and create once again.

If yo loaded some data then you can creat those device file by using the command "mknode" and then mount the partion.
 
Old 07-29-2008, 08:17 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Your thread title initially set me in the wrong direction. (You cannot mount an extended partition)
You are trying to mount hda5 which is a logical partition "contained in" hda4 (extended).

Did you create a file system on the partition?
 
  


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
Howto Mount Windows extended partition philipvarghese *BSD 1 07-11-2006 09:21 PM
/home is in extended partition. how to mount manually? damienduff Debian 4 01-31-2006 01:37 AM
Mount an Extended Windows partition newmans Fedora 5 11-01-2004 03:05 PM
Cannot mount windows extended partition ? TheFrogMr Linux - Newbie 3 03-26-2004 02:35 PM
mount point limitations in an extended partition code404 Linux - General 5 12-06-2002 03:33 PM


All times are GMT -5. The time now is 10:32 PM.

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