Re: [xubuntu-users] xubuntu-users Digest, Vol 193, Issue 2

2023-02-01 Thread Clarence Fender
Thanks for typing that all out and your experience.
Got everything partitioned.
Ran update-grub && grub install
it complained about not finding /cow
sudo touch /cow
Ran update-grub && grub install

Generating grub configuration file
grub-probe: error: unknown filesystem
... continues...
found Ubuntu 22.04.1
adding boot menu entry for UEFI firmware settings
done
Installing for i386-pc platform
grub-install: error: cannot open '/boot/grub/locale/bn.mo': Permission
denied
back to prompt

Seems odd.

aside from above, does i386-pc cover 64bit machines too? Might not apply
here, but on my installs, i386 was for 32bit machines and x86-64 (?) was
for 64bits.

Much appreciated.

On Wed, Feb 1, 2023 at 5:47 PM Carl Snyder  wrote:

> It really depends on the hardware of the laptop from which you are
> booting. If you have BIOS rather than an Extensible Firmware Interface
> (also known as UEFI or safe boot), the present version of GRUB does not
> install correctly. For a BIOS machine with GPT partitioning, you must
> install a small ~256M FAT partition with BIOS GRUB and legacy boot flags
> set as the first partition, before a ~256M /boot/efi partition which is
> FAT16 formatting flagged boot and ESP which is needed to finish
> installation with the present installer, then your swap partition and /,
> /home, or whatever other distribution and personal preference ext4 or
> whatever partitions. While still in the live installer or from a boot
> rescue, you must then open a terminal and execute the following if your
> boot flash drive is /dev/sda::
>
> $ sudo update-grub && grub-install --target=i386-pc /dev/sda
>
> Note: For later versions, ie. Xubuntu 23.04 nightly, you may also have to
> copy the i386-pc folder from a 20.04 installation.
>
> After much research, this is how I keep up my BIOS AMD Athlon II machine.
>
> Carl Snyder
>
> On Wed, Feb 1, 2023 at 2:20 PM 
> wrote:
>
>> Send xubuntu-users mailing list submissions to
>> xubuntu-users@lists.ubuntu.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>> or, via email, send a message with subject or body 'help' to
>> xubuntu-users-requ...@lists.ubuntu.com
>>
>> You can reach the person managing the list at
>> xubuntu-users-ow...@lists.ubuntu.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of xubuntu-users digest..."
>>
>>
>> Today's Topics:
>>
>>1.  unable to install grub (Clarence Fender)
>>2. Re:  unable to install grub (François P. Rotzinger)
>>3. Re:  unable to install grub (Michele Mor)
>>4. Re:  unable to install grub (Clarence Fender)
>>
>>
>> --
>>
>> Message: 1
>> Date: Wed, 1 Feb 2023 13:09:26 -0500
>> From: Clarence Fender 
>> To: Xubuntu Support and User Discussions
>> 
>> Subject: [xubuntu-users] unable to install grub
>> Message-ID:
>> > 7...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
>> "something else" disk part
>> sda is where everything goes except HOME
>> sdb/nvm_etc  is /HOME
>>
>> Unable to install GRUB in /dev/sda
>> Executing `grub-install /dev/sda` failed
>> fatal error
>> --> Can't fix this, no matter what I do.
>>
>> Spent a long time researching: common problem going back years. Seems to
>> revolve around boot, legacy vs new. I haven't touched any boot settings.
>> Tried different partitions and flags. Tried using sda1 instead of sda -
>> same error.
>>
>> sda   - all primary partitions
>> 1M (appears by itself, no format)
>> 500M  tried /BOOT and nothing
>> 50G  ext4  /
>> 16M swap
>> remainder of space ext4 but not mounted
>>
>> sdb  ext4 /HOME
>>
>> Is there a different sda partitioning I need? No data on it so no worries.
>> If I had hair, I'd be pulling it out.
>>
>> Thanks.
>> -- next part --
>> An HTML attachment was scrubbed...
>> URL: <
>> https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230201/3d7f57af/attachment-0001.html
>> >
>>
>> --
>>
>> Message: 2
>> Date: Wed, 1 Feb 2023 19:25:07 +0100
>> From: François P. Rotzinger 
>> To: xubuntu-users@lists.ubuntu.com
>> Subject: Re: [xubuntu-users] unable to install gru

Re: [xubuntu-users] xubuntu-users Digest, Vol 193, Issue 2

