Page 1 of 1

[Solved] MLDE comes with Grub legacy?

Posted: Fri Dec 03, 2010 5:38 am
by lauren
Hi at all!
In this forum we have a big problem with LMDE, to solve it, we must kow, if LMDE comes with Grub or Grub2; I suppose it is Grub 0.97 (some people say Grub legacy).
Please answer as soon as possible!
In many distributions the command

Code: Select all

grub-install -v
shows the version.
A second possibility is to copy/ paste "findGrub" into a terminal and see the result; I will search for the command and attach it later on.
lauren

Edit: Here is "findGrub":

Code: Select all

sudo fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sudo sh -c "hexdump -v -s 0x80 -n  2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case  \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 or higher ;; *) echo X: No GRUB Y ;; esac\""

Re: MLDE comes with Grub legacy?

Posted: Fri Dec 03, 2010 6:02 am
by viking777
LMDE comes with grub2 I can assure you. No fancy commands needed to find that out, just open /boot/grub and have a look!

Re: MLDE comes with Grub legacy?

Posted: Fri Dec 03, 2010 6:09 am
by wayne128
I installed 5 times on LMDE to various computers and laptops, I am 100% sure it is grub2 by default.
I am now running LMDE and post results of commands for other readers.
wayne@inspiron580s-desktop ~ $ sudo grub-install -v
[sudo] password for wayne:
grub-install (GRUB) 1.98+20100710-1
wayne@inspiron580s-desktop ~ $ ls /boot/grub/menu.lst
ls: cannot access /boot/grub/menu.lst: No such file or directory
wayne@inspiron580s-desktop ~ $

Re: MLDE comes with Grub legacy?

Posted: Fri Dec 03, 2010 6:19 am
by lauren
Hi!
Problem solved!
Thank you very much, then I can help riki.
lauren