0 Members and 1 Guest are viewing this topic.
I apologize ahead of time if I missed the answer, but how might I change the boot order so that Windows is the default?TIA, Alan
Code: [Select][quote author=gold_finger link=topic=3428.msg26357#msg26357 date=1474551628]I forgot you had Zorin on there as well, but see that you went ahead and changed that too. Good job.As I understand it, when you run [i]id[/i] command in both Zorin and LL it shows UID and GID = 1001. Correct?
[quote author=gold_finger link=topic=3428.msg26357#msg26357 date=1474551628]I forgot you had Zorin on there as well, but see that you went ahead and changed that too. Good job.As I understand it, when you run [i]id[/i] command in both Zorin and LL it shows UID and GID = 1001. Correct?
If so, run these two commands in Lubuntu terminal and let's see who shows up as GID=1001.List users (and their respective UID, GID) with a UID equal to or greater than 1000 as listed in /etc/passwd file:Code: awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwdList groups with a GID equal to or greater than 1000 as listed in /etc/group file:Code: awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/groupCopy/Paste results back here.
happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwdnobody:65534:65534happyfamily:1000:1000sam-the-editor:1001:1002happyfamily@happyfamily-X71Q:~$ awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/groupnogroup:65534happyfamily:1000sam:1001sam-the-editor:1002happyfamily@happyfamily-X71Q:~$
awk -F: '($3 >= 1000) {printf "%s:%s:%s\n",$1,$3,$4}' /etc/passwd
awk -F: '($3 >= 1000) {printf "%s:%s\n",$1,$3}' /etc/group
At this point, run following command to make sure his user(SamTheEditor) and group(SamTheEditor) show the UID and GID = 1001. (It should if you were the only user account setup on that system. Having same username, UID and GID as he's using on LL will ensure easier sharing of files between the two systems, especially if you've got a shared data partition to be used by both.)Code: [Select]id SamTheEditor
id SamTheEditor
happyfamily@happyfamily-X71Q:~$ id sam-the-editoruid=1001(sam-the-editor) gid=1002(sam-the-editor) groups=1002(sam-the-editor)happyfamily@happyfamily-X71Q:~$
Yes user names with capital letters will cause problems with certain packages. Spotify comes to mind at the moment. Some applications simply won't recognize the user name at all. Better not to, even though they will work and show up at login. Generally one capital letter at the beginning of name does not cause as many problems, but it's best (and more code efficient) to stay with lower case. Case sensitivity varies with some packages, especially cross platform things like Wine or Cygwin. Lower case is certainly best.TC
sudo adduser --force-badname SamTheEditor
sudo usermod -a -G adm,cdrom,dip,plugdev,users,lpadmin,sambashare SamTheEditor
Yes, if you decide to do away with Lubuntu, you can use Gparted to do that. Can do that from either the LL install or live dvd/usb. After it's deleted, just run sudo update-grub in a terminal in LL to eliminate its entry from grub menu. No need to do anything in Windows.I'm not familiar with Lubuntu so can't give gui instructions to add user; but can probably give terminal command if you post the output of following from terminals in both LL and Lubuntu.Login to LL on son's computer under his username.Open a terminal, enter these commands and copy/paste result back here:Code: [Select]idgroupsShutdown, reboot into Lubuntu. Login under your username if you haven't set anything at all for him yet. Login with his username if you have set already, but don't have him added to all necessary groups.If logged in as yourself, paste back result of this:Code: [Select]groupsIf logged in as him, paste back:Code: [Select]idgroupsWhen you post back, don't forget to tell us which results go with LL vs. Lubuntu. Basically, the plan is to setup his user account on Lubuntu with the same privileges you assigned to him on LL.
idgroups
groups
SamTheEditor@happyfamily-X71Q:~$ iduid=1001(SamTheEditor) gid=1001(SamTheEditor) groups=1001(SamTheEditor),4(adm),24(cdrom),30(dip),46(plugdev),100(users),109(lpadmin),110(sambashare)SamTheEditor@happyfamily-X71Q:~$ groupsSamTheEditor adm cdrom dip plugdev users lpadmin sambashareSamTheEditor@happyfamily-X71Q:~$
happyfamily@happyfamily-X71Q:~$ groupshappyfamily adm dialout fax cdrom floppy tape sudo dip video plugdev fuse lpadmin sambashare samhappyfamily@happyfamily-X71Q:~$
# Use the blkid command to list your partitions. Make note of the LL 2.8 root partition device name.sudo blkid -c /dev/null# In examples below, X is the drive letter (a, b, c, etc.); Y is the partition number (1, 2, 3, etc.).# Mount your LL 2.8 root partition to /mntsudo mount /dev/sdXY /mnt# Run following command to install grub.sudo grub-install --boot-directory=/mnt/boot /dev/sdX# Unmount your LL 2.8 root partition.sudo umount /dev/sdXY# Close terminal and reboot computer.# If all OS's don't show up in menu on reboot, boot into system then run this command to add them to menu:sudo update-grub# Done.
sudo update-grub
lsblk