2023-02-01 Thread Carl Snyder
It really depends on the hardware of the laptop from which you are booting.
If you have BIOS rather than an Extensible Firmware Interface (also known
as UEFI or safe boot), the present version of GRUB does not install
correctly. For a BIOS machine with GPT partitioning, you must install a
small ~256M FAT partition with BIOS GRUB and legacy boot flags set as the
first partition, before a ~256M /boot/efi partition which is FAT16
formatting flagged boot and ESP which is needed to finish installation with
the present installer, then your swap partition and /, /home, or whatever
other distribution and personal preference ext4 or whatever partitions.
While still in the live installer or from a boot rescue, you must then open
a terminal and execute the following if your boot flash drive is /dev/sda::

$ sudo update-grub && grub-install --target=i386-pc /dev/sda

Note: For later versions, ie. Xubuntu 23.04 nightly, you may also have to
copy the i386-pc folder from a 20.04 installation.

After much research, this is how I keep up my BIOS AMD Athlon II machine.

Carl Snyder

On Wed, Feb 1, 2023 at 2:20 PM 
wrote:

> Send xubuntu-users mailing list submissions to
> xubuntu-users@lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
> or, via email, send a message with subject or body 'help' to
> xubuntu-users-requ...@lists.ubuntu.com
>
> You can reach the person managing the list at
> xubuntu-users-ow...@lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of xubuntu-users digest..."
>
>
> Today's Topics:
>
>1.  unable to install grub (Clarence Fender)
>2. Re:  unable to install grub (François P. Rotzinger)
>3. Re:  unable to install grub (Michele Mor)
>4. Re:  unable to install grub (Clarence Fender)
>
>
> --
>
> Message: 1
> Date: Wed, 1 Feb 2023 13:09:26 -0500
> From: Clarence Fender 
> To: Xubuntu Support and User Discussions
> 
> Subject: [xubuntu-users] unable to install grub
> Message-ID:
>  7...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> "something else" disk part
> sda is where everything goes except HOME
> sdb/nvm_etc  is /HOME
>
> Unable to install GRUB in /dev/sda
> Executing `grub-install /dev/sda` failed
> fatal error
> --> Can't fix this, no matter what I do.
>
> Spent a long time researching: common problem going back years. Seems to
> revolve around boot, legacy vs new. I haven't touched any boot settings.
> Tried different partitions and flags. Tried using sda1 instead of sda -
> same error.
>
> sda   - all primary partitions
> 1M (appears by itself, no format)
> 500M  tried /BOOT and nothing
> 50G  ext4  /
> 16M swap
> remainder of space ext4 but not mounted
>
> sdb  ext4 /HOME
>
> Is there a different sda partitioning I need? No data on it so no worries.
> If I had hair, I'd be pulling it out.
>
> Thanks.
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> https://lists.ubuntu.com/archives/xubuntu-users/attachments/20230201/3d7f57af/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Wed, 1 Feb 2023 19:25:07 +0100
> From: François P. Rotzinger 
> To: xubuntu-users@lists.ubuntu.com
> Subject: Re: [xubuntu-users] unable to install grub
> Message-ID: <5a986173-88c8-472e-714d-b0d4ebee1...@netplus.ch>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Maybe, you should create an EFI partition. Typing "df", do you get
> something like
>
> /dev/nvme0n1p1 973952 6184967768   1% /boot/efi
>
> (or perhaps /dev/sda1)?
>
> Good luck, François
>
> On 2/1/23 19:09, Clarence Fender wrote:
> > Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> > "something else" disk part
> > sda is where everything goes except HOME
> > sdb/nvm_etc  is /HOME
> >
> > Unable to install GRUB in /dev/sda
> > Executing `grub-install /dev/sda` failed
> > fatal error
> > --> Can't fix this, no matter what I do.
> >
> > Spent a long time researching: common problem going back years. Seems
> > to revolve around boot, legacy vs new. I haven't touched any boot
> > settings. Tried different partitions and flags. Tried using sda1
> > instead of sda - same error.
> >
> > sda   - all primary partitions
> > 1M (appears by i

Re: [xubuntu-users] unable to install grub

2023-02-01 Thread Alex Johns

On 2/02/23 08:29, Clarence Fender wrote:
Yes, this is an install from a USB. If it's supposed to install GRUB 
by itself, it's doing a very poor job :)   I have a 500M EFI 
partition. It fails.


sda   - all primary partitions
1M (appears by itself, no format)
500M  EFI
50G  ext4  /
16M swap
remainder of space ext4 but not mounted

Thanks.




Have you checksumed the ISO?  SHA256  I have had these type of issues 
when the ISO was corrupt


Also I have found that Rufus or Ventoy  are best for writing ISO to USB 
keys if you have a windows partition available  or gnome disks.  Some 
programmes  don't write the ISO correctly



da cyborg


--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] unable to install grub

