Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > General Support

General Support Fedora general support. Ask questions here that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2006-04-22, 02:03 AM CDT
Nuykung Offline
Registered User
 
Join Date: Apr 2006
Posts: 3
I want to Mount another harddisk fedora core 3

Harddisk IDE 1 Fedora Core 5 (Used)
Harddsik IDE 2 Fedora Core 3 (Mount)

#mkdir hdc
#mount /dev/hdc2 /hdc
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Reply With Quote
  #2  
Old 2006-04-22, 02:12 AM CDT
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 41
Posts: 8,250
It should be like this:

1. mkdir /mnt/name_folder_here
2. mount /dev/hdc2 /mnt/name_folder_here

hdc2 = third hard drive?
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills
Reply With Quote
  #3  
Old 2006-04-22, 02:43 AM CDT
Nuykung Offline
Registered User
 
Join Date: Apr 2006
Posts: 3
#mkdir /mnt/hdc
#mount /dev/hdc2 /mnt/name_folder_here

This Error

mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

hdc2 is Fedora Core 3 VolGroup00
Reply With Quote
  #4  
Old 2006-04-22, 02:57 AM CDT
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 41
Posts: 8,250
hdc = name_folder_here so you are doing it wrong....

try this: mount /dev/hdc2 /mnt/hdc
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills
Reply With Quote
  #5  
Old 2006-04-22, 08:29 AM CDT
terry_g's Avatar
terry_g Online
Registered User
 
Join Date: Jun 2005
Location: Terrace B.C. Canada
Posts: 191
need to specify file type

You need to specify the file type and the location of the hdc2 directory you created.If it is ext3 and if you created the hdc2 directory in /mnt. Then this command as root should work:

Code:
mount -t ext3 /dev/hdc2 /mnt/hdc2
Adding this line to your /etc/fstab will mount it for you:

Code:
/dev/hdc2              /mnt/hdc2              ext3    user,noauto     0 0
Hope this helps!!! Terry
Reply With Quote
  #6  
Old 2006-04-22, 08:40 AM CDT
gazzerh Offline
Registered User
 
Join Date: Jun 2005
Posts: 29
Quote:
Originally Posted by imdeemvp
hdc = name_folder_here so you are doing it wrong....

try this: mount /dev/hdc2 /mnt/hdc
Since when do you *have* to mount filesystems in /mnt?

He created a directory /hdc. He can mount here using "mount /dev/hdc2 /hdc" if he wants.

Run: cat /proc/partitions and make sure you are trying to mount the right partition and use the -t mount option to define the correct fs type.

Gaz
Reply With Quote
  #7  
Old 2006-04-22, 02:24 PM CDT
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 41
Posts: 8,250
Quote:
Originally Posted by gazzerh
Since when do you *have* to mount filesystems in /mnt?

He created a directory /hdc. He can mount here using "mount /dev/hdc2 /hdc" if he wants.

Run: cat /proc/partitions and make sure you are trying to mount the right partition and use the -t mount option to define the correct fs type.

Gaz
My first impression is that he wants to transfer data from one drive to another....so dont we need a mounting pointing for user to access the files?
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills
Reply With Quote
  #8  
Old 2006-04-22, 03:50 PM CDT
gazzerh Offline
Registered User
 
Join Date: Jun 2005
Posts: 29
Quote:
Originally Posted by imdeemvp
My first impression is that he wants to transfer data from one drive to another....so dont we need a mounting pointing for user to access the files?
I don't undertand what you are going on about here. /hdc is a perfectly acceptable mount point. imdeemvp, maybe "man mount" *before* you try to answer a question about mount would help?

#mkdir hdc
#mount /dev/hdc2 /hdc
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
missing codepage or other error

There is absolutely nothing wrong with the command he ran (apart from maybe a missing "-t ext3" switch). In linux/unix you can mount wherever you want. It doesn't need to be in /mnt. He can mount the other drive over /hdc and get access to the data.

What directory he mounts over isn't the issue anyway. It would come back with a "can't find directory or something" error if it was an issue with the mount point. His problem is either /dev/hdc2 isn't holding the partition he wants or mount doesn't know what fs type it is.

Gaz

Last edited by gazzerh; 2006-04-22 at 03:59 PM CDT.
Reply With Quote
  #9  
Old 2006-04-22, 04:01 PM CDT
daihard's Avatar
daihard Offline
Registered User
 
Join Date: Aug 2005
Location: Lynnwood, WA
Age: 42
Posts: 721
Quote:
Originally Posted by gazzerh
There is absolutely nothing wrong with the command he ran (apart from maybe a missing "-t ext3" switch). In linux/unix you can mount wherever you want. It doesn't need to be in /mnt. He can mount the other drive over /hdc and get access to the data.
Like you, I'm guessing the OP probably needs "-t ext3" as the default file system type for mount is, IIRC, ext2.
__________________
Registered Linux User: #281828
Fedora Core 6 (kernel 2.6.22.9-61.fc6) / KDE 3.5.8
Shuttle XPC SK22G2-V2 / Athlon64 X2 5200+ / 2GB Patriot PC2-5300 RAM
PNY Verto GeForce 7300GS / NEC MultiSync LCD1970GX
Reply With Quote
  #10  
