You are not logged in.

#1 2010-07-31 00:58:27

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Grub dies on every reboot

I have a fresh installation of Arch Linux on an Acer Aspire One netbook. Every time I reboot, the MBR gets hosed and I need to reinstall grub manually. Is there a way to diagnose this?

By hosed, I mean that grub repeats "Loading stage1.5" endessly.

Thanks!

Last edited by kleptophobiac (2010-07-31 01:56:52)

Offline

#2 2010-07-31 02:10:12

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Grub dies on every reboot

Perhaps you need to install grub in /etc/boot/grub to stop the merry-go-round.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2010-07-31 02:22:29

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: Grub dies on every reboot

So, I can try that - but could you explain why that might help? I have a pretty standard arrangement right now:

/dev/sda1 - / - reiserfs
/dev/sda2 - /home - reiserfs
/dev/sda3 - swap
/dev/sda4 - /boot - ext2

Grub works for the first reboot after I install it to the MBR, but then fails the second. Is there some reason why having the configuration and such in /etc instead would fix things?

Thanks!
-Sasha

Offline

#4 2010-07-31 02:38:22

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Grub dies on every reboot

I am assuming you are changing grub at the boot prompt.  This only applies for one boot-up and will fail on the next.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2010-07-31 07:00:33

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Grub dies on every reboot

Lilisrecho: I don't understand at all why you would recommend GRUB to be installed in /etc somewhere, while it is typically installed either at the start of a partition or in the MBR of a HD, and the actual boot files reside in /boot/grub. Furthermore, if his GRUB configuration would be messed up (and thus in need of fixing), he wouldn't be able to boot into his OS altogether.

Kleptophobiac: It's not of much help, but have you tried googling your specific problem? Have you tested whether e.g. Lilo does work fine?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2010-07-31 14:49:14

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: Grub dies on every reboot

Googling led me to people that had the problem once and fixed it by reinstalling GRUB, but not people who had this problem after every single boot cycle.

My inclination was also to try LILO, but my time ran out to get something working in time for a departure so I just installed XP and left. I'll try and give this another shot tomorrow when I come back.

Thanks,
Sasha

Offline

#7 2010-07-31 15:40:32

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Grub dies on every reboot

Perhaps you misconstrue my suggestion.

I am not suggesting to install grub which the user has done and I assume he corrects the grub failure at boot prompt in order to boot.  If he does this, the grub will be corrected for that boot-up only and will fail when rebooting.

My advice was to fix the /etc/boot/grub entry while he is booted to reflect the same fixes he made in order to boot.

Perhaps I have misinterpreted what the user meant when he skipped all the details and reported that grub would fail upon reboot every time.

Thus, grub repair entries at prompt do not become permanent until /etc/boot/grub has been modified accordingly.

Last edited by lilsirecho (2010-07-31 15:41:27)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2010-07-31 19:28:38

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Grub dies on every reboot

lilsirecho wrote:

My advice was to fix the /etc/boot/grub entry while he is booted to reflect the same fixes he made in order to boot.

As B already posted above, GRUB configuration is in /boot/grub/menu.lst, not in /etc/boot/grub wink

Offline

#9 2010-08-01 21:39:37

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Grub dies on every reboot

My oops!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB