Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with 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
Royle
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 223

PostPosted: Wed Aug 11, 2004 12:15 pm    Post subject: Problem with grub. Reply with quote

Yesterday I tried installing Gentoo Linux. It seemed to work well until I finished it. When I rebooted, grub loaded except it was black and white, with a really blury picture and lines running down it. I also got a few errors but I couldn't make them out it was so blurry. I tried booting Gentoo but that didn't work.

So today I went to try again. I mounted the drives and chrooted. I went to edit my grub.conf but it was blank. I typed it up again and tried to save it but I got an error saying "no such file or directory". So I tried installing Grub again and editing grub.conf but to the same problem.

My partion scheme is this : hda1 = windows XP
hdb1 = /boot
hdb2 = swap
hdb3 = /root

I installed grub to (hd0) and set my bios to boot from the slave drive.

Also, I was just trying to shut down my computer I'm trying to install gentoo on and I'm getting an error saying "init: /dev/initctl no such file or directory"

And 1 last thing. Should I try uninstalling grub and then try installing it agian? I installed it twice now and have not uninstalled it.
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Wed Aug 11, 2004 12:41 pm    Post subject: Reply with quote

I wonder if the reason it told you "no such file or directory" is b/c you didnt mount your boot partition before you tried to edit the config file?
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
Royle
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 223

PostPosted: Wed Aug 11, 2004 12:47 pm    Post subject: Reply with quote

well I just used "mount /dev/hdb1 /mnt/gentoo/boot" and it says that does not exist.

edit: I used used "ls" in /mnt and there was only cdrom and floppy.
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Wed Aug 11, 2004 1:23 pm    Post subject: Reply with quote

I'm not sure to understand your problem, but you may want to have a look here
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4#doc_chap5

and run
Code:
 mkdir /mnt/gentoo/boot
before mounting.

:)
Back to top
View user's profile Send private message
Royle
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 223

PostPosted: Wed Aug 11, 2004 1:39 pm    Post subject: Reply with quote

I did that mkdir thing when I first installed gentoo. Am I supposed to do it everytime after or something?
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Wed Aug 11, 2004 7:51 pm    Post subject: Reply with quote

I feel like you have tried do to
Code:
mount /dev/hdb1 /mnt/gentoo/boot
in a chrooted enviroment, where the correct mount point is supposed to be just /boot.
I think so because you said you see only cdrom and floppy in you /mnt dir.

Try to mount /dev/hdb1 in /boot, and please correct me if I'm wrong :)
Back to top
View user's profile Send private message
michaelkuijn
n00b
n00b


Joined: 28 Sep 2003
Posts: 72
Location: The Netherlands

PostPosted: Thu Aug 12, 2004 8:25 am    Post subject: Reply with quote

/dev/hdb1 is in the chroot too then, right? Doesn't that give problems? I would just exit from the chroot.
Back to top
View user's profile Send private message
nightm4re
Guru
Guru


Joined: 20 Jun 2004
Posts: 519
Location: Providence, RI, USA

PostPosted: Thu Aug 12, 2004 5:50 pm    Post subject: Reply with quote

nah, after a reboot, there is no more chrooted thing, cuz its actually booting from a partition.

ensure /boot exists, then do mount /dev/hdb1 /boot, then go edit your /boot/grub/grub.conf from there.

sounds like you tried using a splash image that was too big for your card t handle? something like that maybe.
_________________
Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net
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