You are not logged in.

#1 2013-08-09 15:50:54

benovic
Member
Registered: 2012-01-08
Posts: 6

[solved] how to fix a confused grub?

I recently installed a SSD on my laptop and put arch on it.

On my "old" HDD I had another Arch install and a windows install which I never touched again after having arch running on SSD.

To be able to boot into windows I installed os-prober and did
grub-mkconfig -o /boot/grub/grub.cfg

The windows OS was found, as well as my old Arch install. I can now boot both BUT my main OS on the SSD fails because /sbin/init is no longer there. I think os-prober did generate a false cfg file here...

(I did not make a backup)

How can I fix this?

Last edited by benovic (2013-08-12 10:26:38)

Offline

#2 2013-08-09 20:00:23

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: [solved] how to fix a confused grub?

To me this sounds like you are booting off the wrong grub install (on your old HDD).
Make sure you switched bootable flags for the partitions so that the right grub install comes up, make sure the kernel line of the failing entry (your new SSD install) points to the right partition to boot. Post the failing grub.cfg line and your lsblk layout with pointers to which one is not booting.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#3 2013-08-12 10:25:54

benovic
Member
Registered: 2012-01-08
Posts: 6

Re: [solved] how to fix a confused grub?

Thanks for your answer. I fixed it by chrooting in from CD and adding the init= ... to the kernel options manually. I am sure i used the right HDD and the right grub. I don't know why grub-mkconfig failes to generate a proper entry. first i thought that os-prober is the culprit but removal of this didn't change much.

I installed systemd-sysvcompat now and hope things will stay ok smile

Thank you for your time!

Offline

Board footer

Powered by FluxBB