LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-26-2004, 03:08 PM   #16
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31

#$*(&#%$&*@#$^@))#%$Y)@!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Alright.
Last resort.
Have any explosives?
 
Old 08-26-2004, 03:09 PM   #17
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
Seriously.
Here is a thought - I dunno if it works - but you can try it.....

Code:
file /dev/hdb1
See if it gives you the format.....ext2, 3, reiser, etc........
 
Old 08-26-2004, 03:13 PM   #18
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
I'm not sure if this is correct, although you might want to try it. Try rummaging through /dev to see if you can find anything relating to your /dev/hdbX, or /dev/hdaX. (X meaning the partition number.)

Example:
Quote:
$ mount /dev/hdb5 /mnt/backup
Or whatever the case might be.
Something like this happened to me before. It was odd, some how the partition name was changed and it ended up being hdb5 for some odd reason. You might want to check it out.
 
Old 08-26-2004, 03:16 PM   #19
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
And here comes crunch - with sumpin' I forgot about....
I have had that same issue - def try that.......do this:
Code:
ls /mnt/hdb
Such a good idea - I feel like a moron - lol
 
Old 08-27-2004, 12:11 AM   #20
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
thanks guys for all the suggestions. im back at work now, so ill have to try it when come home later on

 
Old 08-27-2004, 07:09 AM   #21
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
ok, here is what i get

Quote:
Seriously.
Here is a thought - I dunno if it works - but you can try it.....


code:
file /dev/hdb1



See if it gives you the format.....ext2, 3, reiser, etc........
result

Code:
# file /dev/hdb1
/dev/hdb1: block special (3/65)

Quote:
I'm not sure if this is correct, although you might want to try it. Try rummaging through /dev to see if you can find anything relating to your /dev/hdbX, or /dev/hdaX. (X meaning the partition number.)

Example:

quote:

$ mount /dev/hdb5 /mnt/backup



Or whatever the case might be.
Something like this happened to me before. It was odd, some how the partition name was changed and it ended up being hdb5 for some odd reason. You might want to check it out.
result

there is no folders named hdbX, but there are some files called hdb, hdb1, hdb2 and so on up to hdb63


Quote:
And here comes crunch - with sumpin' I forgot about....
I have had that same issue - def try that.......do this:

code:
ls /mnt/hdb



Such a good idea - I feel like a moron - lol
result

Code:
# ls /mnt/hdb
/bin/ls: /mnt/hdb: No such file or directory


so im still in the dark....
 
Old 08-27-2004, 08:57 AM   #22
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
Sorry dude - forgot the all important *
Code:
ls /dev/hdb*
Try mounting individually......
 
Old 08-27-2004, 01:43 PM   #23
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
i get this result

Code:
# ls /dev/hdb*
/dev/hdb    /dev/hdb19  /dev/hdb29  /dev/hdb39  /dev/hdb49  /dev/hdb59
/dev/hdb1   /dev/hdb2   /dev/hdb3   /dev/hdb4   /dev/hdb5   /dev/hdb6
/dev/hdb10  /dev/hdb20  /dev/hdb30  /dev/hdb40  /dev/hdb50  /dev/hdb60
/dev/hdb11  /dev/hdb21  /dev/hdb31  /dev/hdb41  /dev/hdb51  /dev/hdb61
/dev/hdb12  /dev/hdb22  /dev/hdb32  /dev/hdb42  /dev/hdb52  /dev/hdb62
/dev/hdb13  /dev/hdb23  /dev/hdb33  /dev/hdb43  /dev/hdb53  /dev/hdb63
/dev/hdb14  /dev/hdb24  /dev/hdb34  /dev/hdb44  /dev/hdb54  /dev/hdb7
/dev/hdb15  /dev/hdb25  /dev/hdb35  /dev/hdb45  /dev/hdb55  /dev/hdb8
/dev/hdb16  /dev/hdb26  /dev/hdb36  /dev/hdb46  /dev/hdb56  /dev/hdb9
/dev/hdb17  /dev/hdb27  /dev/hdb37  /dev/hdb47  /dev/hdb57
/dev/hdb18  /dev/hdb28  /dev/hdb38  /dev/hdb48  /dev/hdb58
am i supposed to mount all of these?
 
Old 08-27-2004, 02:36 PM   #24
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
Alright - I'm getting tired of this thread, so let's fix it already, eh?

Do this:

Code:
zaphyr@suse$ su
Password:
root@suse# fdisk /dev/hdb
Command (m for help): p

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          65      491368+  83  Linux
/dev/hdb2              66       10337    77656320    5  Extended
/dev/hdb5              66         131      498928+  82  Linux swap
/dev/hdb6             132       10337    77157328+  83  Linux

Command (m for help):q
root@suse#
Find in that list (the one that prints on your box) the partition closest in size you the one you are trying to recover. Attempt to mount it using the fs specified. If this doesn't work, we are indeed moving onto recovery options.........
 
Old 08-27-2004, 03:41 PM   #25
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
well if you are tired of, imagine what i am...

this is what i get

Code:
# fdisk /dev/hdb

The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       14592   117210208+  83  Linux

Command (m for help): q
then i should mount it....i still get error

Code:
# mount -t reiserfs /dev/hdb1 /mnt/backup
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
       or too many mounted file systems
i even tried with

Code:
# mount -t linux /dev/hdb1 /mnt/backup
mount: fs type linux not supported by kernel


so recovery then??
 
Old 08-29-2004, 06:29 AM   #26
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
does anybody know any good apps i can use for recovery?
 
Old 08-29-2004, 10:43 AM   #27
lone_nut
Member
 
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
Just a thought, are you sure you used reiserfs as you filesystem?
try atleast the following filesystems:

msdos
reiserfs
vfat

ext2

ext3

just those i could come upwith.
 
Old 08-29-2004, 12:39 PM   #28
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Original Poster
Rep: Reputation: 32
oh, yes im positive it is reiserfs

but thanks anyway

 
Old 08-29-2004, 02:30 PM   #29
scuffell
Member
 
Registered: Jun 2004
Location: Reading, UK
Distribution: SUSE 9.1, SUSE 9.2, SUSE 9.3, Knoppix 3.8, Gentoo 2005.0, cygwn, colinux
Posts: 100

Rep: Reputation: 15
If you can, download a copy of Knoppix 2.6 (under Download Linux on this website), burn it to disk, boot it up (it's a LiveCD), and it should mount all of your filesystems. When it finishes booting, move all your files to hda, and then re-install SuSE on hdb.
 
Old 08-29-2004, 03:56 PM   #30
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
What's happened is that the fs on hdb1 is suffering from some degree of corruption. That's why mount fails. The good news is that you may be able to recover with the fs appropriate fsck command, most likely something like:

fsck.reiserfs /dev/hdb1

The actual name of the command varies with the distro. (reiserfsck, fsck.reiser, etc.) The bad news is that while reiser is very resistant to powerfailure corruption, when reiser does fail, it tends to go down _hard_. Good luck.
 
  


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
Want a challenge? TruckStuff Linux - Security 2 05-13-2005 01:39 AM
Real Plyer...hehe ;) Giving me Real Problems.. Azzath Linux - Software 0 02-14-2005 08:56 AM
Week 1 at C++ class/WinXP. A real challenge Mega Man X General 3 10-16-2003 03:11 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
Real Programmers Real People Real CS Students nakkaya General 5 07-04-2003 02:46 PM

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

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