| 4MLinux This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-21-2020, 11:28 AM
|
#1
|
|
LQ Newbie
Registered: May 2020
Posts: 15
Rep: 
|
4MLinux ~ GRUB + other language computer keyboard layouts
Hi!
1. Before installation 4MLinux 33.0 on my SATA hard drive, it was divided and worked properly:
- sda1> win xp sp3
sda2> linux artfulpup 17.11
sda3> empty (ext4)
I have already installed 4Mlinux 33.0 on sda3 partition.
The operating system booted fine.
I have run GNU GRUB "command" as listed in instructions on their website.
https://4.bp.blogspot.com/-N6SZnTFRy...0/snapshot.png
Only the partition sda1 (win xp) was found. The other one (with artfulpup 17.11 on it) was not found.
How can I fix this please?
2. IS THERE ANY POSSIBILITY TO SET OTHER LANGUAGE COMPUTER KEYBOARD LAYOUT PLESE? ( the czech one or some where the 3rd row of keys is> q w e r t Z
I am looking forward to zour answer :-)
Jiri
|
|
|
|
07-21-2020, 01:23 PM
|
#2
|
|
4MLinux Maintainer
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,325
|
Hi,
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.
.
|
|
|
|
07-21-2020, 02:47 PM
|
#3
|
|
LQ Newbie
Registered: May 2020
Posts: 15
Original Poster
Rep: 
|
vmlinuz exists > am I allowed to move it?
vmlinuz exists >
but it is stored in another path in another folder:
/mnt/sda2/artfulpup17.11frugal/vmlinuz
Am I allowed to move it not to get destroyed the system on this partition?
Keyboard: Menu->Settings->Locale>Keyboard
opens kbd.conf file where the text is:
Default keyboard layout:
LAYOUT=us
??? Should I rewrite "us" to "cz" and save the change? And will it work like that?
|
|
|
|
07-21-2020, 03:07 PM
|
#4
|
|
4MLinux Maintainer
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,325
|
GRUB:
Code:
mkdir /mnt/sda2/boot 2>/dev/null
cp /mnt/sda2/artfulpup17.11frugal/vmlinuz /mnt/sda2/boot/
update-grub
KEYBOARD:
Yes, "LAYOUT=cz" should do the trick.
.
Last edited by zk1234; 07-21-2020 at 03:15 PM.
|
|
|
1 members found this post helpful.
|
07-21-2020, 03:16 PM
|
#5
|
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 8,154
|
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.
|
|
|
1 members found this post helpful.
|
07-21-2020, 03:21 PM
|
#6
|
|
4MLinux Maintainer
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,325
|
Quote:
Originally Posted by colorpurple21859
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
|
This may be even better solution.
|
|
|
|
07-22-2020, 01:21 AM
|
#7
|
|
LQ Newbie
Registered: May 2020
Posts: 15
Original Poster
Rep: 
|
mkdir /mnt/sda2/boot 2>/dev/null
I got:
Code:
]
error: syntax error
error: Incorrect command
error: syntax error
Anyway, thank You for your help -> The keyboard-trick has worked great!
|
|
|
|
07-22-2020, 06:38 AM
|
#8
|
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 8,154
|
post the /etc/grub.d/40_custom and the puppy menu.lst
Last edited by colorpurple21859; 07-22-2020 at 08:04 AM.
|
|
|
|
07-22-2020, 08:47 AM
|
#9
|
|
LQ Newbie
Registered: May 2020
Posts: 15
Original Poster
Rep: 
|
40_custom and menu.lst
Code:
#!/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
}
|
|
|
|
07-22-2020, 08:53 AM
|
#10
|
|
LQ Newbie
Registered: May 2020
Posts: 15
Original Poster
Rep: 
|
menu.lst
Code:
# 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
|
|
|
|
07-22-2020, 09:31 AM
|
#11
|
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 8,154
|
Based on your menu.lst change the 40_custom to this and then rerun gnu grub
Code:
menuentry 'Puppy artfulpup'{
set root=(hd0,5)
linux /artfulpup17.11frugal/vmlinuz psubdir=artfulpup17.11frugal pmedia=atahd pfix=fsck
initrd /artfulpup17.11frugal/initrd.gz
}
Last edited by colorpurple21859; 07-22-2020 at 09:33 AM.
|
|
|
1 members found this post helpful.
|
07-22-2020, 10:52 AM
|
#12
|
|
LQ Newbie
Registered: May 2020
Posts: 15
Original Poster
Rep: 
|
Hurray! It finally works. Thank you very much!
It finally works. Thank you very much!
|
|
|
|
07-22-2020, 11:01 AM
|
#13
|
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 8,154
|
Your welcome
|
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 06:13 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|