# mount /dev/sda8 /mnt
# sudo grub2-install --boot-directory=/mnt/boot /dev/sda
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
# mount /dev/sda8 /mnt
# sudo grub2-install --boot-directory=/mnt/boot /dev/sda
[live@localhost ~]$ su
[root@localhost live]# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
BIOS
[root@localhost live]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 871,4G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 292,4M 0 part
├─sda6 8:6 0 18,9G 0 part
├─sda7 8:7 0 3,4G 0 part
└─sda8 8:8 0 37,5G 0 part
sr0 11:0 1 1,5G 0 rom
loop0 7:0 0 1,5G 1 loop /run/mgalive/ovlsize
[root@localhost live]# mount /dev/sda6 /mnt
[root@localhost live]# grub2-install --boot-directory=/mnt/boot /dev/sda
bash: grub2-install: nie znaleziono polecenia
[root@localhost live]# grub2-install --boot-directory=/mnt/boot /dev/sda
bash: grub2-install: nie znaleziono polecenia
[root@localhost live]# sudo grub2-install --boot-directory=/mnt/boot /dev/sda
sudo: grub2-install: command not found
sudo: grub2-install: command not found
grub> root (hd0,7)
grub> setup (hd0)
grub> root (hd0,7)
grub> configfile /boot/grub/menu.lst
grub> boot
grub> root (hd0,7)
grub> kernel /boot/vmlinuz-desktop root=/dev/sda8 nokmsboot ro
grub> initrd /boot/initrd-desktop.img
grub> boot
grub> root (hd0,7)
grub> kernel /boot/grub/core.img
grub> boot
sudo update-grub
[root@localhost live]# grub2-install --boot-directory=/mnt/boot /dev/sda
grub2-install: błąd: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
chrzanek wrote:Should I configure the grub2 at the end of the instalation ? Or just press finish ?
chrzanek wrote:Also is it make a diffrence when I'am installing Mageia on diffrence partition ? I made new one with 100GB for Linux
chrzanek wrote:Basically I would set it to /home - 20gb /swap - 4gb uefi - 1gb / - rest
Users browsing this forum: No registered users and 1 guest