2023-02-01 Thread Clarence Fender
Yes, this is an install from a USB. If it's supposed to install GRUB by
itself, it's doing a very poor job :)   I have a 500M EFI partition. It
fails.

sda   - all primary partitions
1M (appears by itself, no format)
500M  EFI
50G  ext4  /
16M swap
remainder of space ext4 but not mounted

Thanks.

On Wed, Feb 1, 2023 at 2:07 PM Michele Mor  wrote:

> Hi,
> Have you tried to reinstall xubuntu from a usb/dvd?
> It should set up the grub automatically.
> If your data is in a different partition, there should be no risk of
> deleting it (but always do a back up first).
>
> I have tried to repair a corrupted grub manually, but spent hours and did
> not succeed. At the end I decided to reinstall.
>
> Good luck.
> Michele
>
> On Wed, 1 Feb 2023, 18:25 François P. Rotzinger,  wrote:
>
>> Maybe, you should create an EFI partition. Typing "df", do you get
>> something like
>>
>> /dev/nvme0n1p1973952 6184967768   1% /boot/efi
>>
>> (or perhaps /dev/sda1)?
>>
>> Good luck, François
>> On 2/1/23 19:09, Clarence Fender wrote:
>>
>> Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
>> "something else" disk part
>> sda is where everything goes except HOME
>> sdb/nvm_etc  is /HOME
>>
>> Unable to install GRUB in /dev/sda
>> Executing `grub-install /dev/sda` failed
>> fatal error
>> --> Can't fix this, no matter what I do.
>>
>> Spent a long time researching: common problem going back years. Seems to
>> revolve around boot, legacy vs new. I haven't touched any boot settings.
>> Tried different partitions and flags. Tried using sda1 instead of sda -
>> same error.
>>
>> sda   - all primary partitions
>> 1M (appears by itself, no format)
>> 500M  tried /BOOT and nothing
>> 50G  ext4  /
>> 16M swap
>> remainder of space ext4 but not mounted
>>
>> sdb  ext4 /HOME
>>
>> Is there a different sda partitioning I need? No data on it so no worries.
>> If I had hair, I'd be pulling it out.
>>
>> Thanks.
>>
>>
>> --
>> François P. Rotzinger
>> Chemin des Vignes 20
>> CH-1373 Chavornay
>>
>> --
>> xubuntu-users mailing list
>> xubuntu-users@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>>
> --
> xubuntu-users mailing list
> xubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] unable to install grub

2023-02-01 Thread Clarence Fender
Yes, I tried an EFI partition on sda.  Same error.

Trying again, I used gparted, installed partitions. Did install - made the
partition EFI, which left no option for type or mount. Failed. Tried FAT32,
mounted /BOOT/EFI, install told me there was no EFI partition and it
wouldn't boot.

Thanks

On Wed, Feb 1, 2023 at 1:25 PM François P. Rotzinger 
wrote:

> Maybe, you should create an EFI partition. Typing "df", do you get
> something like
>
> /dev/nvme0n1p1973952 6184967768   1% /boot/efi
>
> (or perhaps /dev/sda1)?
>
> Good luck, François
> On 2/1/23 19:09, Clarence Fender wrote:
>
> Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> "something else" disk part
> sda is where everything goes except HOME
> sdb/nvm_etc  is /HOME
>
> Unable to install GRUB in /dev/sda
> Executing `grub-install /dev/sda` failed
> fatal error
> --> Can't fix this, no matter what I do.
>
> Spent a long time researching: common problem going back years. Seems to
> revolve around boot, legacy vs new. I haven't touched any boot settings.
> Tried different partitions and flags. Tried using sda1 instead of sda -
> same error.
>
> sda   - all primary partitions
> 1M (appears by itself, no format)
> 500M  tried /BOOT and nothing
> 50G  ext4  /
> 16M swap
> remainder of space ext4 but not mounted
>
> sdb  ext4 /HOME
>
> Is there a different sda partitioning I need? No data on it so no worries.
> If I had hair, I'd be pulling it out.
>
> Thanks.
>
>
> --
> François P. Rotzinger
> Chemin des Vignes 20
> CH-1373 Chavornay
>
> --
> xubuntu-users mailing list
> xubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] unable to install grub

2023-02-01 Thread Michele Mor
Hi,
Have you tried to reinstall xubuntu from a usb/dvd?
It should set up the grub automatically.
If your data is in a different partition, there should be no risk of
deleting it (but always do a back up first).

I have tried to repair a corrupted grub manually, but spent hours and did
not succeed. At the end I decided to reinstall.

Good luck.
Michele

On Wed, 1 Feb 2023, 18:25 François P. Rotzinger,  wrote:

