mount Hard drive?


Forum: Other Help Topics
Topic: mount Hard drive?
started by: chusome

Posted by chusome on Jan. 17 2004,22:53
I know this probobly simple, but whast the full line command for mounting your ext2 formatted harddrive while booted from the DSL cd? Its currently hda2
Posted by markgamber on Jan. 17 2004,23:10
I believe it would go something like this:

mount -t ext2 /dev/hda2 /mnt/hd

That seems to work for me, anyway.

Posted by chusome on Jan. 18 2004,02:26
ok

so I tried mount -t ext2 /dev/hda2 /mnt/d
and I got:
mount: wrong fs type, bad option, bad superblock on /dev/hda2 or too many mounted file systems
(aren't you trying to mount an extended paritition, instead of some logical paritition inside?)

I was however able to mount one of my ntfs data parititions using
mount -t ntfs /dev/hdb1 /mnt/d
but couldn't play my MP3's on it cause i'm not logged in as root. (curious if anyone knows how to get around that, su sudo only works within the shell window)

Does RH 8.0 use ext2?

Posted by Del on Jan. 18 2004,04:34
RH 8.0 should use ext3, but ext3 is supposed to be backwards compatible with ext2. Make sure you're trying to mount as root. Also, specifying '-t ext2' shouldn't be necessary, I think. Just try:

mount /dev/hda2 /mnt/d

I guess you should make sure /mnt/d exists (as a folder) first; 'mkdir /mnt/d' (again, as root).

Finally, when you 'Enhance' fluxbox, there should be an app in the slit that lets you easily mount the partitions DSL noticed when it installed. Just click the little arrow until you see the partition you want to mount, then click the button with the black line across it. It should turn green(ish), indicating the mount was successful.

Posted by chusome on Jan. 18 2004,17:04
as it turns out I was trying mount my swap paritition (yeah, yeah I know)

to get it to mount properly i did still have to state the fs type ie:
mount -t ext2 /dev/hda3 /mnt/hd

the only problem I'm having now is accessing my ntfs paritition through XMMS....

Posted by roberts on Jan. 18 2004,20:31
Quote
I was however able to mount one of my ntfs data parititions using
mount -t ntfs /dev/hdb1 /mnt/d
but couldn't play my MP3's on it cause i'm not logged in as root. (curious if anyone knows how to get around that, su sudo only works within the shell window)


mount -t ntfs /dev/hdb1 /mnt/d -o uid=1001

That will give permission for the non-root user damnsmall uid=1001 to access the files. Then your xmms should be able to read and therefore play your MP3s.

Posted by Rapidweather on Jan. 24 2004,18:52
I see references to the Slit, recognizing partitions, etc.
I don't see the Slit anywhere, I need a short howto on it.
I'm using the default fluxbox.

Posted by peter on Jan. 24 2004,21:10
The Slit as such, is invisible. It's just a "docking place"  for various apps -" windowmaker" apps will also go "in the slit". It's kind of like an invisible "system tray" (in terms of *That Other OS* *cough*), but not tiny... so the "enhance" function puts the mount app in it, but if you wanted to you could add others and they would kind of stack up in line.
Gkrellm is an example of a more complex monitoring and mounting app that can be put in the slit.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.