HDD mounting issue

g_landboy

Member
Messages
78
evry time when I restart my box I have to mount ( internal) HDD I`m using Dream elite Blackhole image.

Cheers
 

cokesux

Senior Member
Messages
190
You could add an entry to the /etc/fstab file to mount the drive if automount isn't working for you. I can't tell you the exact syntax as I don't know what is contained in your box (nor do I want to know).

If you have one storage device (internal hdd) with one partition, the entry would look something like:

/dev/sda1 /media/hdd ext3 defaults 0 0

... assuming you formatted it ext3, change the filesystem type if you need to. If you have one drive w/ 2 partitions they'd be sda1 & sda2, if you had 2 drives they'd be sda & sdb, etc... etc...

--

Ps. You can google linux & fstab for more information & examples...
 

g_landboy

Member
Messages
78
this is my fstaab

rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock/2 /boot jffs2 ro 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/discs/disc0/part1 /media/hdd auto defaults 0 0
 

sonic99

Registered
Messages
19
I had trouble with this image for the hdd, switched to the NewNigma 2 image and it was sorted.
 
Top