Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-16-2009, 09:08 AM
|
#1
|
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu
Posts: 11
Rep:
|
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 >.<
|
|
|
12-16-2009, 09:22 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
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.
|
|
|
12-16-2009, 09:24 AM
|
#3
|
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu
Posts: 11
Original Poster
Rep:
|
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...?
Last edited by LinkSlayer64; 12-16-2009 at 03:09 PM.
|
|
|
12-16-2009, 03:44 PM
|
#4
|
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu
Posts: 11
Original Poster
Rep:
|
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)
|
|
|
12-16-2009, 04:41 PM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,391
|
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.
|
|
|
12-16-2009, 05:03 PM
|
#6
|
LQ Newbie
Registered: Dec 2009
Distribution: Ubuntu
Posts: 11
Original Poster
Rep:
|
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)
|
|
|
12-16-2009, 06:16 PM
|
#7
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,382
|
Cancel all that - didn't read the earlier posts fully.
How did you move the partitions - gparted only?.
Last edited by syg00; 12-16-2009 at 06:20 PM.
|
|
|
12-17-2009, 02:18 AM
|
#8
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
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:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|