LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Moved file partitions, File system check failed on Fedora, Windows will not boot (http://www.linuxquestions.org/questions/linux-newbie-8/moved-file-partitions-file-system-check-failed-on-fedora-windows-will-not-boot-776089/)

LinkSlayer64 12-16-2009 09:08 AM

Moved file partitions, File system check failed on Fedora, Windows will not boot
 
Ok, hello, new hear, figured this would go in newbie questions, that way I'm not blasted with too much jargon I don't understand.

So, here's my problem so far, my partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)

so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner

Has anyone experienced this before? Please help, it will be appreciated, and sorry for probably doing something so stupid to screw it up >.<

Agrouf 12-16-2009 09:22 AM

So grub is booting, right?
Are you using grub or grub2?
If this is grub, please post the output of fdisk -l and the content of /boot/grub/menu.lst
You can do that from the fedora live cd.

LinkSlayer64 12-16-2009 09:24 AM

Sorry, I'm not at that computer right now, I just wanted some info to see if this ever happened to anyone before. (I believe what you're going to ask is what the bootloader is set to boot, but it was not altered at all, so I don't know why that would matter)

Ok, just got on, trying to mount GRUB gives me an error "unable to mount grub (label of partition) error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error in some cases useful info is found in syslog -try dmesg | tail or so

used "dmesg" got "EXT4-fs (sda3): bad geometry: block count 204800 exceeds size of device (200812 blocks)
" any way to fix this, I rly f'd up this time >.<

ironically I can still mount the other ones, which would mean they'res nothing wrong with them...?

LinkSlayer64 12-16-2009 03:44 PM

Would it seem liklely to guess that I should try to reinstall GRUB? and change it to ext3 (I have no idea why it is ext4)

yancek 12-16-2009 04:41 PM

I believe it would be difficult to give you any accurate advice without the output of fdisk -l command and menu.lst. Also, you were pretty vague about which partitions you moved and where the free space was.

LinkSlayer64 12-16-2009 05:03 PM

Sorry, went a bit frantic
fdisk -l
Code:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x820adefc

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1        718    5766299+  7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2            719      36403  286638757+  7  HPFS/NTFS
/dev/sda3  *      36404      36428      200812+  83  Linux
/dev/sda4          36474      38913    19599300    5  Extended
/dev/sda5          36982      38913    15518720  8e  Linux LVM

Disk /dev/dm-0: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdf: 1015 MB, 1015021568 bytes
103 heads, 43 sectors/track, 447 cylinders
Units = cylinders of 4429 * 512 = 2267648 bytes
Disk identifier: 0xc3072e18

  Device Boot      Start        End      Blocks  Id  System
/dev/sdf1  *          1        448      991231+  7  HPFS/NTFS
Partition 1 has different physical/logical endings:
    phys=(123, 102, 43) logical=(447, 62, 35)

Disk /dev/dm-2: 13.8 GB, 13774094336 bytes
255 heads, 63 sectors/track, 1674 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/sdg: 2062 MB, 2062548992 bytes
16 heads, 32 sectors/track, 7868 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0xd351cf68

  Device Boot      Start        End      Blocks  Id  System
/dev/sdg1  *          1        7868    2014192    b  W95 FAT32

tried to use debugfs to read menu.lst but I can't, and trying to dump it gives me "dump: Invalid argument while reading ext2 file"
Now, the freespace was as such

Vista Recovery
free space
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)

to

Vista Recovery
Windows 7
GRUB
Extended
-->freespace
-->Fedora 12 (ext4)

syg00 12-16-2009 06:16 PM

Cancel all that - didn't read the earlier posts fully.
How did you move the partitions - gparted only?.

Agrouf 12-17-2009 02:18 AM

OK, so you are trying to bood from /dev/sda3.
Is that the partition you resized? Did you resize the fs too? Or just the partition?


All times are GMT -5. The time now is 09:43 PM.