Old 2006-04-22, 04:06 PM CDT
gazzerh Offline
Registered User
 
Join Date: Jun 2005
Posts: 29
Quote:
Originally Posted by daihard
Like you, I'm guessing the OP probably needs "-t ext3" as the default file system type for mount is, IIRC, ext2.
Think the issue is more likely he's mounting the wrong partition. You shouldn't need to specify -t ext3. It is usually auto detected.
Reply With Quote
  #11  
Old 2006-04-22, 08:33 PM CDT
Nuykung Offline
Registered User
 
Join Date: Apr 2006
Posts: 3
hdc2 is LVM
Reply With Quote
  #12  
Old 2006-04-23, 12:50 PM CDT
brickie Offline
Registered User
 
Join Date: Jul 2005
Posts: 3
I am attempting to do (virtually) the same thing- that is, remount my old Fedora 3 disk on
/dev/hdb
so that I can transfer my data, code, etc from this disk to a newly installed Fedora 5 on
/dev/hda
(I tried the update route from Fedora 3 to 5 and it failed, so I did a fresh install on a spare disk).

at this point
fdisk -l
gives me
Disk /dev/hda: 20.5 GB, 20525137920 bytes
240 heads, 63 sectors/track, 2651 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 14 105808+ 83 Linux
/dev/hda2 15 2651 19935720 8e Linux LVM

Disk /dev/hdb: 13.6 GB, 13613064192 bytes
255 heads, 63 sectors/track, 1655 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 1655 13189365 8e Linux LVM


Using
mkdir /mnt/fedora3
mount -t ext3 /dev/hdb2 /dev/fedora3

gives me the same superblock type error seen by Nuyking. I can happily
use
mount -t ext3 /dev/hdb1 /dev/fedora3
and I see what I would expect to find in a boot partition.

Alas, what I want is on /dev/hdb2. It would seem that mount is unhappy about loading up a partition
that contains an executable version of unix. Not a bad idea in terms of keeping users from mixing up
filesystems & kernels, but it makes getting to the old data rather annoying. I suspect that this dragon has been
slain before and I'll keep looking at other threads.
Reply With Quote
  #13  
Old 2006-04-23, 01:05 PM CDT
daihard's Avatar
daihard Offline
Registered User
 
Join Date: Aug 2005
Location: Lynnwood, WA
Age: 42
Posts: 721
Quote:
Originally Posted by gazzerh
Think the issue is more likely he's mounting the wrong partition. You shouldn't need to specify -t ext3. It is usually auto detected.
Ah, okay. Never thought of auto detection. Thanks for the info... I learn new things every day.
__________________
Registered Linux User: #281828
Fedora Core 6 (kernel 2.6.22.9-61.fc6) / KDE 3.5.8
Shuttle XPC SK22G2-V2 / Athlon64 X2 5200+ / 2GB Patriot PC2-5300 RAM
PNY Verto GeForce 7300GS / NEC MultiSync LCD1970GX
Reply With Quote
  #14  
Old 2006-07-11, 08:20 PM CDT
Kaniballss Offline
Registered User
 
Join Date: Jul 2006
Posts: 1
Brickie : I have the same problem I need to restore a backup files in fedora 3 to fedora 5
did you find a cure for the problem ... do you think that eliminating the boot partition in the fedora 3 will help so the new one does not detect an existing system ...?
Reply With Quote
  #15  
Old 2006-07-11, 10:53 PM CDT
jhetrick62 Offline
Registered User
 
Join Date: Feb 2005
Location: Buffalo, Ny
Posts: 875
I'm no expert, but it seems to me the problem has more to do with trying to mount the LVM partition than anything else, as I don't run LVM and I can mount my FC5 box into the FC4 operating partition using the very same mount command: mount /dev/hda1 /mnt/hda1

Secondly, why slam imdeemvp over his help?? Obviously you don't read this forum very often or you would know that his help has been invaluable to many people over the past year or so that I have read this forum.

The command works for me as well as you. I do choose to mount all drives under /mnt but that is for my organizational needs.

We don't need flaming here over something so simple.

Jeff
__________________
Registered Linux User #411071

If at first you don't suceed, read the man page again!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do mount a harddisk from rescue CD? LinuxDanP General Support 1 2009-09-24 11:08 AM CDT
help mount SFS HardDisk Niv General Support 8 2007-09-20 05:42 PM CDT
Script to mount harddisk tuxi Hardware 5 2006-09-28 07:31 AM CDT
Installing Fedora core 4 on to a SATA harddisk Manoj Kumar Neelapareddy gmane.linux.redhat.fedora.general 4 2005-12-23 02:20 AM CST
Mini-HOWTO: Move Fedora Core installation to a new harddisk tommyd3mdi Guides & Solutions (No Questions) 3 2005-06-04 07:59 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 06:32 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Integration with Google translations by vBET Translator