View previous topic :: View next topic |
Author |
Message |
Baumer n00b
Joined: 18 Aug 2005 Posts: 14
|
Posted: Fri Aug 19, 2005 1:55 am Post subject: More help for the newbie. (Filesystem problem HELP!) |
|
|
Where do I edit the bootloader so that it is permanent?
And I seem to have a big problem.... Heres the error, while in operation of checking root filesystem:
Code: | fsck.ext3: Bad magic number in super-block while trying to open /dev/hda3/
/dev/hda3:
The superblock could not be read or does not descdribe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
*Filesystem couldn't be fixed :(
|
/dev/hda3 is ext3 filesystem and it even says so in my fstab. _________________ Gentoo newb
Last edited by Baumer on Fri Aug 19, 2005 5:38 am; edited 1 time in total |
|
Back to top |
|
|
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Fri Aug 19, 2005 2:55 am Post subject: |
|
|
You edit the bootloader in /boot/grub/grub.conf assuming you are using grub
If you are using lilo, I believe the config file is /etc/lilo.conf |
|
Back to top |
|
|
Baumer n00b
Joined: 18 Aug 2005 Posts: 14
|
Posted: Fri Aug 19, 2005 4:29 am Post subject: |
|
|
Even if the grub.conf file doesn't exist and I have to create it?
And I really need help with the other problem... if anyone knows. Thanks. _________________ Gentoo newb |
|
Back to top |
|
|
rokstar83 Guru
Joined: 09 Apr 2005 Posts: 423 Location: MD
|
Posted: Fri Aug 19, 2005 5:05 am Post subject: |
|
|
did you compile ext2 as a module or into the kernel? Often booting off a module fs doesn't lead too good things. |
|
Back to top |
|
|
Baumer n00b
Joined: 18 Aug 2005 Posts: 14
|
Posted: Fri Aug 19, 2005 5:09 am Post subject: |
|
|
My hda3 partition is ext3, I don't know why it thinks it should be ext2.
I did genkernel and did not configure any modules myself yet. Just wanted to get installed. _________________ Gentoo newb |
|
Back to top |
|
|
rokstar83 Guru
Joined: 09 Apr 2005 Posts: 423 Location: MD
|
Posted: Fri Aug 19, 2005 5:41 am Post subject: |
|
|
please display the result of the following for curiosity sake.
Code: | # cd /usr/src/linux
# cat .config | grep EXT3
|
|
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Fri Aug 19, 2005 7:36 am Post subject: |
|
|
Baumer wrote: | My hda3 partition is ext3, I don't know why it thinks it should be ext2.
I did genkernel and did not configure any modules myself yet. Just wanted to get installed. |
Hi, as you may Have noticed, the command to create an ext3 file system actuelly is mk2fs -j, so you can basically say that ext3 = ext2 + journal.
In order to check if there is something wrong with the / partition, boot on the live cd, mount it as you did during the install, check that /mnt/gentoo shows what it should (bin sbin etc usr var tmp ...) and give us the output for mount -l |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Fri Aug 19, 2005 12:34 pm Post subject: |
|
|
/boot/grub/grub.conf has to be created (the first time) |
|
Back to top |
|
|
opqdan Guru
Joined: 13 Dec 2004 Posts: 429 Location: Redmond, WA, USA
|
Posted: Fri Aug 19, 2005 1:18 pm Post subject: |
|
|
If you followed the directions in the installation handbook for installing and configuring grub, you wouldn't be having this problem. Look there.
Also, post your fstab here. I think I have an inkling about what may be wrong. |
|
Back to top |
|
|
|