Boot interrupt 'command not found' and 'syntax error'

Hi all.

I have, since the day before yesterday, a strange error on my laptop running OS 12.1.

Every time I start up my system I get errors which start in the following way:


doing fast boot
boot/02-start.sh: line 51: mkdir: command not found
mount: mount point /dev/shm does not exist
boot/02-start.sh: line 53: mkdir: command not found
mount: mount point /run does not exist
boot/02-start.sh: line 55: mkdir: command not found
mount: mount point /dev/pts does not exist
...]
boot/01-devfunctions.sh: line 38: ls: command not found
boot/01-devfunctions.sh: line 21: / * 0x100000) + : syntax error: operand expected (error token is "* 0x100000) + ")
Could not find /dev/disk/by-id/ata-Hitachi_HTS543232L9A300_080710FB0400LEC0YZYA-part2.
Want me to fall back to /dev/disk/by-id/ata-Hitachi_HTS543232L9A300_080710FB0400LEC0YZYA-part2? (Y/n)

N.B: not all of the errors are listed, as I’ve got only a picture of them and can’t find the errors in a log (at least not in /var/log/messages )

Whether I confirm or deny the fallback is irrelevant - I end up at a shell with no useful commands at my disposal (as far as I’ve tried)

If I type

exit

there, the boot process resumes as if nothing’s happened.

I am kind of baffled.
Relevant information may be, that a day before these errors started occuring I updated the system with some trouble in the process - because Yast wanted to delete 500+ packets for KDE etc.

Any Idea what could be wrong and a remedy for it would be very welcome.

Additional information on the system:
Laptop: NoName with Compal IFL90 MB C2D T8300, 4GB RAM
AHCI disabled
Legacy USB disabled
OS: OpenSuse 12.1

Thanks in advance

On 2013-03-16 13:26, Aquinox wrote:

> I am kind of baffled.
> Relevant information may be, that a day before these errors started
> occuring I updated the system with some trouble in the process - because
> Yast wanted to delete 500+ packets for KDE etc.
>
> Any Idea what could be wrong and a remedy for it would be very welcome.

Maybe you deleted things you should not have.

One drastic measure that /sometimes/ work is to boot from the install
DVD (of 12.1 in your case) and choose upgrade. It is not really an
upgrade, because the destination is the same version. But it replaces
everything with versions from the DVD, adding all pieces.

Offline upgrade
method

Of course, after that you have to update everything again, all your
updates and repositories are lost.

Take this advice with care. I can not say it will work, only that
sometimes it works.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

That Idea occurred to me too, but I would like to avoid it since I do not know the cause of the problem and this would basically overwrite everything.

I think chances are, that it might go wrong and as I need the laptop for a conference in the upcoming week so I’d like to avoid wrecking it completely.

I have found the source of errors for the propositions of deleting up to 600 packages.
I somehow ended up having a 12.2 Update repository in my list

On 2013-03-16 15:36, Aquinox wrote:
>
> That Idea occurred to me too, but I would like to avoid it since I do
> not know the cause of the problem and this would basically overwrite
> everything.

Not exactly :slight_smile:

It replaces packages with the equivalent packages from the DVD, which
can be older. Thus you have to re-add your list of repositories and
update everything - again.

It also adds deleted packages that should be there, with their default
config files.

It can replace config files, but in that case the previous config file
is kept with another name - you just have to search for files named
.rpmorig’ and '.rpmnew’. Actually, the list of those files is stored
in “/var/adm/rpmconfigcheck” by boot script “rpmconfigcheck”

> I think chances are, that it might go wrong and as I need the laptop
> for a conference in the upcoming week so I’d like to avoid wrecking it
> completely.

Well, as I said, it is something that several people reported corrected
their damaged systems. It is not something to do on a well functioning
system :slight_smile:

> I have found the source of errors for the propositions of deleting up
> to 600 packages.
> I somehow ended up having a 12.2 Update repository in my list

Oops! :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)