LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   completely new, don't know how to use my external harddrive (https://www.linuxquestions.org/questions/linux-newbie-8/completely-new-dont-know-how-to-use-my-external-harddrive-598497/)

aogborne 11-09-2007 10:39 PM

completely new, don't know how to use my external harddrive
 
I have feather linux on a CD. I am using to get files off of my laptop because windows crashed. I want to hook up my external hard drive so i can pull off files. Can you please be really descriptive because i am totally new to this and i don't kow where anythign is thanks for your help.

Aline

Netgh0st 11-09-2007 11:20 PM

I dare say, what you would like to do is 'mount' your external hard drive. Two ways to do this, and I'm assuming you are using a gui ( like KDE or what not)?

The first way is going into your System directory, or Home / Storage Media ( or something similar). You want to right click on /sda1 and try to mount it.

The second way is going into terminal and mounting from there.
Code:

mount /dev/sda1
Try it, see how it flies. Hope it works, though I must address to you that I am indeed a novice.
---------------------------------------
When you load the live cd, you should see a Windows directory. Once you have the external harddrive mounted, you should be able to do some basic copying from that directory to your external hard drive's. *nod*

aogborne 11-12-2007 12:52 AM

thanks Net for your post,

i couldn't go into home and find the sda1 file, also i tried mopunting it from the terminal, but i have to say i'm not exactly sure where the targeting is, ( i told you i'm new)i tried the command prompt thing and i used your code but it didn't find anythign it just said that there is no such folder. So any other help would be much appreciated. Thhis really sucks noty being able to get my files:S thanks guys for your help

Aline

Nylex 11-12-2007 01:07 AM

Run "dmesg | tail" after you plug the device in and show us the output.

aogborne 11-12-2007 01:10 PM

When i put that in the command prompt thing, it came out [-c] [-n level] [-s bufsize]. Is that good?

Aline

Nylex 11-12-2007 01:49 PM

No. The middle character is a pipe, not a L or 1. See this for info. FWIW, the output you're seeing from dmesg is telling you how to use dmesg, i.e. what kinds of options you can pass to it. What the pipe character between the two commands does is to send the output of the one on the left to the one on the right as input. tail will print the last 10 lines or so.

aogborne 11-12-2007 02:41 PM

ok thanks i retyped it properly and this is what it read,
i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM 0xe0100c00 and 0xe0100800, IRQ 17
i810: Intel ICH4 mmio at 0xdec1cc00 and 0xdec1e800
i810_audio: Primary codec has ID 0
i810_audio: Audio controller supports 6 channels
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codedc id 0
ac97_codec: AC97 Audio codec, id: ADS116 (unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
b44: eth0: link is down.

i don't know what that means i hope you can tell me and how it relates to my extrenal hard drive. Thanks for all your time

Nylex 11-12-2007 03:15 PM

None of that relates to your hard drive, as you can probably tell. Did you run dmesg after plugging in the device?

aogborne 11-12-2007 03:53 PM

yes i did right after i plugged it in i tried it a couple of times. what now?

Nylex 11-12-2007 10:34 PM

Post the complete output. Also try a different port.

LlNUX 11-13-2007 01:37 AM

are you talking about usb drive?

how to mount usb drive in linux

jschiwal 11-13-2007 01:59 AM

You could also monitor /var/log/messages as you plug in the external drive.

sudo tail -f /var/log/messages

You could also list the /dev/sd* devices before and after plugging in the drive. The drive will probably be the new device.
A) ls /dev/sd*
B) plug in the device
C) ls /dev/sd*

You also need to know the filesystem that the external drive has on it. Is it fat32 or ntfs? If it is ntfs, I don't know if feather linux has either "fuse" module support and the "ntfs-3g" package installed or the "ntfs" kernel module. If just the latter, I don't know if you will be able to write to the drive.

If it has ntfs-3g installed, and the external drive's partition is formatted with the NTFS filesystem, then you can mount it like (as root):

Code:

modprobe fuse
mount -t ntfs-3g </dev/sdX#> /mnt -o rw
if your device is /dev/sda1 then this would be
mount -t ntfs-3g /dev/sda1 /mnt -o rw

The device might be something like /dev/sdb1 or /dev/sdc1 depending on what is used for the external drive.
Since windows is broken, the filesystem of the windows partition might not be mountable. Are you able to read the Windows files already. If so then it was mounted.


All times are GMT -5. The time now is 01:06 AM.