4MLinux ~ GRUB + other language computer keyboard layouts
4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Keyboard: Menu->Settings->Locale>Keyboard
Grub: it must find /boot/vmlinuz on /dev/sda2, so make sure that /mnt/sda2 is mounted and /mnt/sda2/boot/vmlinuz exists.
add this entry to the end of /etc/grub.d/40_custom
Code:
menuentry 'Puppy artfulpup'{
set root=(hd0,2)
linux /artfulpup17.11frugal/vmlinuz subdir=artfulpup17.11frugal
initrd /artfulpup17.11frugal/initrd.gz
}
You may have to edit this by checking the puppy menu.lst and make the linux line of this menuentry match the kernel line of the menu.lst, less the word kernel, match the initrd line of menu.lst to the initrd of this menuentry
Then rerun the grub command
Last edited by colorpurple21859; 07-21-2020 at 03:18 PM.
add this entry to the end of /etc/grub.d/40_custom
Code:
menuentry 'Puppy artfulpup'{
set root=(hd0,2)
linux /artfulpup17.11frugal/vmlinuz subdir=artfulpup17.11frugal
initrd /artfulpup17.11frugal/initrd.gz
}
You may have to edit this by checking the puppy menu.lst and make the linux line of this menuentry match the kernel line of the menu.lst, less the word kernel, match the initrd line of menu.lst to the initrd of this menuentry
Then rerun the grub command
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Puppy artfulpup'{
set root=(hd0,2)
linux /artfulpup17.11frugal/vmlinuz subdir=artfulpup17.11frugal
initrd /artfulpup17.11frugal/initrd.gz
}
# menu.lst produced by grub4dosconfig-v1.9.2
color white/blue black/cyan white/black cyan/black
#splashimage=/splash.xpm
timeout 10
default 0
# Frugal installed Puppy
title Puppy artfulpup 17.11 (sda5/artfulpup17.11frugal)
uuid 66d96a81-9120-49de-86d4-9c0bceac4fdd
kernel /artfulpup17.11frugal/vmlinuz psubdir=artfulpup17.11frugal pmedia=atahd pfix=fsck
initrd /artfulpup17.11frugal/initrd.gz
# Full installed Linux
title 4MLinux (sda6/boot)
uuid 1623f198-304e-4bee-aefc-2df067f61656
kernel /boot/vmlinuz-4MLinux root=/dev/sda6 ro
initrd /boot/bzImage
# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on
# Advanced Menu
title Advanced menu
configfile /menu-advanced.lst
commandline
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.