View previous topic :: View next topic |
Author |
Message |
leshii n00b


Joined: 17 Mar 2004 Posts: 21 Location: UK
|
Posted: Fri Jul 29, 2005 11:49 pm Post subject: trashed my fs again :( |
|
|
Ok so i tried again to resize my 90G / partition(reiserfs 3.6) to leave 30G free space as it is / fs i am using a rescue cd .
The first time i tried i used qtparted with disasterous consequences ie having to --rebuild-tree leaving / fs bootable but not really usable.
so emerged -e system then world and then all is ok but still leaving me with huge root fs and no free space.
So i tried again this time using a utility called 7tools partition manager, now though this is a win util i thought well i'll give it a try. second mistake.
On rebooting i found that gentoo could no longer boot which wasnt a supprise as i had expected that i would need to run fsck tofix any minor corruptions, so i booted into rescue cd and ran fsck /dev/hda8 this went through and this time told me that all corruptions were fixable using fsck.reiserfs --fix-fixable. So i ran this then ran fsck /dev/hda8 again and now fsck is happy that partition is good. great i thought.
However on trying to boot now i get as far as mounting / fs then freeing unused kernel mem and then nothing. Keyboard will accep input and lights on keyboard still work but it gets no further. Rebooting into rescue cd and mounting /dev/hda8 all seems ok but still i cannot boot.
Does anyone have any suggestions. |
|
Back to top |
|
 |
widan Veteran


Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sat Jul 30, 2005 1:23 am Post subject: |
|
|
You likely have a corrupt /sbin/init, or one of the libs it uses is corrupt. Try to boot with init=/bin/bash (or init=/bin/bb if even bash fails ). But there is probably more corrupt files. reiserfsck will (try to) bring the filesystem to a consistent state from a metadata point of view (ie the internal trees are not corrupt, ...), but it will not be able to restore data that was damaged because some of the blocks a file was using "disappeared" because of the resize.
By the way, the proper procedure for resizing reiserfs partitions is:
- Make backups
- Use resize_reiserfs to shrink the filesystem
- THEN resize the partition itself
It looks like you tried to do (3) before (2). |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|