GRUB not correctly configurated

Archived topics about LMDE 1 and LMDE 2
Locked
semsaudade

GRUB not correctly configurated

Post by semsaudade »

Hi to everybody. I tried to install Mint LMDE on my PC but I met a problem. After installation I received a message saying that GRUB was not correctly configurated and that it need manual configuration. Here are my partition:

Code: Select all

]mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00029c63

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   229945343   114971648   83  Linux
/dev/sda2       621473790   625141759     1833985    5  Extended
/dev/sda3       229945344   621471743   195763200   83  Linux
/dev/sda5       621473792   625141759     1833984   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdg: 4141 MB, 4141875200 bytes
2 heads, 63 sectors/track, 64203 cylinders, total 8089600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00321d29

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1   *          64     8089599     4044768    b  W95 FAT32
During installation I choose sda as GRUB location. After rebooting my PC I receive the following message:
error: file 'boot/grub/i386-pc/normal.mod' not found
grub rescue>
Please help me, giving me, if it is possible, some simple istructions to do, as I am quite a newbie.

Thanks a lot!!!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
PatH57

Re: GRUB not correctly configurated

Post by PatH57 »

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 229945343 114971648 83 Linux
/dev/sda2 621473790 625141759 1833985 5 Extended
/dev/sda3 229945344 621471743 195763200 83 Linux
/dev/sda5 621473792 625141759 1833984 82 Linux swap / Solaris

Partition table entries are not in disk order
looks a bit strange, how did you configure your partitions /home and so on?
for quick look do this

Code: Select all

sudo update-grub
semsaudade

Re: GRUB not correctly configurated

Post by semsaudade »

Thanks for your kind answer! I tried to execute "sudo update-grub" from live CD but I receive the following message:

Code: Select all

mint@mint ~ $ sudo update-grub
error: cannot read from `/dev/sda'.
error: cannot read from `/dev/sda'.
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
Regarding partition:
sda1: Linux /root
sda2: /home
sda3: I don't know: it is a very small partition that was proposed to me during installation
sda5: /swap

What else can I try? Thanks again!
PatH57

Re: GRUB not correctly configurated

Post by PatH57 »

ok didn't understand that you were using a live Mint to check
can you boot into the installed Mint at all?
this will show you how to install grub again or update it from live.
http://howtoubuntu.org/how-to-repair-re ... tu-live-cd
semsaudade

Re: GRUB not correctly configurated

Post by semsaudade »

Tried to follow the guide but no success! From LIVE CD (I am not able to boot into the installed Mint):

Code: Select all

mint@mint ~ $ grub-install /dev/sda
Command 'grub-install' is available in '/usr/sbin/grub-install'
The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative priviledges associated with your user account.
grub-install: command not found
mint@mint ~ $ cd /usr
mint@mint /usr $ cd sbin
mint@mint /usr/sbin $ sudo grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
mint@mint /usr/sbin $ sudo mount /dev/sda1 /mnt
mount: /dev/sda1 already mounted or /mnt busy
mount: according to mtab, /dev/sda1 is already mounted on /mnt
]mint@mint /usr/sbin $ sudo mount /dev/sda /mnt
mount: /dev/sda already mounted or /mnt busy
mount: according to mtab, /dev/sda1 is already mounted on /mnt
mint@mint /usr/sbin $ sudo grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
mint@mint /usr/sbin $
I am not able to understand where is my error... Thanks again for helping!
Locked

Return to “LMDE Archive”