[Solved] Upgrade 13.37 to 14.0 got stuck on reboot

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

[Solved] Upgrade 13.37 to 14.0 got stuck on reboot

Post by jpg153 »

Hi,

I followed the how2 upgrade instructions.

All went fine but update-grub (update-grub2 is unknown) resultet in a failure.
A required file could not be found (lost the exact message).

Now on reboot the system starts up on a command line showing

Code: Select all

grub> _
How to get back to my Salix64bit XFCE?

Thanks for any hint to get away from there.
Last edited by jpg153 on 27. Jan 2014, 10:57, edited 1 time in total.
Regards Gruß
jpg
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by mimosa »

Use any Linux Live (such as Salix Live 13.37) to install the bootloader of your choice. If you use Lilo setup in Salix Live, upgrade it from 13.37 repos first.
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by jpg153 »

Hi Mimosa,

Thanks for your message, but unfortunately I don't have a Live CD.
Is the same possible with a normal installation CD?
Regards Gruß
jpg
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by mimosa »

I think it probably is, but I've never got further than a cursory attempt followed be recourse to Live. Maybe someone else knows.
User avatar
knome
Donor
Posts: 163
Joined: 20. Dec 2012, 19:36
Location: UK

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by knome »

You might be able to boot from the grub prompt by entering commands manually. Read the section "Indirect booting by chainloading" from the opening post in the following link...

http://forums.justlinux.com/showthread. ... x-manually

You may need to experiment with different partition numbers depending on your set-up.

If you can get in to your Salix installation you/we can then figure out how to repair your bootloader.
Image
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by jpg153 »

Hi,

well the problem is quite persistent. But I have got an idea why things don't work.

First, I tried UBCD (Ultimate Boot CD) and to boot Salix with grub from there. All I receive is a kernel panic (repeatedly).
UBCD includes a linux version to repair other systems. I tried to install lilo from there, but failed (repeatedly).
Lilo won't write as it has problems in finding the right info and sequence to boot.

Booting the Salix14.0-Installation CD and then

Code: Select all

huge.s /dev/sda1 ... 
I get to the login screen, but mouse and keyboard dead (repeatedly).

Booting SalixLive13.37 all runs ok, but trying to install Lilo fails as it did with UBCD.
When looking into the lilosetup.log I started wondering what went wrong.

I think the boot loaders are having trouble with my HDD setup...

I have a SATA (SDD) disk, on which I installed (and upgraded) Salix64bit. This drive is first in BIOS order.
I also have a SCSI disk, on which I installed (and upgraded) Salix32bit (chroot environment). This drive is second from BIOS,

BUT in real booting the sequence changes and so I have the SDD being 'sdb' and the SCSI-HDD being 'sda'.
I think that is the point, where the boot loaders get confused.

I remember having had such problems on my first install...but currently I have no idea/plan to get around.

What would you suggest?

Thanks.
Regards Gruß
jpg
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by mimosa »

In Lilosetup, select the option to edit the config file, and swap sda and sdb round in the 'root' lines of the stanzas. Just a hunch ...

However, did you try the chainloading approach on ht page linked to by knome above? If that worked, it would get you inside the new Salix install. Maybe things would be easier to fix from there.

Another thing to try from Live: I think the version of lilosetup available in 14.0 may be more robust. You could run Live 13.37, download the source from the 14.0 repos, build it, and upgrade.

Code: Select all

http://download.salixos.org//i486/14.0/source/xap/lilosetup/SLKBUILD
 http://download.salixos.org//i486/14.0/source/xap/lilosetup/lilosetup-0.3.2.tar.xz
The version number will tell you if there's any point. To build it, in the directory where you downloaded those two files, as normal user do:

Code: Select all

fakeroot slkbuild -X
In fact you could almost certainly just download the package and install it as is, but there's no reason not to do it this way.
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by jpg153 »

Hi,

thanks for your hint as well!

No, I have not yet tried what Knome proposed. I had a quick read and it might be of help. I will give it a try when I am home.
Same with your proposal.

However, what if I disconnect the SCSI-disk and try to boot just the SSD? Before I will save my fstab. Then I could try and install Lilo or even Grub
and do until it runs. After that I could reconnect the SCSI-disk and restore the fstab...and then include the SCSI-disk in the boot manager.

What came to my mind, too, was, I might have used the wrong Salix version when trying to boot into the installation with

Code: Select all

huge.s /dev/sda....
With dev/sdb... it should find the correct version then...

A lot of options...let see how it runs...

Thanks so far.
Regards Gruß
jpg
rsal
Posts: 198
Joined: 12. Mar 2012, 17:00

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by rsal »

The steps are simple in grub-legacy. After booting with grub-legacy, go to grub prompt by pressing 'c' when in menu. Then issue commands:

Code: Select all

root (hd0,1)
chainloader +1
boot
The 'root (hd.,.)' parameters indicate disk number and partition number, both starting with 0. The desired disk can be found with command 'find /path/to/a/known/file' eg 'find /boot/grub/grub.cfg' . This assumes that boot loader is present in partition boot record. If not then the commands are:

Code: Select all

root (hd0,1)    
kernel /boot/vmlinuz-generic-smp-3.2.45-smp root=/dev/sda2 ro quiet
initrd /boot/initrd-generic-smp-3.2.45-smp.gz
boot
The (hd.,.) and sda2, sdb1 etc should be adjusted according to the disk and its partition having salixos (for (hd.,.) both parameters start with 0 for grub-legacy and sda sdb etc has partitions starting with 1; hence (hd0,0) is sda1 and (hd1,1) is sdb2). The kernel and initrd names should also be corrected.

Hope it helps.
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Upgrade 13.37 to 14.0 got stuck on reboot

Post by jpg153 »

Hi,

will give it at try, unless I get it fixed otherwise :P

Thanks.
Regards Gruß
jpg
Post Reply