PDA

View Full Version : internal hard drive missing after e2 reinstall



iwols
02-01-2011, 12:34 PM
hi all had the hard drive working ok,then i put in a few feed freq and the box rebooted never went past 25 percent then the premium on :frown:vfd came on and box would not go past this even after numerous reboots,so reinstalled e2 which is now working but it does not see the hard drive so i cant initialize it anyone any ideas again

pr2
02-01-2011, 06:56 PM
Hi,

I saw in the log that you choose to install E2 on the HDD, so your HDD has now several partitions.
If E2 is booting and that you install it on the HDD then the HDD is detected.
The problem is the /etc/fstab which is wrong.
You need to change this:

Replace the line:
/dev/hdb1 /media/hdd auto defaults 0 0

By
/dev/hdb5 /media/hdd auto defaults 0 0

And of course by choosing to install E2 on your HDD you lose all your HDD content.

Pr2

iwols
02-01-2011, 08:45 PM
sorry pr2 i installed it to dom in the end,but like i said hd not recognised still

pr2
03-01-2011, 10:00 AM
Hi,

Strange what make you think that the HDD is not recognised?

Please issue the following command:



sfdisk -l -uM /dev/hda
sfdisk -l -uM /dev/hdb
mount


Please post the result, there you will see if your HDD is really not recognised at all, or simply not mounted.

/dev/hda -> is the DOM
/dev/hdb -> is the internal HDD

I also point out that sometimes even the official firmware is not detecting the HDD but a simple reboot fix the problem.

Are you still using the original DOM or do you replace it with something else (like a SD or CF adaptator)? Because if you replace it with such device some of them are not compatible with the internal HDD so the internal HDD is never see by the system.
A friend of mine report that 8GB DOM also prevent the HDD from being viewed from the system.

Pr2

schmegea
03-01-2011, 10:42 AM
I have 8GB SDHC to IDE - DOM and HDD
and I have no problem

hdb1 - HDD
cf - 7GB remainder of the DOM

iwols
03-01-2011, 04:18 PM
thanks guys heres the log
OpenDreambox 1.6.0 AZBox

AZBox login: root
root@AZBox:~# sfdisk -l -uM /dev/hda

Disk /dev/hda: 980 cylinders, 16 heads, 32 sectors/track
strange..., an extended partition of size 0?
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End MiB #blocks Id System
/dev/hda1 0+ 182 183- 187391+ 83 Linux
/dev/hda2 183 186 4 4096 83 Linux
/dev/hda3 187 244 58 59392 82 Linux swap / Solaris
/dev/hda4 0 - 0 0 5 Extended
root@AZBox:~# sfdisk -l -uM /dev/hdb
/dev/hdb: No such file or directory

sfdisk: cannot open /dev/hdb for reading
root@AZBox:~# mount
rootfs on / type rootfs (rw)
/dev/hda1 on / type ext3 (rw,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /var type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/hda2 on /boot type ext2 (rw)
devpts on /dev/pts type devpts (rw)
automount(pid1718) on /autofs type autofs (rw)
root@AZBox:~#

pr2
03-01-2011, 06:55 PM
Hello,

Indeed your internal HDD is really not see from your system.

May be check the internal cabling of your Azbox, if no success then remove your HDD from your Azbox and test it on your PC to ensure that it is still working fine.

Pr2

iwols
04-01-2011, 01:02 AM
thanks for that pr2 qill do