Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB and shutdown problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
phil3k
Guest





PostPosted: Sat Aug 03, 2002 10:17 am    Post subject: GRUB and shutdown problems Reply with quote

despite the fact, that gentoo linux runs perfectly, I've got two problems.

When I try to give a 'shutdown now', instead of shutting down the machine, Linux just prints "Power Down" on the console, and waits forever, I don't know whats the source of this problem.

And secondly, I've got boot problems with GRUB. But first my boot scenario. NT Loader acts as the primary loader (installed in /dev/hde1) loading GRUB (installed in /dev/hde11) (Listing 1). When want to boot Linux from the NT Boot Menu, instead of booting Linux, GRUB just goes to his built-in console, and nothing more happens.

Then when I manually enter the commands, (root + kernel + boot), everything works just fine.

I think that the problem is, that GRUB cannot find my /boot/grub/menu.lst (Listing 2)

Listing 1 - /etc/fstab

/dev/hde11 /boot ext3 noauto,noatime 1 2
/dev/hde13 / ext3 noatime 0 1
/dev/hde12 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 notauto,ro 0 0
proc /proc proc defaults 0 0

Listing 2 - /boot/grub/menu.lst

default 0
timeout 0
root (hd0,10)
kernel /boot/bzImage root=/dev/hde13 hdb=ide-scsi


It is important to say that my /dev/hde equals hd0 in grub

I hope somebody can help me
Back to top
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Aug 03, 2002 11:55 am    Post subject: Reply with quote

firstly, the "power down" line when you shutdown is there because you do not have power management (or more likely ACPI) support compiled into your kernel - OR linux can't tell your mainboard to shutoff.

try compiling "acpi" support and add "button" support

next, when you ran "grub" what did you type for the root command ?

cause it's suppossed to point to your /boot partition, not /

so you should have typed:
root (hd0,10)
setup (hd0,10)
quit


also you seem to have left a few things out of your menu.lst file.
it should look like this:

default 0
timeout 0
splashimage=(hd0,10)/boot/grub/splash.xpm.gz

title=linux
root (hd0,10)
kernel /boot/bzImage root=/dev/hde13 hdb=ide-scsi


hope that solves your problems!
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Sun Aug 04, 2002 9:36 am    Post subject: Reply with quote

I had the same problem. I have an ASUS A7V133 mainboard and use APM, not ACPI. When configuring the kernel, I had mistakenly checked the "Use Real mode to power off" option. Unchecking this option and recompiling the kernel solved it.
On some BIOS-es, especially some laptops, the opposite will do the trick (selecting the option as checked...)
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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