Author Topic: after full update machine will not boot  (Read 997 times)

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
after full update machine will not boot
« on: August 07, 2011, 09:41:28 PM »
Started synaptic
reload
mark all upgrades
apply

all seemed well. rebooted and machine won't boot

used live cd to examine the disk (fine) partitions (all readable and seem fine)

i then noticed that the upgrade apparently changed (replaced?) initrd but not the kernel.

{{{
[root@localhost ~]# ls -l  /media/disk/boot
total 10316

-rw-rw-r-- 1 root root     440 2010-09-13 11:14 boot.backup.sda
lrwxrwxrwx 1 root root      26 2011-07-08 10:13 config -> config-2.6.33.5-pclos1.bfs
-rw-r--r-- 1 root root  112815 2010-05-30 02:42 config-2.6.33.5-pclos1.bfs
-rwxr-xr-x 1 root root  517632 2011-08-07 11:36 gfxmenu*
drwxr-xr-x 2 root root    4096 2011-08-07 11:24 grub/
-rw------- 1 root root 6146901 2011-08-07 11:36 initrd-2.6.33.5-pclos1.bfs.img
lrwxrwxrwx 1 root root      30 2010-09-13 11:04 initrd.img -> initrd-2.6.33.5-pclos1.bfs.img
lrwxrwxrwx 1 root root      34 2011-07-08 10:13 kernel.h -> /boot/kernel.h-2.6.33.5-pclos1.bfs
-rw-r--r-- 1 root root    1493 2011-07-08 10:13 kernel.h-2.6.33.5-pclos1.bfs
-rw-r--r-- 1 root root  254766 2006-11-05 23:23 message-graphic
lrwxrwxrwx 1 root root      30 2010-09-13 11:04 System.map -> System.map-2.6.33.5-pclos1.bfs
-rw-r--r-- 1 root root 1410698 2010-05-30 02:42 System.map-2.6.33.5-pclos1.bfs
-rw-rw-r-- 1 root root     256 2010-09-13 11:14 us.klt
lrwxrwxrwx 1 root root      27 2010-09-13 11:04 vmlinuz -> vmlinuz-2.6.33.5-pclos1.bfs
-rw-r--r-- 1 root root 2059536 2010-05-30 02:42 vmlinuz-2.6.33.5-pclos1.bfs
}}}

The symptom is that upon boot and bios output the machine reboots again and again.

Redid the mbr to no avail.

Writing this using live CD

What should I do now ?

Online Rudge

  • Hero Member
  • *****
  • Posts: 9778
  • I'm Just A Dog.
Re: after full update machine will not boot
« Reply #1 on: August 07, 2011, 09:48:03 PM »
Before this "update" how long had it been since your last "update"?

You might look here > http://www.pclinuxos.com/forum/index.php/topic,92661.0.html

Looks like you are using an old kernel as well. ??
« Last Edit: August 07, 2011, 09:51:08 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
Re: after full update machine will not boot
« Reply #2 on: August 07, 2011, 09:56:32 PM »
> Before this "update" how long had it been since your last "update"?
sometimes in july 2011

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: after full update machine will not boot
« Reply #3 on: August 07, 2011, 09:59:29 PM »
gilado:

Why would you think the initrd image had been changed?

No upgrade touches the kernel or the initrd image. You must manually install new kernels through Synaptic, and then the initrd image for each new kernel will automatically be created specifically for your installation. If you change hardware or alter the partitions, causing boot problems, you can manually run the mkinitrd application to then create a new initrd image that takes into account the changes. It won't be done automatically except for the original kernel installation.
« Last Edit: August 07, 2011, 10:01:21 PM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
Re: after full update machine will not boot
« Reply #4 on: August 07, 2011, 10:16:06 PM »
> Why would you think the initrd image had been changed?
Because its time stamp is from the time i ran the update (see above  file list) while the kernel itself has a timestamp from the time it was initially installed.

I have a copy of the original initrd on another machine. I copied over to this machine with the name suffix .org

different size
{{{
[root@localhost boot]# ls -l initrd-2.6.33.5-pclos1.bfs.img initrd-2.6.33.5-pclos1.bfs.img.org
-rw------- 1 root root 6146901 2011-08-07 11:36 initrd-2.6.33.5-pclos1.bfs.img
-rw------- 1 root root 6830443 2010-09-11 23:09 initrd-2.6.33.5-pclos1.bfs.img.org
[root@localhost boot]#
}}}

