Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to start Gentoo after installatio(grub problem???)
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
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Wed Jan 23, 2008 9:59 pm    Post subject: Problem to start Gentoo after installatio(grub problem???) Reply with quote

Problem to start gentoo using Grub after reboot system(after installation of gento from stage 3). Computer is turning on about 3 minutes(black screen with smal line), than shows
Booting "Windows XP"
rootnoverify (sd0,0)
Error 23: Error while parsing number
press any key to continue....

then I push any key and shows graphical screen(but blurred - maybe some problem with graphic card?) and in that screen I can choose only Windows XP(WHEN I CHOOSE IT SHOWS THE SAME LIKE ABOVE)

I didn´t use genkernel, I used manual configuration, I have disk partitioned: sda1=winxp, sda2=some partition belonging to winxp, sda3=SWAP, sda4=linux boot/200MB/, sda5=NTFS partition, sda6=Linux root
both linux partitions I think are logical, windows partitions are primary, I have SATA disk(i could use only /dev/sda, not /dev/hda during installation

My Grub configuration was:
default 0
timeout 30
splashimage=(sd0,4) boot/grub/splash.xpm.gz

title=Gentoo Linux
root (sd0,0)
kernel /boot/kernelx root=dev/sda5

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

My first installation of gentoo and no idea what to do now, is any way to reconfigure grub or what is the problem????
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Jan 23, 2008 10:33 pm    Post subject: Re: Problem to start Gentoo after installatio(grub problem?? Reply with quote

rado3105 wrote:
rootnoverify (sd0,0)
Error 23: Error while parsing number

"sd" does not mean anything to GRUB. All harddrives are called "hd", and it does not matter what type of interface is used (IDE, SCSI, USB, etc.).

rado3105 wrote:
then I push any key and shows graphical screen(but blurred - maybe some problem with graphic card?)

This means the splashimage line is pointing to the wrong place. It is OK to delete the splashimage line, then you will have a plain (but not blurred) GRUB menu.

rado3105 wrote:
I have disk partitioned:
sda1=winxp
sda2=some partition belonging to winxp
sda3=SWAP
sda4=linux boot/200MB/
sda5=NTFS partition
sda6=Linux root

/dev/sda2 is probably the extended partition that contains sda5 and sda6.

rado3105 wrote:
My Grub configuration was:
Code:
default 0
timeout 30
splashimage=(sd0,4) boot/grub/splash.xpm.gz

title=Gentoo Linux
root (sd0,0)
kernel /boot/kernelx root=dev/sda5

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


Try this, and see if it works better.
Code:
default 0
timeout 30
root (hd0,3)
splashimage /grub/splash.xpm.gz

title Gentoo Linux
kernel /kernelx root=/dev/sda6

title Windows XP
chainloader (hd0,0)+1
Back to top
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Thu Jan 24, 2008 9:59 am    Post subject: re Reply with quote

I need to install it all again, or is any way to change grub.config without installing again???
Back to top
View user's profile Send private message
Habbit
Apprentice
Apprentice


Joined: 01 Sep 2007
Posts: 237
Location: 3.7137 W, 40.3873 N

PostPosted: Thu Jan 24, 2008 11:32 am    Post subject: Reply with quote

You can boot from any Linux live cd (not necessarily gentoo, an ubuntu cd will work just as fine), then mount your /boot partition anywhere and edit the grub.conf file to suit your needs. Reboot and voilà. Also, remember that if you can get GRUB to show you the menu (i.e. just removing the splashimage line) you can live-edit it at boot time (though not save the changes). This is specially useful when changing your kernel configurations (uvesafb on amd64, anyone? :evil: ).
_________________
Code:
~ $ objdump -d ./habbit_mind
90      xchg %rax, %rax
EB FD   jmp $-3
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