Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing gentoo, restart but can not enter the Gentoo!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
520xzq45
n00b
n00b


Joined: 12 Mar 2012
Posts: 7
Location: 广西贵港市

PostPosted: Tue Mar 13, 2012 3:30 pm    Post subject: Installing gentoo, restart but can not enter the Gentoo! Reply with quote

Novice I first installed gentoo the linux down late yesterday from the Good Morning, and finally casually get to the end, after the restart failed. Appears only the letter j inaccessible. Then I put the CD into about linux partition using fdisk are deleted, but fortunately, also more than XP,.
Today re-install time, made ​​some notes. Just successfully installed the grub-install, reboot. Can enter the grub boot interface. Then I chose the Gentoo Linux 3.2.9, the result is the following code:
Code:

   Booting 'Gentoo Linux 3.2.9'
root (hd0,2)
   Filesystem type is ext2fs, partition type 0x83
kernel  /boot/kernel-3.2.9-gentoo  root=/dev/sda7
Error  15:  File not found

Press any key to continue...


Then I press a key to restart into XP, can be successfully entered without any problems.
I would like to ask this question out of where? ?

I am attaching my partition and the / etc / fstab and grub.conf code, I hope that we can help out analysis analysis of the problem,
(I suspect that may partition and the / etc / fstab and grub.conf problem, I is the Chinese version of the installation manual step by step equipment, even the code is similar)

I partitioned it using cfdisk, the results are as follows:
Code:

 Name        Flags        Part  Type         FS Type          [Label]           Size (MB)
sda1          Boot          Primary              ntfs                                     26847.32
sda5                           Logical               ntfs                                     6464436.85
sda6                           Logical               ntfs                                     300650.44
sda3                           Primary              Linux                                   32.91
sda7                           Logical               Linux                                   105003.93
sda4                           Primary              Linux swap / solarls            3136.44


I looked at it with fdisk is this:
Code:

 Device          Boot                    Start                    End                    Blocks                    Id          System
/dev/sda1          *                    63                    52436159               26218048+             7          HPFS/NTFS/exFAT
/dev/sda2                              52436160          976751999               462157920           f          Night5 Ext'd (LBA)
/dev/sda3                              765497250          765561509              32130                83             Linux
/dev/sda4                         970647300         976773167                   3062934              82         Linux swap / solarls
/dev/sda5                           52436223         178289369                 62926573+            7           HPFS/NTFS/exFAT
/dev/sda6                         178289433         765497249               293603908+            7            HPFS/NTFS/exFAT
/dev/sda7                         765561573         970647299               102542863+            83              Linux


Then there is my / etc / fstab:
Code:

/dev/sda3          /boot           ext2          defaults,noatime      1 2
/dev/sda4          none           swap                  sw                   0 0
/dev/sda7             /               ext3                noatime              0 1
/dev/cdrom      /mnt/cdrom    auto             noauto,user          0 0


Finally, there is my grub.conf:

Code:

default   0
timeout  30

title  Gentoo  Linux  3.2.9
root  (hd0,2)
kernel  /boot/kernel-3.2.9-gentoo  root=/dev/sda7

title  Gentoo  Linux  3.2.9  (rescue)
root  (hd0,2)
kernel  /boot/kernel-3.2.9-gentoo  root=/dev/sda7  init=/bin/bb

title  Windows  XP
rootnoverify  (hd0,0)
makeactive
chainloader  +1


The above is my situation, I hope you time can take a look, help look for what causes get in gentoo? Thank you!
First post, do not know how to typeset the CODE, there does not look good, please forgive me.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Mar 13, 2012 4:06 pm    Post subject: Reply with quote

It can't find the kernel on the /boot/ partition (/dev/sda3) but all the config looks correct. Maybe you forgot to mount the /boot/ partition during the installation and it ended up on /dev/sda7 instead?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Mar 13, 2012 4:09 pm    Post subject: Reply with quote

520xzq45,

Your problem might be the setting for File systems. Check the .config for CONFIG_EXT2_FS. If it's set =m set it to CONFIG_EXT2_FS=y. You might want to do the same for CONFIG_EXT3_FS so it's built into the kernel.

I'm using grub 2 so I can't tell for sure if yours is OK or not, but I also have rootfstype=ext3: linux /kernel root=/dev/sdb14 rootfstype=ext3

Maybe this will help you :wink:
Back to top
View user's profile Send private message
520xzq45
n00b
n00b


Joined: 12 Mar 2012
Posts: 7
Location: 广西贵港市

PostPosted: Wed Mar 14, 2012 2:58 am    Post subject: Reply with quote

Thank you, I have found the wrong place.The original file name wrong, it should be the kernel / boot/kernel-linux-3.2.9-gentoo root = / dev/sda7.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum