PDA

View Full Version : mount 2nd drive FC4 to old FC3


Raymond Day
2005-07-09, 09:03 AM CDT
I have 2 320 GB hard drives. I loaed a new one with FC4 and then put my old FC3 on the 2nd IDE.

It started as a 80GB then I copy it to the 320GB and made a partition the size of the rest of the 320GB drive.

The new FC4 is 1 partition, well 2 the boot and the main. I used webmin and could mount the partition that I made that used the rest of the hard drive space up. But when I do the same with the 80GB partision that Fedora made and used in the first place I get this error in webmin:

Failed to save mount : Mount failed :
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

O I forgot the usefel info is this:

[root@localhost ~]# dmesg | tail
lp: driver loaded but no devices found
NET: Registered protocol family 10
Disabled Privacy Extensions on device c03e3840(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hdc3, type ext3), uses xattr
VFS: Can't find ext3 filesystem on dev hdc2.
VFS: Can't find ext3 filesystem on dev hdc2.

Here is a df command, I don't know if this will help.

[root@localhost ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
300658944 1275356 283864664 1% /
/dev/hda1 101086 14040 81827 15% /boot
/dev/shm 516724 0 516724 0% /dev/shm
/dev/hdc3 230741396 218376584 643788 100% /tmp/hdc3
[root@localhost ~]#

/dev/hdc3 is new mount and that's the one I made to use up the rest of the hard drive. I been doing the same only one /dev/hdc2 but I get the error. I wanted to mount it in /tmp/hdc2.

What I am trying to do is copy all my stuff from FC3 to FC4 but I can't mount the 80GB partition that FC3 auto made when I installed it. After that I want to use the drive as a back up.

Does any one know how I could mount it?

This my help for some one to find out why I can't.

[root@localhost ~]# fdisk -l

Disk /dev/hda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 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 38913 312464250 8e Linux LVM

Disk /dev/hdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 13 104391 83 Linux
/dev/hdc2 14 9729 78043770 8e Linux LVM
/dev/hdc3 9730 38913 234420480 8e Linux LVM
[root@localhost ~]#


-Raymond Day

Flatron
2005-07-09, 09:34 AM CDT
Try fdisk -l, and check, that you mount the correct device.

Raymond Day
2005-07-09, 09:40 AM CDT
Try fdisk -l, and check, that you mount the correct device.

Look at my post I all ready did do the fdisk -l and I did a df and I can see that I am mounting the correct device. I want to mount /dev/hdc2 but I can't. It just gives the error. It shold be the same as the /dev/hdc3 that I all ready mounted and it's working good. But If I do it the same way on /dev/hdc2 it gives me an error.

-Raymond Day

Raymond Day
2005-07-09, 10:58 AM CDT
It looks like no one knows because look at this link: http://forums.fedoraforum.org/showthread.php?t=51433. I did this not using webmin but it does the same:

[root@localhost mail]# mount -t ext3 -w /dev/hdc2 /tmp/hdc2
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

[root@localhost mail]#

I can only guess because it's a Linux LVM is why I can't mount it.

jason qi
2005-10-03, 01:14 PM CDT
I met the same problem with my FC3

Raymond Day
2005-10-04, 04:03 AM CDT
After all this time I think it's the Security part of Linux. I am not sure this will work. But on your FC3 boot it up and do this:

Disable SELinux:
EDIT '/etc/selinux/config'
Change:
SELINUX=enforcing
to:
SELINUX=disabled
I got that part from here http://www.mjmwired.net/resources/mjm-fedora-fc4.html#selinux

I guess reboot it after that just to make sure it truned the selinux off then see if you can mount it.

Please post back here if it works.

-Raymond Day

jason qi
2005-10-04, 11:37 AM CDT
After all this time I think it's the Security part of Linux. I am not sure this will work. But on your FC3 boot it up and do this:


I got that part from here http://www.mjmwired.net/resources/mjm-fedora-fc4.html#selinux

I guess reboot it after that just to make sure it truned the selinux off then see if you can mount it.

Please post back here if it works.

-Raymond Day


It did not work on my case

Raymond Day
2005-10-04, 12:48 PM CDT
I don't know what is wrong and looks like no one else does too. Because it's been a long time from the 1st post here.

I had to use 2 systems to copy my stuff other Ethernet from FC3 to FC4 because FC4 just can't mount FC3 hard drive.

I did the copy a about when I 1st posted about this. My FC4 has been working real good from then.