Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird Problem: Grub
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
baigsabeeh
Guru
Guru


Joined: 28 Sep 2005
Posts: 520
Location: North Brunswick, NJ

PostPosted: Thu Nov 10, 2005 4:46 am    Post subject: Weird Problem: Grub Reply with quote

Ok, well you might remember how I forgot to install Portage. So, I went back and redid that installation. Now, I have another problem. This is something really weird that I have never seen in my two years using Linux. This problem involves GRUB.

GRUB is configured to dual-boot Gentoo 64 and Windows XP Home. The problem is I can't get into Linux. I get an "Error 15: File Not Found". Secondly, my display is also screwed up with GRUB. At the start, when there is supposed to be a nice graphic, I get these different color rectangles and while selecting Linux or Windows, I get a display but it has all these lines.

I'm pretty sure this has something to do with my grub.conf as any newbie could figure out.

Code:
default 0
timeout 30
splashimage=(hd1,1)/grub/splash.xpm.gz

title=Gentoo Linux 64 2.6.13
root (hd1,1)
kernel /kernel-genkernel-x86_64-2.6.13-gentoo-r5 root=/dev/sdb2 init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev doscsi vga=0x318 video=vesafb:mtrr,ywrap
initrd /initramfs-genkernel-x86_64-2.6.13-gentoo-r5

title=Windows XP Home Edition
root (hd0,0)
makeactive
chainloader +1


I used genkernel. I have a SATA drive detected as /dev/sda which is divided into two partitions. This doesn't concern Linux. However, I have a SCSI/U160 drive detected as /dev/sdb. This is broken down into two partitions: /dev/sdb1 for swap and /dev/sdb2 for root partition.

Please check my grub.conf for anything that would cause the bad video I described and the file not found error. Any help is appreciated. [I have reiserfs driver installed in Windows so I can change anything from there.]
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Nov 10, 2005 4:55 am    Post subject: Reply with quote

Your root=/dev/sdb2 needs to be root=/dev/ram0.

As for you video problem, I guess your video card doesn't like whatever video mode Grub is trying to use. You have probably already done this, but as a workaround, you can comment out or remove the splashimage line. That should at least allow you to see the options.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Thu Nov 10, 2005 2:05 pm    Post subject: Reply with quote

If your BIOS is configured to boot from /dev/sdb rather than /dev/sda , then you need to reverse all your drive numbers in grub.conf too (i.e. make all occurrences of (hd1) into (hd0) and all (hd0) into (hd1))
Back to top
View user's profile Send private message
baigsabeeh
Guru
Guru


Joined: 28 Sep 2005
Posts: 520
Location: North Brunswick, NJ

PostPosted: Thu Nov 10, 2005 2:39 pm    Post subject: Reply with quote

My BIOS doesn't boot from /dev/sdb as it is a SCSI drive and I haven't figured out how to get it to boot yet from the SCSI. Thanks, guys. See if this works.
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