> Maybe, you should create an EFI partition. Typing "df", do you get
> something like
>
> /dev/nvme0n1p1973952 6184967768   1% /boot/efi
>
> (or perhaps /dev/sda1)?
>
> Good luck, François
> On 2/1/23 19:09, Clarence Fender wrote:
>
> Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
> "something else" disk part
> sda is where everything goes except HOME
> sdb/nvm_etc  is /HOME
>
> Unable to install GRUB in /dev/sda
> Executing `grub-install /dev/sda` failed
> fatal error
> --> Can't fix this, no matter what I do.
>
> Spent a long time researching: common problem going back years. Seems to
> revolve around boot, legacy vs new. I haven't touched any boot settings.
> Tried different partitions and flags. Tried using sda1 instead of sda -
> same error.
>
> sda   - all primary partitions
> 1M (appears by itself, no format)
> 500M  tried /BOOT and nothing
> 50G  ext4  /
> 16M swap
> remainder of space ext4 but not mounted
>
> sdb  ext4 /HOME
>
> Is there a different sda partitioning I need? No data on it so no worries.
> If I had hair, I'd be pulling it out.
>
> Thanks.
>
>
> --
> François P. Rotzinger
> Chemin des Vignes 20
> CH-1373 Chavornay
>
> --
> xubuntu-users mailing list
> xubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] unable to install grub

2023-02-01 Thread François P . Rotzinger
Maybe, you should create an EFI partition. Typing "df", do you get 
something like


/dev/nvme0n1p1 973952 6184    967768   1% /boot/efi

(or perhaps /dev/sda1)?

Good luck, François

On 2/1/23 19:09, Clarence Fender wrote:

Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
"something else" disk part
sda is where everything goes except HOME
sdb/nvm_etc  is /HOME

Unable to install GRUB in /dev/sda
Executing `grub-install /dev/sda` failed
fatal error
--> Can't fix this, no matter what I do.

Spent a long time researching: common problem going back years. Seems 
to revolve around boot, legacy vs new. I haven't touched any boot 
settings. Tried different partitions and flags. Tried using sda1 
instead of sda - same error.


sda   - all primary partitions
1M (appears by itself, no format)
500M  tried /BOOT and nothing
50G  ext4  /
16M swap
remainder of space ext4 but not mounted

sdb  ext4 /HOME

Is there a different sda partitioning I need? No data on it so no worries.
If I had hair, I'd be pulling it out.

Thanks.



--
François P. Rotzinger
Chemin des Vignes 20
CH-1373 Chavornay
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


[xubuntu-users] unable to install grub

2023-02-01 Thread Clarence Fender
Xubuntu 22.04 to laptop, USB boot (~2yrs old, linux-specific)
"something else" disk part
sda is where everything goes except HOME
sdb/nvm_etc  is /HOME

Unable to install GRUB in /dev/sda
Executing `grub-install /dev/sda` failed
fatal error
--> Can't fix this, no matter what I do.

Spent a long time researching: common problem going back years. Seems to
revolve around boot, legacy vs new. I haven't touched any boot settings.
Tried different partitions and flags. Tried using sda1 instead of sda -
same error.

sda   - all primary partitions
1M (appears by itself, no format)
500M  tried /BOOT and nothing
50G  ext4  /
16M swap
remainder of space ext4 but not mounted

sdb  ext4 /HOME

Is there a different sda partitioning I need? No data on it so no worries.
If I had hair, I'd be pulling it out.

Thanks.
-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


Re: [xubuntu-users] 22.04 - allowing remote X11 access to my display?

2023-02-01 Thread Peter Flynn

On 31/01/2023 21:45, Larry McVoy wrote:

I'm sorry people, I spent the day googling and I can't figure out how to
do this.  I recently upgraded from 16.04, where I had it working, but for
the life of me I can't figure it out how.

Things I've tried:

I found some config settings and added them to
/etc/lightdm/lightdm-gtk-greeter.conf
and that didn't work.

Tried creating /etc/lightdm/lightdm.conf with those configs and that
hung my display.

Even tried replacing X with a shell script that pruned the -nolisten tcp,
that worked but there was no listening tcp socket.

Help a boomer out, please!


Do you have the packages openssh-client and openssh-server installed?

For me, after installing those, it "just worked", and I can use
ssh -X user@host
(or -Y, depending on your network) and fire up X applications on  
for display on my own system, and vice versa.


Be aware that some applications mess with this: trying to start Firefox 
on the remote host and assuming it will execute it there and display on 
your screen doesn't work — instead it's your *local* FF binary that 
executes. I don't know why it does this. FF has an option to force 
remote execution (but I can't remember what it is, it's so long since I 
ditched FF).


Peter
--
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users