I will let you know as soon as I get home. I worked from home yesterday in an ttempt to solve my issue but i had to go to work today.
I tried to have the boot file like this: #Don’t change this comment - YaST2 identifier: Original name: none
#Don’t change this comment - YaST2 identifier: Original name: none
kernel (whatever parameters were there)
initrd (whatever parameters were there)
and the grub showed me just the failsafe option. (should I have removed the failsafe and have just the one you gave me? i misunderstood that and i will try to see if it likes it without title(it might go directly to the next step)
I will verify to see exactly where the home(I think hdb1, but i will confirm) and root(hda6 to be confirmed)
I will reply in about 9 hrs from now.
Thanks malcolmlewis. Caf worked with most of the the day yesterday and a bit today, as i was not available. my problem is that i cannot boot to Suse after a kernel upgrade. With PartedMagic I can see the partitions with the exception of the swap partition. I tried to repair it with the instalation disk but it fails to repair the grub menu.lst. caf suggested to change it but the changes get me the errors mentioned in the previous post.
I try to understand what parameters are needed by the grub’s menu
my home is on hdb1 and root on hda6. would you be able to tell me how to pass the parameters? i can see everything wit Parted Magic but not abel to start grub. any ideea?
ok i was able to find the kernel files which I assume were corrupted from the location in the link you gave me. The only problem i have is that my system doesn’t boot up and i get after i try to log in with my old grub which i still have into a console where i don’t have too many commands available(as posted at the beginning of this long thread.(page 1)
how can i run this command to force an installation:
rpm -Uvh --force *.rpm
With PartedMagic i can put the files in any location i want, i even have a terminal to run it from there.
should i try? any suggestions/ideas?
here is the list of directories in hda6:
This time go to Expert Mode
We want to go to manage the Installed Packages/Software
See if it will let you re-install just the kernel packages
Usually you have to lock down all but the packages you want to re-install
This actually is/will install the old kernel, as supplied on the dvd.
Given that I have not actually done this for years, it’s hard to recall, but I’m assuming as with any kernel install it will write back to the menu the changed kernel detail.
The other method as pointed to by Malcolm is easy enough, but at the same time hard too, especially if you have never done it before. The post he links you too describes the method.
thanks caf. I was able to find the package which supposedly failed to be installed. I have the rpm files as mentioned in the link provided by malcolm. My question is how can i run rpm -qa whn i cannot get in the system? Can i try it from Parted Magic which provides me a terminal? if i boot in and get to the terminal via the initial menu.lst i don’t think that i have rpm command, not sure but limited commands were available in there(out of the ones I know). maybe /bin/rpm -Uvh * will do it for me? (just had the ideea to look for it now where it resides with the which command on my laptop). I think i can try that after i copy the files from my usb to the machine via PartedMagic. i will let you know.
I have waited to post this until you had went through all the options and still could not get your system up. You can start the install over from your Installation DVD and choose Upgrade instead of New install. Make sure you get your partition for root selected to the right place using the Advanced partitioning editor. The Auto install would most likely try to install by cutting into your Windows partition.
What you want is to overwrite your Root partition and keep your home partition. Make sure the Partitioning is correct before installation! Make sure you know which HD is hda and which is hdb.
Note this is only if all of Caf’s answers get you no where. He is more savvy on the Boot stuff than most anyone.
try it with a suse live cd
switch to root in a terminal with su
password is to just hit enter again.
If on the other hand you have the openSUSE install DVD, boot from it and on the first menu of options select the Rescue System option. That will start an elementary Linux Live operating system and bring you to the login prompt. Enter the username root and you will be at the command prompt with rootly powers and ready to proceed.
i was trying the variant Rescue System from DVD install disk.
I’m in as root and I can see the list of partitions (/dev/sdax and /dev/sdbx) as noted earlier in the PartedMagic. I try :
mount /dev/sda6 /mnt ( on this partition i have the root directories)
mount --bind /dev /mnt/dev
bash: chroot: command not found
if i ignore it and go the next command:
rpm -Uvh --force /mnt/new_kernel/kernel*rpm
(there are 3 files kernel-default-126.96.36.199-0.1.1.x86_64.rpm,kernel-default-base-188.8.131.52-0.1.1.x86_64.rpm and kernel-default-extra-184.108.40.206-0.1.1.x86_64.rpm)
and i get this error:
rpm: error while loading shared libraries: librpm-4.4.so: cannot open shared object file: No such file or directory
should i try the other solution with upgrade from the instalation disk proposed by MattBClassic(thank you)
what do you think caf?
Personally I would think you find this easier form the Rescue Installed System
use expert mode
Repair Installed Software
Lock it all down except the kernel packages
It will just take a bit of figuring out, but it does work.
i’m trying to keep just a log from now on as it seems that my problems are worse than i tought and maybe i and some us can learn out of this.
I tried to repair the system without luck as the menu was not recognized. I then tried the update solution and i receive this error:
Instalation of package ./suse/x86_64/kernel-source-220.127.116.11.9.1.x86_64.rpm failed
and the detailed errors:
Subprocess failed. error: RPM failed: Replacing file /usr/src/linux-obj with symlink to linux-18.104.22.168.9-obj
rm: cannot remove ‘/usr/src/linux-obj’: is a directory
error: %post(kernel-source-22.214.171.124.9.1.x86_64) scriptlet failed, exit status 1
I will try to see if i can ignore it as retry doesn’t work.
if it doesn’t i will reinstall it with the /home directory on a different partition which is empty and hopefully i can keep my old settings
Hi caf, that’s what i did. Having a number of partitions created long time ago I had some spare ones. So I started a fresh install and created my new home on another partition just to have the old home saved. Everything was fine but now i get a message when trying to login that kde4initmanager was not installed correctly. I can get on the console mode but not sure what i need to do to install kde. most probably rpm but don’t know what. so my saga is not over, but it didn’t make me bitter over the OS as i learned few more things so no complains. I do blame my old machine for this and in fact that’s my fault that i procrastinate to still use it. anyway would you or someone be able to help me with kde installation? should i do it from repair or advanced or just direct rpm from the installation disk?