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

2006-04-22, 02:03 AM CDT
|
|
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
|

2006-04-22, 02:12 AM CDT
|
 |
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?
|

2006-04-22, 02:43 AM CDT
|
|
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
|

2006-04-22, 02:57 AM CDT
|
 |
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
|

2006-04-22, 08:29 AM CDT
|
 |
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
|

2006-04-22, 08:40 AM CDT
|
|
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
|

2006-04-22, 02:24 PM CDT
|
 |
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?
|

2006-04-22, 03:50 PM CDT
|
|
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.
|

2006-04-22, 04:01 PM CDT
|
 |
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
|

2006-04-22, 04:06 PM CDT
|
|
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.
|

2006-04-22, 08:33 PM CDT
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 3

|
|
|
hdc2 is LVM
|

2006-04-23, 12:50 PM CDT
|
|
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.
|

2006-04-23, 01:05 PM CDT
|
 |
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
|

2006-07-11, 08:20 PM CDT
|
|
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 ...?
|

2006-07-11, 10:53 PM CDT
|
|
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!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Automatic Translations (Powered by  ):
All times are GMT -7. The time now is 06:32 PM CST.
|
|
 |
 |
 |
 |
|
|