View previous topic :: View next topic |
Author |
Message |
yzonesoft n00b
Joined: 25 Jul 2004 Posts: 65 Location: India
|
Posted: Sat Jul 31, 2004 10:45 am Post subject: Booting to my first install of gentoo |
|
|
I installed a stage 3 gentoo 2004.2 . On booting I get these messeges
-------------------------------------------------------------------------------------
blah blah blah
* checking root filesystem (readonly if neccessary)
fsck: fsck.xfs: not found
fsck:Error 2 while executing xfsfor /dev/BOOT [OK]
*Remounting root filesystem read/write [OK]
*You need to set /etc/hostname to a valid hostname
*Setting hostname to localhost [OK]
blah blah
*checking all filesystems
fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The super block could not be read or does not describe a correct est2 filesystem. if the device is valid and it really contains a ext2 filesystem (and not swap or UFS or something else) then the superblock is corrupt, and you might need running with e2fsck with an alternate superblock
e2fsck -b 8193 device
/dev/hda13 clean 35/8032 files, 4231/32096 bloack
*fsck could not correct all error, manual repair needed [!!]
Give root password for maintance
(or type control-D for normal startup):
--------------------------------------------------------------------------------------
hda13 is the boot partition, I have done everything as by the gentoo handbook. Why these errors appear. _________________ http://yzonesoft.buildtolearn.net |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Sat Jul 31, 2004 10:51 am Post subject: |
|
|
In your /etc/fstab you need to specify the actual filesystem names. The lines you need to edit are /dev/BOOT, etc. In your case your boot partition is /dev/hda13 so replace /dev/BOOT with just that. Proceed with the other partitions as well.
You also need to set the hostname - just edit the file /etc/hostname (create it if it doesn't exist) and set it to whatever you like.
Håkan |
|
Back to top |
|
|
markkuk Guru
Joined: 29 Nov 2002 Posts: 446
|
Posted: Sat Jul 31, 2004 10:54 am Post subject: Re: Booting to my first install of gentoo |
|
|
yzonesoft wrote: |
* checking root filesystem (readonly if neccessary)
fsck: fsck.xfs: not found
fsck:Error 2 while executing xfsfor /dev/BOOT [OK]
blah blah
*checking all filesystems
fsck.ext2: No such file or directory while trying to open /dev/BOOT
hda13 is the boot partition, I have done everything as by the gentoo handbook. Why these errors appear. |
You haven't edited /etc/fstab as told in chapter 8a of the handbook. You must change the reference to /dev/BOOT to your real /boot partition (/dev/hda13). |
|
Back to top |
|
|
yzonesoft n00b
Joined: 25 Jul 2004 Posts: 65 Location: India
|
Posted: Sat Jul 31, 2004 1:41 pm Post subject: |
|
|
Thank you, Now I am able to boot to the command prompt within seconds.
Yeah, Just in a hurry to finish installation I have made a few mistakes.
In kernel configuration, file system support ,doc says to select one or more of the following options as need by your system,
Reiserfs support
Ext3 Journalling file system
JFS filesystem
second extended filesystem
XFS filesystem
I have included all the above eventhough only Ext3 Journaling is enough for me. So this is will simply make kernel big and it wont affect any performance. Is it right? _________________ http://yzonesoft.buildtolearn.net |
|
Back to top |
|
|
psycovic Apprentice
Joined: 23 Jun 2004 Posts: 172
|
Posted: Sat Jul 31, 2004 1:46 pm Post subject: |
|
|
Well....if you don't use them, why install support for it? You can keep it in, but it'll make it a little bigger. If it doesn't work for some reason, you can just recompile your kernel with the support again. You can always fix your mistakes in Linux. |
|
Back to top |
|
|
|