LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to mount partitions after resising through windows (https://www.linuxquestions.org/questions/linux-software-2/unable-to-mount-partitions-after-resising-through-windows-151650/)

electronics45 02-28-2004 04:33 PM

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?

0pal_t0ad 02-28-2004 04:50 PM

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?

electronics45 02-28-2004 07:05 PM

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.

quatsch 02-28-2004 07:14 PM

check your fstab entries against the output of
/sbin/fdisk -l

maybe the partition numbers changed in the process.

electronics45 02-28-2004 09:30 PM

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.

quatsch 02-29-2004 12:02 AM

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.

electronics45 02-29-2004 01:27 AM

i was root, it said soething about not having anything to veiw it with

quatsch 02-29-2004 12:09 PM

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.

puk 02-29-2004 12:33 PM

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

dbzw 02-29-2004 02:32 PM

live cds are cds that you can run linux from without installing it on your hard drive

electronics45 03-11-2004 05:27 AM

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.