LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suse startup issue stops at "grub" (https://www.linuxquestions.org/questions/linux-newbie-8/suse-startup-issue-stops-at-grub-740600/)

knockout_artist 07-16-2009 02:53 PM

Suse startup issue stops at "grub"
 
Hi,

I was trying to fix startup issue.
Once I baked up /boot

>cp -Rv /boot/* /opt/BOOT/

I copied whole /boot partition from back up.
Started host with live cd then.
> rm -rf /boot/*
>cp -R /opt/BOOT/* /boot/

whole thing is copied over, Now when I restart host it stops at very first step and it shows word
"GRUB"
Can that be fixed?

Thanks

jhwilliams 07-16-2009 03:10 PM

reinstall grub to the disk from a live cd. i'm not sure what caused your problem (i wouldn't try it!) but cp -a would have been better, anyway -- if not rsync for a backup. "GRUB" is the first and only thing you see after system POST? I'm not sure, but that probably means you're only getting the MBR section. Anyway, do the first thing i said.

Lessons learned:
Don't rm -rf /boot/*.
Why would you do that, anyway? I mean, I guess this is interesting for exploratory purposes, but it soudns like a pain in the arse, too.

Also, /opt is not a standard place for backups -- it's for "opt"ional software packages.

knockout_artist 07-16-2009 03:28 PM

In RH I never had that issue.
Thing is my host has sles9 and the live cd is openSuse11. Would it still work.


Thanks.

jhwilliams 07-16-2009 04:32 PM

Probably. Grub versions don't change much and all it has to do is follow a pointer to go execute the initrd chain and get everything off the ground. So long as you have *a* function grub, it is my belief that it should work fine.


All times are GMT -5. The time now is 06:15 PM.