Ubuntu does not recognise correctly installed second IDE hard disc drive

Asked by Malcolm

I recently built my own system and installed 2x IDE 500gb HDDS which are correctly recognised as 500GB HDD x Master and Slave in the computer start up (that is POST and in BIOS). I then installed Ubuntu 32 bit 7.4 from the DVD and subsequently selected installation directly onto the Master HDD, (although I was given a choice to install on the Master or Slave HDD). In "Computer" the system now recognises when a removable USB flash drive (4GB) and a removable USB external HDD (160GB) are attached and also recognises the Master HDD (500gb) but does not recognise the Slave drive. In system Properties therefore the amount of used and free space is indicated for all drives except the slave HDD, that is a total of 664GB instead of the desired 1164GBs. On checking through installed items in the system via Ubuntu, the Master and Slave are identified. How do I get the OS to recognise the existence of the slave drive on the "Computer" menu so that I can use this as additional storage? At this stage I am thinking of using Ubuntu alone and not installing any Windows programme. Thanks Malcolm.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Matt Mossholder
Solved:
Last query:
Last reply:
Revision history for this message
DaveThacker (dthacker9) said :
#1

Hi Malcom,
Could you please post the output of "sudo fdisk -l"? That will tell me more about how you have formatted things and what disks the OS is seeing. Thanks Dave

Revision history for this message
Malcolm (locogas) said :
#2

Dear Dave,

Many thanks for the email.

The new build is not connected up to the net yet but have typed in sudo fdisk (it won"t wear -1 suffix) as you advised and I am typing what came up on screen using a different computer................................ The advice was

fdisk (-1) (-b552) (-u) device
G:- fdisk/dev/HDA (for the first IDE device)
or fdisk/dev/sdc (for the third SCS1 disk)
or fdisk/dev/eda (for the first PS/2 ESD1 drive)
or fdisk/dev/rd/c0d0 of fdisk/dev/cda/c0d0 (for RAID devices).

Is this of any help solving my problem? I am very grateful for your advice.

Cheers,
Malcolm.> To: <email address hidden>> From: <email address hidden>> Subject: Re: [Question #13596]: Ubuntu does not recognise correctly installed second IDE hard disc drive> Date: Tue, 18 Sep 2007 11:57:45 +0000> > Your question #13596 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/13596> > Status: Open => Needs information> > DaveThacker requested for more information:> Hi Malcom, > Could you please post the output of "sudo fdisk -l"? That will tell me more about how you have formatted things and what disks the OS is seeing. Thanks Dave> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/13596> > You received this question notification because you are a direct> subscriber of the question.

Revision history for this message
Jayotis Diggory (jayotis-d) said :
#3

how about `dmesg | tail`

Revision history for this message
Malcolm (locogas) said :
#4

Dear Dave,

I am very much on the Ubuntu learning curve and the information I sent you last night I suspect does not reflect sudo fdisk-1 and merely from the f disk command in the command line prompt. I did load the Ubuntu OS onto the slave disk independently of the Master. At boot up I am now asked to select which of the 2 identical Ubuntus OS"s to boot from. The master is identified as dev/hdc and the slave as dev/hdd.Each boot leads to the respective drive, but when in the slave drive I cannot access the contents of the master HDD and vice versa. However on checking the disk capacity Ubuntu now recognises 1000Gb of disc space (that is my 2x 500Gb IDE HDDs). I will try though and get the output from sudo fdisk-1

Malcolm.> To: <email address hidden>> From: <email address hidden>> Subject: Re: [Question #13596]: Ubuntu does not recognise correctly installed second IDE hard disc drive> Date: Tue, 18 Sep 2007 11:57:45 +0000> > Your question #13596 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/13596> > Status: Open => Needs information> > DaveThacker requested for more information:> Hi Malcom, > Could you please post the output of "sudo fdisk -l"? That will tell me more about how you have formatted things and what disks the OS is seeing. Thanks Dave> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/13596> > You received this question notification because you are a direct> subscriber of the question.

Revision history for this message
DaveThacker (dthacker9) said :
#5

Malcom,
It's actually "sudo fdisk -l" instead of sudo fdisk -1. Give that a try. Dave

Revision history for this message
Malcolm (locogas) said :
#6

Thanks Dave,

Will give it a go probably tonight, and will let you know if not tomorrow (Thursday), on Friday.

Cheers.
Malcolm
> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #13596]: Ubuntu does not recognise correctly installed second IDE hard disc drive> Date: Wed, 19 Sep 2007 12:02:16 +0000> > Your question #13596 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/13596> > Status: Open => Needs information> > DaveThacker requested for more information:> Malcom,> It's actually "sudo fdisk -l" instead of sudo fdisk -1. Give that a try. Dave> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/13596> > You received this question notification because you are a direct> subscriber of the question.

Revision history for this message
Malcolm (locogas) said :
#7

Hi Dave,

Thanks for your email I have already identified the master drive as hdc and the slave as hdd on my computer, so the following information on sudo fdisk -l indicatyes to me that the system recognises the 2 hdds. Unfortunately the linux I have just constructed is not connected to a printer or to the net, as yet. I have written the result from sudo fdisk -l and typed it to another computer connected to the net. It seems I may have omitted the information contained within blocks for the hdc device, I am not sure this is imperative, if it is I will re- obtain the info. To reiterate I have the Ubuntu OS installed per disk but neither HDD appears to be able to access the other without rebooting and selecting which disk, which is unfortunate. I will send this off now and await your advices with thanks.

Malcolm. sudo fdisk -i reveals... disk/dev/hdc 500:1 GB 500107862016 bytes55 heads 63 sectors/track 60801 cylindersunits = cylinders of 160656516*512 = 8225280 Device Boot Start End Blocks ID System dev.hdc1 * 1 60044 83 Linuxdev/hdc2 60045 60801 5 Extendeddev/hdc3 60045 60801 82 Linux swap/s drive/dev/hdd 500:1 GB 500107862016 bytes 55 heads 63 sectors/ track 60801 cylinderunits = cylinders of 16065X 512= 8225280 bytes device boot start end blocks id system dev/hdd1 * 1 10044 482303598 83 linuxdev.hdd2 60045 60801 6080602 5 extendeddev/hdd3 60045 60801 6080571 82 linux/swap
disk.dev/sda: 4032 MB 4032495104 bytes

heads 32 sectors/disk 61530 cylinders

units = cylinders of 128 * 512 = 65536 bytes

Device Boot Start End Blocks id system
dev.sda1 * 1 61531 3937967 6 W95FAT32

> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #13596]: Ubuntu does not recognise correctly installed second IDE hard disc drive> Date: Wed, 19 Sep 2007 12:02:16 +0000> > Your question #13596 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/13596> > Status: Open => Needs information> > DaveThacker requested for more information:> Malcom,> It's actually "sudo fdisk -l" instead of sudo fdisk -1. Give that a try. Dave> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/13596> > You received this question notification because you are a direct> subscriber of the question.

Revision history for this message
Matt Mossholder (matt-mossholder) said :
#8

Malcolm,
          The output from the 'fdisk -l' indicates that Ubuntu is seeing both drives. It is possible that the issue is that you haven't told ubuntu to utilize the second drive. It does appear to be formated for linux, so it might just be that it is not mounted anywhere.

          Could you provide us with the output of the 'mount' command, please?

          Regards,
                    --Matt

Revision history for this message
Malcolm (locogas) said :
#9

Dear Matt,

You are spot on with the comment re the 2 drives and I have now resolved the problem as of this morning. I constructed the system only a few weeks ago and there was a BIOS configuration error on my part which had a SATA drive enabled on the motherboard, instead of the 2nd IDE. I have a motherboard which has RAID and eRAID options via SATA drives but I elected to install IDEs instead of SATAs and the RAID option. Once the SATA command was disabled Linux now recognises both IDE drives on either booted HDD. To enter the alternative HDD Ubuntu asks for the password command, but I am not able to boot up the 2nd system once in there, but that may be an issue I can resolve once I learn a little more about what is to do .I am very much on the Linux (and OS construction) learning curve, and am very grateful for the support that the community support line has given me. Many thanks.

Malcolm.> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #13596]: Ubuntu does not recognise correctly installed second IDE hard disc drive> Date: Sun, 23 Sep 2007 02:40:19 +0000> > Your question #13596 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/13596> > Status: Open => Needs information> > Matt Mossholder requested for more information:> Malcolm, > The output from the 'fdisk -l' indicates that Ubuntu is seeing both drives. It is possible that the issue is that you haven't told ubuntu to utilize the second drive. It does appear to be formated for linux, so it might just be that it is not mounted anywhere.> > Could you provide us with the output of the 'mount' command,> please?> > > Regards,> --Matt> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/13596> > You received this question notification because you are a direct> subscriber of the question.

Revision history for this message
Matt Mossholder (matt-mossholder) said :
#10

Malcolm,
         From your reply, I believe you consider the issue "closed" now. If so, could you mark the question as answered? If not, could you provide a bit more detail about booting from your alternate HDD? I'm unclear as to where the password prompt is coming from... is it from the bootloader, or are you getting messages saying that something failed, followed by a prompt for the root password?

     Regards,
            --Matt

Revision history for this message
Malcolm (locogas) said :
#11

Dear Matt,

Many thanks for the email. I"ll keep the query open pending the following. When I go into "computer" the other disk now appears as an entity where it did not before, irrespective of which HDD I boot from (identical Ubuntu OS per HDD) .

The capacity of each HDD is described as 460GB or so although both are identical Western Digitals IDE HDDs of 500GB capacity each. There is less than 2GBs files installed per drive and I am not sure how much space the Ubuntu OS takes up per drive? When clicking on that disk icon the menu then asks for a password as a security measure but is bypassed when clicked on toproceed without entering the password, and reveals the files in the drive. I don"t see any error messages and am not sure if there is a continuing problem. Thanks.

Malcolm.> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #13596]: Ubuntu does not recognise correctly installed second IDE hard disc drive> Date: Sun, 23 Sep 2007 12:07:49 +0000> > Your question #13596 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/13596> > Status: Open => Needs information> > Matt Mossholder requested for more information:> Malcolm,> From your reply, I believe you consider the issue "closed" now. If so, could you mark the question as answered? If not, could you provide a bit more detail about booting from your alternate HDD? I'm unclear as to where the password prompt is coming from... is it from the bootloader, or are you getting messages saying that something failed, followed by a prompt for the root password?> > Regards,> --Matt> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.launchpad.net/ubuntu/+question/13596> > You received this question notification because you are a direct> subscriber of the question.

Revision history for this message
Best Matt Mossholder (matt-mossholder) said :
#12

Malcolm,
   There is a twisted but logical reason for the discrepancy: Marketing :)

Here is an example. I have a "250GB" hard drive in my system. The output of "sudo fdisk -l" reports the following:

=====================
Disk /dev/hda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ed57d

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 30138 242083453+ 83 Linux
/dev/hda2 30139 30515 3028252+ 5 Extended
/dev/hda5 30139 30515 3028221 82 Linux swap / Solaris
=====================

So, the first line says that the drive is 251.0GB, right? Awesome, I got a free GB... or wait...

251000193024 bytes / 1024 = 245117376 KB
245117376 KB / 1024 = 239372MB
239372 MB / 1024 = 233.76 GB

What happened to my other 17GB?!?!?

Simple answer: HD manufacturers decided several years back to divide by 1000 rather than 1024. Computer people had, historically, always divided by 1024. Everyone else in the world had used base 10, as that is the published, international standard. The two had even butted heads before... all the numbers cited for network speeds are base 10, rather than base 2 (1 megabit speed is 1 million bits per second).

The gotcha is that while the HD manufacturers changed, everyone else didn't. So, sometimes programs will report a base 2 size, and sometime a base 10 size. The Properties window in Nautilus is reporting base 2, while fdisk is reporting base 10.

Confused yet? I am :)

   --Matt

Revision history for this message
Malcolm (locogas) said :
#13

Thanks Matt Mossholder, that solved my question.