LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2009, 02:53 PM   #1
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
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
 
Old 07-16-2009, 03:10 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
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.

Last edited by jhwilliams; 07-16-2009 at 03:12 PM.
 
Old 07-16-2009, 03:28 PM   #3
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Original Poster
Rep: Reputation: 33
In RH I never had that issue.
Thing is my host has sles9 and the live cd is openSuse11. Would it still work.


Thanks.
 
Old 07-16-2009, 04:32 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardy won't startup, stops with a "fail" and I have to "ctrl+alt+del" to boot. brjoon1021 Ubuntu 10 12-15-2008 06:29 PM
Fedora 9, First Boot, Stops at "Grub:" What To Do? Novatian Fedora 11 07-17-2008 09:00 AM
Fedora 9, First Boot, Stops at "Grub:" What To Do? Novatian Fedora 1 07-05-2008 03:28 AM
Grub bootloader stops at "grub" at bootup i_lurve_linux Ubuntu 2 02-24-2007 09:12 AM
Boot stops at "GRUB" Flasher2 Linux - Hardware 6 06-25-2005 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration