LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-13-2013, 10:16 AM   #1
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Rep: Reputation: Disabled
System not booting on reboot.


Greetings from Amsterdam. This is not really a problem, more of an irritation. When I logout of my system and reboot the GRUB2 bootloader doesn't load. I just get a blinking cursor in the top left hand side of the screen. I have to hit the on/off button and then away she goes. Its fine when I do a full shutdown and restart too. It is as if the timing is all out. I live in total fear of anything to do with the bootloader because I have never had any success with the damn thing. Something always goes wrong. So has anyone had this happen to them and how did you reconfigure GRUB2 without blowing it up? Yes, I have made a double backup just to be safe. As I say, its an irritation rather than a problem but I would like to get it fixed. Many thanks.
 
Old 09-13-2013, 10:37 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
If it works from the power on, your boot loader may be ok.

Reboot, hardware reset, and power off/on all do different things.Specifically power on reads the bios into memory is the "Shadow bios" options are set. Eprom & EEprom which hold the bios are slow to read beside dynamic ram - extremely slow by modern standards (~250ns access time). Cascade9 will probably post a list of access times for modern dram :-)). His list would be more accurate than mine.

It's possible the bios are being overwritten at some point. Get into the bios and turn all that off (Shadow this code - NO). Then try your reboot. It's painless, and it may isolate the problem.
 
Old 09-13-2013, 10:48 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
It sounds like the reboot when you are logged out and the reboot/shutdown when logged in(I'm assuming that is what you mean by full shutdown)is either using a different shutdown/reboot script or something is being unloaded/disabled during log out.
 
Old 09-13-2013, 10:51 AM   #4
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
If it works from the power on, your boot loader may be ok.

Reboot, hardware reset, and power off/on all do different things.Specifically power on reads the bios into memory is the "Shadow bios" options are set. Eprom & EEprom which hold the bios are slow to read beside dynamic ram - extremely slow by modern standards (~250ns access time). Cascade9 will probably post a list of access times for modern dram :-)). His list would be more accurate than mine.

It's possible the bios are being overwritten at some point. Get into the bios and turn all that off (Shadow this code - NO). Then try your reboot. It's painless, and it may isolate the problem.
Many thanks for the feedback. Unfortunately the only things that I understood was, ~250ns access time,lol! I'm relatively new to Linux and have taken the steep learning curve route with Crunchbang. Its working too! Having said that "Idiot Speak" is perfectly acceptable. lol!
 
Old 09-13-2013, 11:36 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
It might be that your system has a different way for software to signal the hardware to reboot ... or that you have disabled that function in the BIOS-settings.
 
Old 09-13-2013, 12:44 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Sorry - I do waffle.

If it works from power on, the software sound ok. Go into the BIOS and fix it not to put any of the BIOS in ram. Then try a reboot. That may fix it.

If not, put it back the way it was.
 
Old 09-13-2013, 01:04 PM   #7
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Sorry - I do waffle.

If it works from power on, the software sound ok. Go into the BIOS and fix it not to put any of the BIOS in ram. Then try a reboot. That may fix it.

If not, put it back the way it was.
Hi again. That's supper out of the way. My BIOS is a Phoenix SecureCore Version 1.09, EC Version 1.03. In Main I just have the usual set time and info. Advanced, I have the Boot Diagnostic Screen and Wake Up LAN. Both are disabled, The Boot screen has only the facility to change the boot order. That's it for configuration. No facility to not put the BIOS into RAM. Not very exciting at all. It is very strange.
 
Old 09-13-2013, 02:39 PM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I can't imagine that's the whole BIOS setup. Very sad if that's all they leave to the user. Is there some manufacturer's utility?

I was looking for a hardware solution. There is little software difference between reboot and power up, and your software works, which clears drivers, etc. Some mad systems used to present a different point for track 0 to lilo in times long ago, and that freaked it. Grub managed.
 
Old 09-13-2013, 02:50 PM   #9
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I can't imagine that's the whole BIOS setup. Very sad if that's all they leave to the user. Is there some manufacturer's utility?

I was looking for a hardware solution. There is little software difference between reboot and power up, and your software works, which clears drivers, etc. Some mad systems used to present a different point for track 0 to lilo in times long ago, and that freaked it. Grub managed.
Unfortunately, that's it. It must have been the standard BIOS for Fujitsu-Siemens AMILO Notebooks. It is really basic.
 
Old 09-14-2013, 03:07 PM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Letś try something then. Best to have a usb key or some way of storing stuff, and start from your home dir (It lands there when you log in). Also get a linux live cd/install cd or dvd of some sort.

