LinuxQuestions.org
Visit Jeremy's Blog.
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 03-29-2004, 12:15 AM   #1
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
Question mounting 2 linux hard drives


this is the error message: # mount -t ext3 /dev/hda2 /mnt/hda2
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems

i have a 100 gig (slave) running enterprise and a 160 gig (formerly) running fedora. fedora is a lost cause as repairing x is a bit over my head. i have tried -t ext2 also and get the same thing. my question, then, is how can i make enterprise mount the drive. i have already been to linuxplanet and thats how i even got that far. so, i'm turning to you guys yet again. as always, thanks in advance.
 
Old 03-29-2004, 01:27 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
fdisk -l
will list all the partitions available.

mount will autodetect the type for you.
make sure the mount point you are trying to mount the drive at exists
like
mkdir /mnt/extra
mount /dev/hdb1 /mnt/extra
cd /mnt/extra
ls
 
Old 03-30-2004, 09:31 PM   #3
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Original Poster
Rep: Reputation: 15
well i am able to mount everything BUT the one i want. this is what i get:
[root@tedlogan root]# mount /dev/hda2 /mnt/hda2
mount: you must specify the filesystem type

so if i installed red hat fedora, i would think that it should be an ext3 file type. i've even tried ext2 to no avail. so... what can i try next?

as always, thanks in advance.
 
Old 03-30-2004, 10:39 PM   #4
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Original Poster
Rep: Reputation: 15
maybe a little progress. i now get:
mount: directory to mount not in host:dir format
a buddy of mine said its screw and to reformat, but prior to installing enterprise on the other drive, i could get into fedora, just no gui. and now i don't get the OS choice menu, but i can't imagine why the contents of the drive would've gotten screwed. is it possible to change the boot loader to give me the choice?
 
Old 03-31-2004, 06:31 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can paste the output of a command in X by selecting the text, then clicking the middle mouse button ( or both buttons at the same time for a 2 button mouse) where you wish to paste the text.
/# fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 260 2088418+ 6 FAT16
/dev/hda2 261 2500 17992800 c W95 FAT32 (LBA)
/dev/hda4 2501 9964 59954580 85 Linux extended
/dev/hda5 2501 4000 12048718+ 83 Linux
/dev/hda6 4001 4200 1606468+ 83 Linux
/dev/hda7 4201 4400 1606468+ 83 Linux
/dev/hda8 4401 5000 4819468+ 83 Linux
/dev/hda9 5001 5100 803218+ 82 Linux swap
/dev/hda10 5101 9964 39070048+ 83 Linux
/#

like that.

/dev/hda is primary master /dev/hdb is primary slave.
/dev/hdc is secondary master. /dev/hdd is secondary slave.
the numbers are partitions.

/dev/hda2 would be the second partition on the first hard drive. Is that what you are trying to mount?

yes you can edit the boot loader to boot both linux's.

if you can, post the output of
fdisk -l
mount
cat /etc/fstab

are you using grub or lilo?
 
  


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
Mounting Hard Drives Greebo Linux - Hardware 14 11-29-2005 04:53 PM
Mounting Hard Drives AndrewZorn Linux - General 2 04-03-2005 04:45 PM
mounting hard drives sturgeonman Linux - Newbie 13 05-31-2004 09:13 AM
mounting hard drives deathl Linux - Hardware 3 01-16-2004 01:17 AM
Mounting Hard Drives Q12321 Linux - Newbie 5 11-26-2003 08:50 PM

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

All times are GMT -5. The time now is 09:24 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