and different md5sum
{{{
[root@localhost boot]# md5sum initrd-2.6.33.5-pclos1.bfs.img initrd-2.6.33.5-pclos1.bfs.img.org
865375dc50d69b7868e2abf7fb8b4ec8  initrd-2.6.33.5-pclos1.bfs.img
ee590f4b450a865492fa2725cc485879  initrd-2.6.33.5-pclos1.bfs.img.org
[root@localhost boot]#
}}}

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
Re: after full update machine will not boot
« Reply #5 on: August 07, 2011, 10:28:31 PM »
I think I'll have to reinstall.

This machine has separate partitions for root (/),  /home and /var

How to I reinstall but preserve my home partition and ideally also var?


Online Rudge

  • Hero Member
  • *****
  • Posts: 9778
  • I'm Just A Dog.
Re: after full update machine will not boot
« Reply #6 on: August 07, 2011, 10:30:49 PM »
I think I'll have to reinstall.

This machine has separate partitions for root (/),  /home and /var

How to I reinstall but preserve my home partition and ideally also var?



I would wait,, see what O-P has to say.  ;)


EDIT: The instal has a "customize" feature that allows you to pick what and where you want everything installed but I have not used it in some time. I just backup /home and copy all the files back after the instal.  ;)
« Last Edit: August 07, 2011, 10:34:59 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12661
Re: after full update machine will not boot
« Reply #7 on: August 07, 2011, 10:34:02 PM »
Are you able to boot into safemode?

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: after full update machine will not boot
« Reply #8 on: August 07, 2011, 10:52:04 PM »
I think I'll have to reinstall.

This machine has separate partitions for root (/),  /home and /var

How to I reinstall but preserve my home partition and ideally also var?



Rather than reinstall the entire system, why not install the 2.6.38.8-pclos3.bfs kernel to the existing installation? That should create an initrd image that would take into account the system as it now exists. I'd think it would at least be worth a try, before doing a complete reinstall. What have you got to lose, if you are already resigned to a reinstall? At worst, you'd be no worse off than you are right now.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
Re: after full update machine will not boot
« Reply #9 on: August 07, 2011, 11:02:52 PM »
textar: I restart the machine, it shows the bios screens, then access the hard drive and promptly reset (i.e. goes through bios screens again.) It never gets to the boot screen.

o-p: I don't know how to do that. boot off of the live cd and then ...?

it's really looks like the mbr is toast (but I ran redo mbr and it did not help) or ... actually what code shows the boot options? isn't it grub? where does it live and what loads it?

Online Rudge

  • Hero Member
  • *****
  • Posts: 9778
  • I'm Just A Dog.
Re: after full update machine will not boot
« Reply #10 on: August 07, 2011, 11:22:32 PM »
textar: I restart the machine, it shows the bios screens, then access the hard drive and promptly reset (i.e. goes through bios screens again.) It never gets to the boot screen.

o-p: I don't know how to do that. boot off of the live cd and then ...?

it's really looks like the mbr is toast (but I ran redo mbr and it did not help) or ... actually what code shows the boot options? isn't it grub? where does it live and what loads it?


You can't do that if you can't boot.

While in Live CD mode, can you mount and save data to the hard drive,, retrieve data? 

From your description, I would consider a hard drive failure.  (( I'm an idiot so you can safely ignore me )) LOL  ;)


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: after full update machine will not boot
« Reply #11 on: August 07, 2011, 11:24:46 PM »
textar: I restart the machine, it shows the bios screens, then access the hard drive and promptly reset (i.e. goes through bios screens again.) It never gets to the boot screen.

o-p: I don't know how to do that. boot off of the live cd and then ...?

it's really looks like the mbr is toast (but I ran redo mbr and it did not help) or ... actually what code shows the boot options? isn't it grub? where does it live and what loads it?


Define BIOS screens? Are you talking about the screens that normally show while the machine is posting, or actual BIOS screens where you can set up boot order and such?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
Re: after full update machine will not boot
« Reply #12 on: August 07, 2011, 11:40:50 PM »
Define BIOS screens? Are you talking about the screens that normally show while the machine is posting, or actual BIOS screens where you can set up boot order and such?
I meant the screen shown while the machine is posting

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: after full update machine will not boot
« Reply #13 on: August 08, 2011, 12:11:57 AM »
Define BIOS screens? Are you talking about the screens that normally show while the machine is posting, or actual BIOS screens where you can set up boot order and such?
I meant the screen shown while the machine is posting

Are you getting any error messages, like "Please Insert bootable media" or "No operating system found"?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline gilado

  • Hero Member
  • *****
  • Posts: 541
Re: after full update machine will not boot
« Reply #14 on: August 08, 2011, 12:38:26 AM »
Rudge, I also thought it might be a HD failure.

However, after booting off of the live CD I can mount and access all partitions.

I also ran e2fsck -f on all partitions and they all checked ok

o-p: no error message of any kind, it just restarts.