LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-12-2004, 02:52 AM   #1
Bjorkli
Member
 
Registered: Jul 2003
Location: Norway
Posts: 65

Rep: Reputation: 15
How can I mount my old fedora core 1 hard disk


I had Fedora Core 1 installed on a system with 2 hard disks. One disk crashed though (totally, no chance of getting anything back). Aparently was /home / /sbin /bin etc on the disk that stayed healty. But /usr was on the crashed disk, so that Fedora refused to boot properly after that.

Now I have bought a new hard disk, and re-installed Fedora Core 1 on it. But I cannot access the old healthy hard disk anymore (without formating it and loose all data on it). I have tried the following:

If I use webmin to try to mount it again, I get following error:

Failed to save mount: Mount failed :

mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or to many mounted file systems


So I went back to linuxquestions, read some articles about mounting without getting wiser, and found out that the reason I can't mount is that I cannot have 2 linux system disks at the same time or something. Also that fdisk -l will tell a lot about the system, so I have display it below. Now. My new disk is the 80 GB one, that I boot off now. The old working disk where I used to have Fedora Core 1 installed is the 41.1 GB disk. It is /dev/hda1 which I cannot mount.

So. Anyone got an idea how I can copy the data from /dev/hda1 (the stuff that is in the /home directory mostly, like emails) to the new disk (/dev/hdd2).

Quote:
[root@linux root]# fdisk -l

Disk /dev/hdd: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 521 9733 74003422+ 83 Linux
/dev/hdd2 1 520 4176868+ 82 Linux swap

Partition table entries are not in disk order

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4489 36057861 83 Linux
/dev/hda2 4490 4998 4088542+ 83 Linux
Hope any can help

Cheers...
 
Old 08-12-2004, 04:24 AM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Have you tried the mount command forma shell?

first make a directory to mount in

$mkdir /mount/oldFC1

then issue the command

$ mount -t ext3 /dev/hda1 /mnt/oldFC1

(change filesystem if necessary)
 
Old 08-12-2004, 05:55 AM   #3
Bjorkli
Member
 
Registered: Jul 2003
Location: Norway
Posts: 65

Original Poster
Rep: Reputation: 15
Got following error:
Code:
[root@linux /]# mkdir /mnt/oldFC1
[root@linux /]# mount -t ext3 /dev/hda1 /mnt/oldFC1
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
       or too many mounted file systems
Same error as webmin gave more or less... I am certain I used ext3 when I installed Linux both now and then... Now what...
 
Old 08-12-2004, 06:39 AM   #4
Bjorkli
Member
 
Registered: Jul 2003
Location: Norway
Posts: 65

Original Poster
Rep: Reputation: 15
Ups. Read a bit further on, and saw that someone had used the mke2fs -j /dev/hda1 command with luck, so I tried it too. Worked , but now all my data on the old hard disk is erased ... Hmm. How to break this to the users... Ah well. I am sure they did backup...
Code:
[root@linux root]# mke2fs -j /dev/hda1
mke2fs 1.34 (25-Jul-2003)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4513152 inodes, 9014465 blocks
450723 blocks (5.00%) reserved for the super user
First data block=0
276 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
 
  


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
fedora core 3 hard disk always busy heals1ic Linux - Newbie 1 10-21-2005 07:12 PM
Fedora Core 4 Hard Disk Installation (Bug) maniar Fedora 2 06-17-2005 09:53 AM
sitecom usb hard disk wont mount on fedora core 3 chizk Linux - Hardware 2 05-16-2005 05:30 AM
My secondary slaved hard disk crashed. How do I get Fedora Core 1 back. Bjorkli Linux - Hardware 4 08-09-2004 11:04 AM
How to mount a New Hard Disk ! ? bennethos Linux - Newbie 6 10-16-2003 04:09 AM

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

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