You are not logged in.

#1 2014-02-01 18:39:37

skai
Member
Registered: 2009-03-01
Posts: 34

[SOLVED] grub showing nothing :-/

Hi everyone,

I've just made a *huge* update on a system, a quite old laptop : it was still the update requiring to ignore filesystem and bash first, in order to move things from /bin to /usr/bin etc... remember ? :-)

had to clean some packages, remove some legacy sysvinit things (was already using systemd... but not sure if was not set in a kind of compat mode)

then I also updated ths mkinicpio hooks, to remove warnings about [pata] etc being deprecated, I put [block] instead.

then...
(I did a backup :-) )
then I tried to reboot.

Now : grub doesn't show anything but the "minimal console line".

whereas, it should show :
- a windows partition boot
- the two arch lines (default and failsafe).

Any idea how I could at least boot something ?

linux resides on hd(0,6)

Any advice greatly welcome !

Last edited by skai (2014-02-02 07:28:41)

Offline

#2 2014-02-01 18:56:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] grub showing nothing :-/

This was a common complaint at the time grub (now legacy) was replaced by grub2 (now grub). I don't remember the fix, but there was a heap of threads about it.

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-02-01 20:53:37

skai
Member
Registered: 2009-03-01
Posts: 34

Re: [SOLVED] grub showing nothing :-/

Thanks for the move,
I already did a fast search but didn't find the equivalent problem.
I only found a 'recovery method' when going from grub to grub2, provided I did a backup, which of course i did not do. Great.

Some more info, obtained when on the grub prompt :

root is set to hd0,6
hitting 'boot' tells me a kernel must be loaded first.




- using the good old
root (hd0,0)   
makeactive
chainloader+1
boot


allowed me to boot the windows partition. (I rediscovered a vista never booted for 2 years, restoring its state from sleep ! smile ), could be useful to wipe the mbr clean.




any insight on this would be greatly appreciated

Offline

#4 2014-02-01 20:55:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] grub showing nothing :-/

Is there a *.pacnew?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-02-01 20:57:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,637
Website

Re: [SOLVED] grub showing nothing :-/

Can you just nuke /boot/grub and install grub (now grub2) following the wiki?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2014-02-01 21:04:07

skai
Member
Registered: 2009-03-01
Posts: 34

Re: [SOLVED] grub showing nothing :-/

Kernel panic, unable to mount system fs ...

I obtained this afte trying to force the kernel :

kernel /boot/vmiluz-whatever-was-there
boot

not a good news, is it ?

I guess I'll be looking for a live cd soon

Last edited by skai (2014-02-01 21:04:51)

Offline

#7 2014-02-01 21:15:51

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,381
Website

Re: [SOLVED] grub showing nothing :-/

You may be able to load your grub menu from the minimal grub prompt with

configfile /boot/grub/menu.lst.pacsave

From there you can boot as usual, then fix your boot loader. grub legacy is in the AUR if you want to stick with that.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#8 2014-02-02 07:27:53

skai
Member
Registered: 2009-03-01
Posts: 34

Re: [SOLVED] grub showing nothing :-/

@WorMzy : I love you soooo much :-)

configfile did the trick indeed.

I really thougt the kernel itself was in cause. Now that I've boot, i'll see the grub / grub legacy options.

marking this as solved.

Offline

Board footer

Powered by FluxBB