unable to mount partitions after resising through windows
i recently resized both by linux and windows partition, using paragon partition manager throught windows. it worked well but when i tried to reboot linux i got an error message something like:
[something or other] =lablel =/ is not valid [something or other else] kernel panic unable to mount root fs. however i managed to edit the GRUB boot loader so it can load linux, but it won't mount any of the partitions (besides linux). can anyone help? |
can PM resize ext fs's w/o damaging them? try getting hold of/downloading a LiveCD i.e knoppix and mounting your linux partition from there and make sure everythings still there.
also, did you increase or decrease its size? |
first of all i'm not quite sure what you mean with a live CD, but i can access all my stuff and it's all there, like i stated in my first post.
and if it helps i decreased the partition size. |
check your fstab entries against the output of
/sbin/fdisk -l maybe the partition numbers changed in the process. |
sorry, i was having extreme difficultly trying to copy fstab. apart from that i can't seem to open /sbin/fdisk. i also noticed that when linux was loading the message came up "hdba1 not a valid block device" it also came up for hdba3 (both my fat file systems) and it came up twice during loading.
|
you have to be root to run fdisk.
also, I'm pretty sure /dev/hdbaX is not right. It should be /dev/hdaX. /dev/hdbX, etc. where X is a number. |
i was root, it said soething about not having anything to veiw it with
|
did you use the -l switch? It's
fdisk -l (an ell, not one) if you still don't get a list of partition that fdisk sees, then post whatever output you get. Someone might see what's wrong. |
bash-2.05b# cat /etc/fstab
/dev/hda5 swap swap defaults 0 0 /dev/hda6 / ext3 defaults 1 1 /dev/hdaX /something ext2 defaults 1 2 the message u get at the beginning: kernel panic .... oedel-doedel, and so on it means, that some crashed partitions stop the booting of linux. So u have to tell linux that it shouldn't look after this changed partition. checking: /dev/hdaX /something ext2 defaults 1 2 NOT checking: /dev/hdaX /something ext2 defaults 1 1 cya |
live cds are cds that you can run linux from without installing it on your hard drive
|
sorry it took me so long to get around to it but just to hello people with the same problem:
after a wile of just playing around with the "default" lines, in ftab, i reset the values to what i found them with (mostly 0). then i reboot to give it another go of trying to fix the problem, and it mysteriously fixes it's self. thanks to every one who helped me. couldn't have done it without you. |
All times are GMT -5. The time now is 09:12 PM. |