Power on, boot up and run
Code:
dd if=dev/sda of=sdambr_on bs=512 count=1
dd if=dev/sda1 of=sda1mbr_on bs=512 count=1
You now have the master boot records from the disk, and the first partition. You might also need the one from your boot partition if it is different. Pop in the live cd and reboot. When that comes up, grab a console or terminal and run these
Code:
dd if=dev/sda of=/tmp/mbr_rb bs=512 count=1
dd if=dev/sda1 of=/tmp/sda1mbr_rb bs=512 count=1
That gives you the same from a reboot. Then compare them.
Code:
diff /tmp/sdambr_rb /home/you/mbr_on
diff /tmp/mbr1_rb /home/you/mbr1_on
The correct output from the diff is no output. If you get no output, we can eliminate hardware and post your grub or lilo config file. If it says ¨Files differ¨ something weird is wrong.

Last edited by business_kid; 09-14-2013 at 03:09 PM.
 
Old 09-14-2013, 03:31 PM   #11
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Letś try something then. Best to have a usb key or some way of storing stuff, and start from your home dir (It lands there when you log in). Also get a linux live cd/install cd or dvd of some sort.

Power on, boot up and run
Code:
dd if=dev/sda of=sdambr_on bs=512 count=1
dd if=dev/sda1 of=sda1mbr_on bs=512 count=1
You now have the master boot records from the disk, and the first partition. You might also need the one from your boot partition if it is different. Pop in the live cd and reboot. When that comes up, grab a console or terminal and run these
Code:
dd if=dev/sda of=/tmp/mbr_rb bs=512 count=1
dd if=dev/sda1 of=/tmp/sda1mbr_rb bs=512 count=1
That gives you the same from a reboot. Then compare them.
Code:
diff /tmp/sdambr_rb /home/you/mbr_on
diff /tmp/mbr1_rb /home/you/mbr1_on
The correct output from the diff is no output. If you get no output, we can eliminate hardware and post your grub or lilo config file. If it says ¨Files differ¨ something weird is wrong.
Hi from a very soggy Amsterdam . Thanks for getting back to me and all the effort you are putting in to help me out. I'm going to give it a try in the morning when I've got fresh caffeine in the old veins. I'll let you know the results. This problem is the only one I have with Crunchbang. Other than that, its a real charm of a distro; even for a Linux newbie like myself. I love it . Again, many thanks and have a great evening .
 
Old 09-14-2013, 09:13 PM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
how old is this computer? If I remember right I had an older computer that would do the same thing when the linux kernels switched from apm power control to acpi power control.
 
Old 09-15-2013, 02:14 AM   #13
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AndyInMokum View Post
Hi from a very soggy Amsterdam . Thanks for getting back to me and all the effort you are putting in to help me out. I'm going to give it a try in the morning when I've got fresh caffeine in the old veins. I'll let you know the results. This problem is the only one I have with Crunchbang. Other than that, its a real charm of a distro; even for a Linux newbie like myself. I love it . Again, many thanks and have a great evening .
Good Morning. I've just tried to run what you suggested and I got this:
Quote:
andy@andy-crunchbang:~$ dd if=dev/sda of=sdambr_on bs=512 count=1
dd: opening `dev/sda': No such file or directory
andy@andy-crunchbang:~$
andy@andy-crunchbang:~$ dd if=dev/sda1 of=sda1mbr_on bs=512 count=1
dd: opening `dev/sda1': No such file or directory
andy@andy-crunchbang:~$
I guess I'm doing something wrong or, there is something wrong with my partitions. This is my partition table; It looks fine to me.

[IMG][/IMG]

I'm baffled. (I hope I'm using the right protocols and formats to share info). Again, many thanks for all of your help.

Last edited by AndyInMokum; 09-15-2013 at 02:18 AM. Reason: Terrible grammar.
 
Old 09-15-2013, 08:51 AM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Sorry - my typos. it should be /dev/sda. I made the mistake on the first line, then copied & pasted it.
/hangs head in shame.
 
Old 09-15-2013, 09:34 AM   #15
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
how old is this computer? If I remember right I had an older computer that would do the same thing when the linux kernels switched from apm power control to acpi power control.
Hi and thanks for getting back to me. You ask a very good question. It is a second hand laptop, Fujitsu-Siemens AMILO li 3710 Intel Pentium Dual Core 2Ghz, 4GB RAM. It does have an old the Windows Vista sticker on it. So the old girl is at least 6 years old. The bug or whatever it is, is just an annoyance because I know it is not fixed.
 
  


Reply

Tags
grub2



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware-current need a double reboot command to really reboot the system sardinha Slackware 11 09-12-2012 03:19 PM
Server is not booting up during reboot mohbrsu Linux - Server 0 06-07-2012 05:05 AM
dual boot system booting in Redhat linux but not booting in Windows XP sumitra Linux - Newbie 3 03-24-2011 09:42 AM
[linux auto reboot] content"reboot system boot" hunter_cao7 Linux - Server 1 11-12-2007 06:09 PM
Reboot after booting from grub deedrah Linux - Hardware 1 04-19-2004 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:45 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