LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-06-2003, 10:25 AM   #16
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15

Well if that is the case what is the command needed to format it using fdisk because i haven't been able to get it to work
 
Old 06-06-2003, 10:44 AM   #17
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
ok i was able to get it formatted and made a new partition so now this is what it looks like:

Code:
 
Disk /dev/sda: 122.9 GB, 122941341696 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1     14946 120053713+  83  Linux
 
Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        13    104391   83  Linux
/dev/hda2            14      2304  18402457+  83  Linux
/dev/hda3          2305      2434   1044225   82  Linux swap
now this is thing it is still telling me the same thing need ot specify file system type when i try to mount it using the following:

Code:
 
mount -a /dev/sda1 /mnt/usbhd
 
Old 06-06-2003, 10:48 AM   #18
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Original Poster
Rep: Reputation: 15
I tried using:

Code:
 

mount -Linux /dev/sda1 /mnt/usbhd
but it said no such partition found
 
Old 06-06-2003, 11:15 AM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Once you changed the partition type did you use mke2fs to format? If so then the filesystem type is ext2. If you used tune2fs -j then it is ext3.

Try mounting as root
mount -t auto /dev/sda1 /mnt/usbhd

Add in fstab
If you want to mount at boot
/dev/sda1 /mnt/usbhd auto auto,user 1 2
If not
/dev/sda1 /mnt/usbhd auto noauto,user 1 2

BTW the -a option says mount all filesystems in the /etc/fstab.


Last edited by michaelk; 06-06-2003 at 11:18 AM.
 
  


Reply



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
no permissions to external hard drive Maxtor OneTouche II roler Linux - Hardware 4 11-08-2005 08:04 AM
Mounting an External Maxtor 120GB Hardrive cheetahman SUSE / openSUSE 7 04-08-2005 03:09 PM
Problem with a Maxtor 120GB External Hard Drive cheetahman Linux - Hardware 3 03-06-2005 06:25 PM
external hard drive - Maxtor naijaguy Linux - Hardware 2 08-23-2004 12:51 PM
formating 120gb external hard drive to ext2 is it possible? enk0d Slackware 3 11-09-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration