[gentoo-user] Something is seriously wrong with my hard drive partitions

2005-07-03 Thread Ian K
Hi everyone,
I really need some help.
Here is the story:
I wanted to play NWN over my network. I had it on my XP partition, so I
tried to boot it.
Grub gives me error 13, I cant remember the exact message off hand..

I boot into Linux, and try a number of different things, such as a ntfsfix.

I tried again, and it still didn't work. At this point I gave up. This
is not the
most important issue on this post though, so please ignore this problem
temporarily.

Another thing that I wanted to do sometime is try Ubuntu. I of course
did not want
to get rid of Gentoo.

I used QTParted on a system rescue disk I got a little while ago. I
booted in, and
then went to resize /dev/hda4 (My / in Gentoo).

I got an error during the resize. This partition was not mounted. As I
recall, the error
was something like error during ped_filesystem_resize_call or
something very close.
It seemed to abort after that, bringing me back to the main screen,
where everything
seemed to be back to normal (partition size-wise).

I thought, 'ok, we'll do that someother time.' I decided to just boot
back into Linux
and get on with my day.

But, while loading Gentoo, I get a crippling kernel panic:
ReiserFS: hda4: using ordered data mode
ReiserFS: hda4: journal params: device hda4, size 8192, journal first
block 18, max trans len 1024,
   max batch 900, max trans age 30
ReiserFS: hda4: checking transaction log (hda4)
ReiserFS: warning: is_tree_node: node level 28521  does not match the
expected one 3
ReiserFS: hda4: warning: vs-5150: search_by_key: invalid format found in
block 32866. Fsck?
ReiserFS: hda4: warning: vs-13070: reiserfs_read_locked_inode: i/o
failure occurred trying to
   find stat data of [1 2 0x0 SD]
ReiserFS: hda4: Using rd5 hash to sort names
VFS: Cannot open root device hda4 or unknown-block(3,4)
Please append a correct root= boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,4)

So you know:
hda1 = NTFS
hda2 = boot
hda3 = swap
hda4 = root

I need lots of help!
Thanks!
Ian

PS If I need to wipe Gentoo, is there any way to recover some
important files of
mine? It said 'fsck?' does this mean it could be recoverable? Again, my
higher priority
is Linux working. Windows can wait. Thanks!!

begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: PentaQuad=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [gentoo-user] Something is seriously wrong with my hard drive partitions

2005-07-03 Thread A. Khattri
On Sun, 3 Jul 2005, Ian K wrote:

 ReiserFS: hda4: Using rd5 hash to sort names
 VFS: Cannot open root device hda4 or unknown-block(3,4)
 Please append a correct root= boot option
 Kernel Panic - not syncing: VFS: Unable to mount root fs on
 unknown-block(3,4)

 So you know:
 hda1 = NTFS
 hda2 = boot
 hda3 = swap
 hda4 = root

 I need lots of help!
 Thanks!
 Ian

 PS If I need to wipe Gentoo, is there any way to recover some
 important files of
 mine? It said 'fsck?' does this mean it could be recoverable? Again, my
 higher priority

I boot off the LiveCD then run fsck on the partitions:

# fsck -y /dev/hda4

If it successfully fixes it then you can reboot (remove CD) hopefully back
into Linux.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Something is seriously wrong with my hard drive partitions

2005-07-03 Thread Ian K
A. Khattri wrote:

On Sun, 3 Jul 2005, Ian K wrote:

  

ReiserFS: hda4: Using rd5 hash to sort names
VFS: Cannot open root device hda4 or unknown-block(3,4)
Please append a correct root= boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,4)

So you know:
hda1 = NTFS
hda2 = boot
hda3 = swap
hda4 = root

I need lots of help!
Thanks!
Ian

PS If I need to wipe Gentoo, is there any way to recover some
important files of
mine? It said 'fsck?' does this mean it could be recoverable? Again, my
higher priority



I boot off the LiveCD then run fsck on the partitions:

# fsck -y /dev/hda4

If it successfully fixes it then you can reboot (remove CD) hopefully back
into Linux.



  

Here are the results:

# fsck -y /dev/hda4

###
reiserfsck
###
Replaying Journal..
Reiserfs journal '/dev/hda4' in blocks [18.8211]: 0 transactions replayed
Checking internal tree../ 1 (of   4)block 32866; The level of the node
(28521) is not correct, (3)
expected.
 the problem in the internal node occured (32866), whole subtree is skipped
finished
Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs.
Bad nodes were found, Semantic pass skipped
1 found corruptions can be fixed only when running with --rebuild-tree
###
reiserfsck finished date
###

Thats the output.
Thanks!
begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: PentaQuad=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [gentoo-user] Something is seriously wrong with my hard drive partitions

2005-07-03 Thread Colin

Ian K wrote:


A. Khattri wrote:

 


On Sun, 3 Jul 2005, Ian K wrote:



   


ReiserFS: hda4: Using rd5 hash to sort names
VFS: Cannot open root device hda4 or unknown-block(3,4)
Please append a correct root= boot option
Kernel Panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,4)

So you know:
hda1 = NTFS
hda2 = boot
hda3 = swap
hda4 = root

I need lots of help!
Thanks!
Ian

PS If I need to wipe Gentoo, is there any way to recover some
important files of
mine? It said 'fsck?' does this mean it could be recoverable? Again, my
higher priority
  

 


I boot off the LiveCD then run fsck on the partitions:

# fsck -y /dev/hda4

If it successfully fixes it then you can reboot (remove CD) hopefully back
into Linux.





   


Here are the results:

# fsck -y /dev/hda4

###
reiserfsck
###
Replaying Journal..
Reiserfs journal '/dev/hda4' in blocks [18.8211]: 0 transactions replayed
Checking internal tree../ 1 (of   4)block 32866; The level of the node
(28521) is not correct, (3)
   expected.
the problem in the internal node occured (32866), whole subtree is skipped
finished
Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs.
Bad nodes were found, Semantic pass skipped
1 found corruptions can be fixed only when running with --rebuild-tree
###
reiserfsck finished date
###

Thats the output.
Thanks!
 

Run fsck with the --rebuild-tree option.  However, this will cause 
any/all folders to be renamed and stuck inside /lost+found.  At least 
that's what happened to me.  Then you'll have to sift through files and 
save the ones you can.


This is why I make backups of my config files and save them on my /home 
partition.  Now when I go to reinstall Gentoo (as soon as I get my new 
hardware), I can copy back make.conf and the other important ones and 
get back up to speed faster.  Also copy over your distfiles if you find 
them, that saves a lot of time.


--
Colin


--
gentoo-user@gentoo.org mailing list