LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2009, 08:02 PM   #1
hostoriginal
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Need help installing hd


I im trying to get the data off the old hard drive
its the two 160gb harddrives


i tried to mount the old harddrive to get the stuff off of it to put it on the new harddrive
and when im doing it says
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
and im running root@barium [/]# mount -t ext3 /dev/sdb1 /media/sdb1
thats the command

i dont know what to do i am COMPLETELY NEW to linux and my datacenter isnt helping me because their not at datacenter on weekends i would really appreciate if someone could help me please
 
Old 03-07-2009, 09:24 PM   #2
hostoriginal
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
sorry for this double post but i need help asap
 
Old 03-07-2009, 09:31 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
what linux distro and do you know how to open a terminal and assume root. so type cfdisk and post it.
 
Old 03-07-2009, 09:34 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
If you had your distro in your profile it would help us help you. Enter these commands at a terminal and post the output
Code:
df -hT
fdisk -l
If the fdisk does nothing try it as sudo/root.
 
Old 03-07-2009, 09:44 PM   #5
hostoriginal
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
If you had your distro in your profile it would help us help you. Enter these commands at a terminal and post the output
Code:
df -hT
fdisk -l
If the fdisk does nothing try it as sudo/root.
I'm running CENTOS 5.2 x86_64
df -hT gives me
Code:
/dev/mapper/VolGroup00-LogVol00
              ext3    224G   11G  202G   5% /
/dev/sda1     ext3     99M   12M   82M  13% /boot
tmpfs        tmpfs   1006M     0 1006M   0% /dev/shm
/usr/tmpDSK   ext3    485M   12M  448M   3% /tmp
/dev/sdb1     ext3     99M   12M   83M  13% /media/sdb1
fdisk -l gives me
Code:
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       30394   244035382+  8e  Linux LVM

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   83  Linux
/dev/sdb2              14       19452   156143767+  8e  Linux LVM

Disk /dev/sdc: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       19452   156248158+  8e  Linux LVM

Last edited by hostoriginal; 03-08-2009 at 03:05 PM.
 
Old 03-07-2009, 09:52 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
did you create the folder /media/sdb1
 
Old 03-07-2009, 10:03 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would expect all the pv's to be found at boot. Wonder if the vg's and/or lv's have the same name. If so you'll have to rename one so you can mount it - there are several threads about how to do that. Check dmesg.

I don't use LVM so I'll leave it to others to help.
 
Old 03-07-2009, 10:07 PM   #8
hostoriginal
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
yes i did make a folder named /media/sdb1
 
Old 03-07-2009, 11:57 PM   #9
hostoriginal
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
how do i find out the file system on the old hardrive?
 
Old 03-08-2009, 04:22 AM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by hostoriginal View Post
how do i find out the file system on the old hardrive?
For that I usually run 'blkid' as root.
 
Old 03-08-2009, 08:40 AM   #11
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
post your /etc/fstab file. lets see what ubuntu did when you upgraded.
 
Old 03-08-2009, 02:49 PM   #12
hostoriginal
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
post your /etc/fstab file. lets see what ubuntu did when you upgraded.
I posted my fstab below, Any Ideas?

Code:
/dev/VolGroup00/LogVol00 /                       ext3    defaults,usrquota        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/usr/tmpDSK             /tmp                    ext3    defaults,noauto        0 0
/tmp             /var/tmp                    ext3    defaults,bind,noauto        0 0
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
Installing individual OpenOffice apps without installing the entire suite? roystonlodge DamnSmallLinux 3 06-06-2008 01:14 PM
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 01:27 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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