LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-17-2004, 01:03 PM   #1
grim1234
Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Rep: Reputation: 15
USB HDD Mounting - which filesystem?


Hi,

I have two hard disk drives from an older machine (25gb and 30gb). They have some data on them I want to get so I need to attach the drives to my linux box to get the data.

I have an external usb bay that I use with another drive sucessfully on the linux box. The drive I use has one fat32 partition with data and is mounted manually using a

'mount -t vfat /dev/sda1 /mountpoint '

command.

The other two drives have unknown filesystems. (Either fat, ext2, ext3 or reiserfs). I would like to probe the drives to check the partition structure. I tried 'cfdisk /dev/sda1' but it returned 'no partition table or unknown signature on partition table' for both drives. Does anyone know how to probe the partition structure?

I managed to mount one of the drives with 'mount -t ext2 /dev/sda1 /mountpoint' which mounted a 100mb partition with grub files, vmlinuz etc. This is probably from an old redhat install and is most likely the first partition of the disk. Any idea how to mount later partitions of a disk through usb?

If anyone can answer either of the two questions or has any comments to make your response will be much appreciated.

Yours,

Graham.
 
Old 08-17-2004, 01:45 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Did you try "mount -t ext2 /dev/sda2 /mountpoint"?

And, "fdisk -l /dev/sda", should list all the partitions on the drive.

The "sd" means SCSI drive.
The "a" means the first drive.
The "#" means the partition on the drive.

In "cfdisk /dev/sda1" sda1 is the partition, not the drive. You can't list the partitions in a partition, since there aren't any.
 
Old 08-17-2004, 01:55 PM   #3
grim1234
Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Original Poster
Rep: Reputation: 15
Great! I should have realised that after using ide hard drives!

Thanks very much, that works very well. ps - I had tried sda2 but it was a swap partition so didn't work.

Thanks again!

Graham.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting a USB HDD novacek Linux - Hardware 1 10-08-2005 04:54 AM
usb 2.0 external hdd bad performance - filesystem issue ? rtspitz Linux - Hardware 0 05-10-2005 12:28 PM
External USB HDD not mounting glk Linux - Hardware 1 01-22-2004 11:14 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 12:00 PM
USB HDD Mounting Question gauge73 Linux - General 6 01-30-2003 06:42 PM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration