LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2004, 12:09 AM   #1
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
how to mount a new drive


ok, so i am moving everything over to a new box. i moved a drive to the new box that has a /home and a /root partition. i intend to use parted to remove the root partition, move home to a temp dir and move my current home over to the drive and edit fstab. the prob is i can't mount the new drive.
here is the error:

[root@myhost mnt]# mount /dev/hdd /mnt/hdd1/
mount: you must specify the filesystem type


i don't recall the filesystem type, but i believe it may have been reiser
 
Old 06-08-2004, 12:14 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
run the following command and i'll show an example, command is bolded :
Code:
root@slackbox:~# fdisk -l /dev/hda

Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          18      144553+  83  Linux
/dev/hda2              19         111      747022+  82  Linux swap
/dev/hda3             112        3150    24410767+  83  Linux
/dev/hda4            3151        7297    33310777+   5  Extended
/dev/hda5            3151        5582    19535008+  83  Linux
/dev/hda6            5583        6311     5855661   83  Linux
/dev/hda7            6312        7040     5855661   83  Linux
/dev/hda8            7041        7297     2064321   83  Linux

of course replace /dev/hda with your /dev/hdd and look in the last column and
you will see the type ...
and then when you mount :
mount -t filesystemTYPE device mountpoint

Last edited by DrOzz; 06-08-2004 at 12:16 AM.
 
Old 06-08-2004, 12:16 AM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Original Poster
Rep: Reputation: 47
it is
/dev/hdd1 19386 39703 10240272 83 Linux
/dev/hdd2 * 1 19385 9770008+ 83 Linux

so would i
[root@myhost mnt]# mount /dev/hdd /mnt/hdd1/ Linux

?
?
 
Old 06-08-2004, 12:18 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well no type 83 (Linux) is ext3
 
Old 06-08-2004, 12:19 AM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Original Poster
Rep: Reputation: 47
lol....ok, whos the idiot whos the idiot.................here i am !!!!!!

Last edited by bosewicht; 06-08-2004 at 12:21 AM.
 
Old 06-08-2004, 12:20 AM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
dont' be so hard on yourself heh
it happens to the best of us ...
 
Old 06-08-2004, 01:01 AM   #7
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Original Poster
Rep: Reputation: 47
ok, so now i get

[root@myhost ]# mount -t 83 /dev/hdd /mnt/hdd1/
mount: fs type 83 not supported by kernel
 
Old 06-08-2004, 01:12 AM   #8
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Original Poster
Rep: Reputation: 47
nevermind, user error again
 
Old 06-08-2004, 06:48 AM   #9
presemt_arms
Member
 
Registered: Sep 2003
Distribution: pclinuxos pre8, dynabolic, knoppix 3.6, k12 ltsp, ubuntu
Posts: 54

Rep: Reputation: 15
lol
mount -t ext3 /dev/hdax /mnt/hdax (x is partition number)
 
  


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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
Mount usb drive, umount and mount another drive arubin Linux - Hardware 9 01-17-2007 03:46 AM
USB drive mount double mount issue pazzport Ubuntu 3 10-10-2005 08:28 PM
DVD Drive and CDRW Drive Will not mount on Slackware 10.1 Kernel 2.6.1 necrozen Linux - Hardware 1 09-13-2005 08:21 PM
HELP! Error from mount: drive is write-protected... won't mount writeable. system Linux - General 2 12-27-2001 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration