Re: transferring boot

2025-08-01 Thread Jeffrey Walton
On Fri, Aug 1, 2025 at 5:31 PM Charles Curley < charlescur...@charlescurley.com> wrote: > On Fri, 1 Aug 2025 13:21:06 -0400 > Jeffrey Walton wrote: > > > You typically want to mount / as read-only; while you want to mount > > /var as read-write. Or some people want to mount the filesystem > > rea

Re: transferring boot

2025-08-01 Thread Charles Curley
On Sat, 2 Aug 2025 00:02:31 +0200 Nicolas George wrote: > Charles Curley (HE12025-08-01): > > Do you want to mount /root r-o? /etc? I think not. > > Separating the things that move a lot and the things that are stable > is still a good idea. Right. With /root r-o, you never get your shell his

Re: transferring boot

2025-08-01 Thread Nicolas George
Charles Curley (HE12025-08-01): > Do you want to mount /root r-o? /etc? I think not. Separating the things that move a lot and the things that are stable is still a good idea. > For what the OP is up to, mounting the old file systems (on the HD) > until he is satisfied he has everything working r

Re: transferring boot

2025-08-01 Thread Charles Curley
On Fri, 1 Aug 2025 13:21:06 -0400 Jeffrey Walton wrote: > You typically want to mount / as read-only; while you want to mount > /var as read-write. Or some people want to mount the filesystem > read-only. Do you want to mount /root r-o? /etc? I think not. For what the OP is up to, mounting the

Re: transferring boot

2025-08-01 Thread David Christensen
On 8/1/25 07:22, Eben King wrote: On 8/1/25 04:08, David Christensen wrote: The key is disaster preparedness and disaster recovery. I do back up my entire drive weekly.  NAS too.  However, I recently looked around for another 2T drive to implement two-level backups and didn't have one.  Can't

Re: transferring boot

2025-08-01 Thread Jeffrey Walton
On Fri, Aug 1, 2025 at 1:12 PM Roy J. Tellason, Sr. wrote: > On Thursday 31 July 2025 03:25:23 pm Nicolas George wrote: > > On the other hand, /var on the same filesystem as the rest of / is not a > > good idea. > > > > Why? > You typically want to mount / as read-only; while you want to mount /

Re: transferring boot

2025-08-01 Thread Roy J. Tellason, Sr.
On Thursday 31 July 2025 03:25:23 pm Nicolas George wrote: > On the other hand, /var on the same filesystem as the rest of / is not a > good idea. > Why? -- Member of the toughest, meanest, deadliest, most unrelenting -- and ablest -- form of life in this section of space,  a critter that can b

Re: transferring boot

2025-08-01 Thread David Christensen
On 8/1/25 01:52, Nicolas George wrote: David Christensen (HE12025-08-01): I once heard a speaker who worked as a Linux system administrator on Wall Street state: "You should be able to pick any computer at random, throw it out a 7th story window, and have a replacement in operation within 2

Re: transferring boot

2025-08-01 Thread Eben King
On 7/31/25 15:48, Eben King wrote: On 7/31/25 14:53, Andy Smith wrote: Hi Eben, [2TB HDD booting MBR to 256G SSD booting UEFI] On Thu, Jul 31, 2025 at 01:41:19PM -0400, Eben King wrote: No idea what sdd is: "lsblk -o +model,vendor" may give more idea eben@cerberus:~$ lsblk -o +model

Re: transferring boot

2025-08-01 Thread Eben King
On 8/1/25 04:08, David Christensen wrote: On 7/31/25 15:15, Eben King wrote: On 7/31/25 17:31, David Christensen wrote: On 7/31/25 10:18, Eben King wrote: I recently got some SSDs, and decided to use one of them (a 256G model) to boot from.  I want the change to be undetectable, in that

Re: transferring boot

2025-08-01 Thread Nicolas George
David Christensen (HE12025-08-01): > I once heard a speaker who worked as a Linux system administrator on Wall > Street state: Maybe do not give advice tailored for somebody who is in charge of dozens computers, with plenty of spare disks at hand, to somebody who apparently is just an individual w

Re: transferring boot

2025-08-01 Thread David Christensen
On 7/31/25 15:15, Eben King wrote: On 7/31/25 17:31, David Christensen wrote: On 7/31/25 10:18, Eben King wrote: I recently got some SSDs, and decided to use one of them (a 256G model) to boot from.  I want the change to be undetectable, in that from a user perspective, nothing seems

Re: transferring boot

2025-08-01 Thread David Christensen
On 7/31/25 15:39, Andy Smith wrote: Hi, Hello. :-) On Thu, Jul 31, 2025 at 02:31:44PM -0700, David Christensen wrote: When OP asks how to add a new SSD to their system and move their boot drive to it, it seems really excessive that you advise moving off hundreds of gigabytes of data

Re: transferring boot

2025-07-31 Thread Max Nikulin
On 01/08/2025 00:18, Eben King wrote: I want the SSD to boot using UEFI.  Is that possible, and if so, what's the best method to go about it? I recommend to install new (minimal) system on a SSD just to have some experience with UEFI. Try efibootmgr, inspect files on EFI System Part

Re: transferring boot

2025-07-31 Thread Andy Smith
file, > etc. files local to the HDD. Empty trash, clean caches, remove scratch > files, etc.. > > 3. Run zerofree(8) on all of the HDD file systems. > > 4. Take a compressed image of the HDD. > > 5. Disconnect HDD and /dev/sdc SSD. > > 6. Boot computer into Setup

Re: transferring boot

2025-07-31 Thread Charles Curley
On Thu, 31 Jul 2025 13:18:07 -0400 Eben King wrote: > I recently got some SSDs, and decided to use one of them (a 256G > model) to boot from. I want the change to be undetectable, in that > from a user perspective, nothing seems different, just faster. > > I currently have a 2T

Re: transferring boot

2025-07-31 Thread Eben King
On 7/31/25 17:31, David Christensen wrote: On 7/31/25 10:18, Eben King wrote: I recently got some SSDs, and decided to use one of them (a 256G model) to boot from.  I want the change to be undetectable, in that from a user perspective, nothing seems different, just faster. I would

Re: transferring boot

2025-07-31 Thread David Christensen
On 7/31/25 10:18, Eben King wrote: I recently got some SSDs, and decided to use one of them (a 256G model) to boot from.  I want the change to be undetectable, in that from a user perspective, nothing seems different, just faster. I currently have a 2T HD, partitioned with GPT but booting by

Re: transferring boot

2025-07-31 Thread Nicolas George
Detlef Vollmann (HE12025-07-31): > It's just copying the root partition from the HD to the SSD. Yes, how? Please be specific, because in the process of trying to be specific you will realize you are wrong. > (which requires to create the target partition first) You see, you do not have t

Re: transferring boot

2025-07-31 Thread Nicolas George
> On 7/31/25 14:53, Andy Smith wrote: I do not have Andy's mail, so I am relying to this one. > > 1. From single user mode or a live environment (even the "rescue" mode > > from the Debain install medium) rsync the contents of /, /boot and > > /usr

Re: transferring boot

2025-07-31 Thread Detlef Vollmann
about? It's just copying the root partition from the HD to the SSD. It will also copy the UUID of the partition, so this needs to be fixed. The size of the filesystem will be smaller than the partition, which can be changed afterwards. And as Eben wrote, it's probably a good idea to copy

Re: transferring boot

2025-07-31 Thread Felix Miata
Detlef Vollmann composed on 2025-07-31 20:49 (UTC+0200): > Why do you want to switch to UEFI? One reason is a form of future-proofing. Increasingly, computers are being made without legacy boot support. If a PC goes poof without taking the storage along down, one used to expect to be able

Re: transferring boot

2025-07-31 Thread Eben King
On 7/31/25 14:49, Detlef Vollmann wrote: On 7/31/25 19:18, Eben King wrote: I recently got some SSDs, and decided to use one of them (a 256G model) to boot from.  I want the change to be undetectable, in that from a user perspective, nothing seems different, just faster. I currently have a

Re: transferring boot

2025-07-31 Thread Eben King
sdb 8:16 0 1.8T 0 disk ├─sdb18:17 0 953M 0 part /boot ├─sdb28:18 0 2G 0 part / ├─sdb38:19 020G 0 part /usr To be honest I think I would probably just move some stuff to the SSD and carry on booting MBR mode. 0. Have backups. 1. From single user mode or a

Re: transferring boot

2025-07-31 Thread Nicolas George
Nicolas George (HE12025-07-31): > That would work to copy the whole system to a larger drive. Rectification: not even that, as the secondary GPT would not be at the right place. It works only for an identical drive. Regards, -- Nicolas George

Re: transferring boot

2025-07-31 Thread Nicolas George
Detlef Vollmann (HE12025-07-31): > I would go for the first option (dd) That will not work. At least not with a lot lot more details. That would work to copy the whole system to a larger drive. For this setup it is a terrible idea. Regards, -- Nicolas George

Re: transferring boot

2025-07-31 Thread Nicolas George
Eben King (HE12025-07-31): > eben@cerberus:~$ lsblk > NAMEMAJ:MIN RM SIZE RO TYPE MOUNTPOINTS > sda 8:00 238.5G 0 disk > └─sda18:10 238.5G 0 part > sdb 8:16 0 1.8T 0 disk > ├─sdb18:17 0 953M 0 part /boot > ├─sdb28:18 0

Re: transferring boot

2025-07-31 Thread Eben King
On 7/31/25 14:37, Titus Newswanger wrote: On 7/31/25 12:41, Eben King wrote: No idea what sdd is Might it be an SD card/CF card slot with no media inserted? One of mine does that. Reasonable guess. I've seen that behavior before, possibly on a laptop. As you see the DVD drive does that

Re: transferring boot

2025-07-31 Thread Andy Smith
1.8T 0 disk > ├─sdb18:17 0 953M 0 part /boot > ├─sdb28:18 0 2G 0 part / > ├─sdb38:19 020G 0 part /usr To be honest I think I would probably just move some stuff to the SSD and carry on booting MBR mode. 0. Have backups. 1. From single user mode or a li

Re: transferring boot

2025-07-31 Thread Detlef Vollmann
On 7/31/25 19:18, Eben King wrote: I recently got some SSDs, and decided to use one of them (a 256G model) to boot from.  I want the change to be undetectable, in that from a user perspective, nothing seems different, just faster. I currently have a 2T HD, partitioned with GPT but booting by

Re: transferring boot

2025-07-31 Thread Titus Newswanger
On 7/31/25 12:41, Eben King wrote: No idea what sdd is Might it be an SD card/CF card slot with no media inserted? One of mine does that. -- Titus Newswanger Curtiss WI

Re: transferring boot

2025-07-31 Thread Eben King
On 7/31/25 13:21, Nicolas George wrote: Eben King (HE12025-07-31): I recently got some SSDs, and decided to use one of them (a 256G model) to boot from. I want the change to be undetectable, in that from a user perspective, nothing seems different, just faster. I currently have a 2T HD

Re: transferring boot

2025-07-31 Thread Nicolas George
Eben King (HE12025-07-31): > I recently got some SSDs, and decided to use one of them (a 256G model) to > boot from. I want the change to be undetectable, in that from a user > perspective, nothing seems different, just faster. > > I currently have a 2T HD, partitioned with GPT

transferring boot

2025-07-31 Thread Eben King
I recently got some SSDs, and decided to use one of them (a 256G model) to boot from. I want the change to be undetectable, in that from a user perspective, nothing seems different, just faster. I currently have a 2T HD, partitioned with GPT but booting by MBR. Yes, that's probably

Re: Trixie xorg crash (was: Trixie hangs during boot after upgrade)

2025-06-23 Thread Greg Wooledge
On Mon, Jun 23, 2025 at 23:59:11 +0200, Rainer Dorsch wrote: > It seems that symlinks have been missing: > > root@h370:/usr/lib/x86_64-linux-gnu# ln -s libGL.so libGL.so.1 > root@h370:/usr/lib/x86_64-linux-gnu# ln -s libEGL.so libEGL.so.1 > root@h370:/usr/lib/x86_64-linux-gnu# > > cures the i

Re: Trixie xorg crash (was: Trixie hangs during boot after upgrade)

2025-06-20 Thread Rainer Dorsch
gt; > > > Rainer Dorsch: > > > Hi, > > > > > > I upgraded to Trixie some weeks back and had no serious issues during > > > all > > > upgrades so far. After the upgrade today, I rebooted and the Trixie > > > system > > > failed

Trixie xorg crash (was: Trixie hangs during boot after upgrade)

2025-06-19 Thread Rainer Dorsch
during all > > upgrades so far. After the upgrade today, I rebooted and the Trixie system > > failed to boot. I still can open a root shell if I boot into recovery > > mode. > > > > Is there currently a know Trixie issue, which is causing this? > > > > Pho

Re: Trixie hangs during boot after upgrade

2025-06-19 Thread Rainer Dorsch
Am Donnerstag, 19. Juni 2025, 15:38:46 Mitteleuropäische Sommerzeit schrieb Rainer Dorsch: > Hi, > > I upgraded to Trixie some weeks back and had no serious issues during all > upgrades so far. After the upgrade today, I rebooted and the Trixie system > failed to boot. I still

Trixie hangs during boot after upgrade

2025-06-19 Thread Rainer Dorsch
Hi, I upgraded to Trixie some weeks back and had no serious issues during all upgrades so far. After the upgrade today, I rebooted and the Trixie system failed to boot. I still can open a root shell if I boot into recovery mode. Is there currently a know Trixie issue, which is causing this

Re: Unable to boot Debian live ISO on Gigabyte B650M Aorus Elite AX (UEFI issues)

2025-06-01 Thread Thomas Schmitt
Hi, Thanh Le Tran Ngoc wrote: > I tried many tools and ways to parse Debian 12 stable into bootable device Did you put a Debian Live ISO onto a USB stick ? If not USB stick: What else stores the live ISO ? Which ISO image did you download ? (Exact URL please.) > It only see boot devic

Re: Unable to boot Debian live ISO on Gigabyte B650M Aorus Elite AX (UEFI issues)

2025-06-01 Thread Alexander V. Makartsev
On 01.06.2025 20:39, Thanh Le Tran Ngoc wrote: Hi Debian team, I tried many tools and ways to parse Debian 12 stable into bootable device but motherboard cannot detect boot device. In other laptop like Dell, it can detect that boot without any issues. It only see boot device if I turn off

Unable to boot Debian live ISO on Gigabyte B650M Aorus Elite AX (UEFI issues)

2025-06-01 Thread Thanh Le Tran Ngoc
Hi Debian team, I tried many tools and ways to parse Debian 12 stable into bootable device but motherboard cannot detect boot device. In other laptop like Dell, it can detect that boot without any issues. It only see boot device if I turn off secure boot, fast boot and turn on CSM support with

Re: dual boot or windows vm?

2025-05-26 Thread Roy J. Tellason, Sr.
On Monday 26 May 2025 09:10:53 pm David Christensen wrote: > 1.  Motherboard Windows license -- manufacturers have been putting the > Windows license into the motherboard for several years now (firmware > EEPROM?).  Windows must be running on the hardware to see the license. > Ack! I remember

Re: dual boot or windows vm?

2025-05-26 Thread David Christensen
On 5/26/25 11:23, Lee wrote: For those of you that still use Windows, do you have a dual boot system where you select linux or windows at boot time or do you boot into linux and run windows as a vm? My wife is trying to decide if she wants to keep windows on her laptop or no. Obviously, it&#

Re: dual boot or windows vm?

2025-05-26 Thread Jeffrey Walton
On Mon, May 26, 2025 at 6:53 PM Lee wrote: > > [...] > > > For those of you that still use Windows, do you have a dual boot > > > system where you select linux or windows at boot time or do you boot > > > into linux and run windows as a vm? I have one Windows

Re: dual boot or windows vm?

2025-05-26 Thread Lee
On Mon, May 26, 2025 at 4:23 PM Hans wrote: > > Am Montag, 26. Mai 2025, 20:23:04 CEST schrieb Lee: > > For those of you that still use Windows, do you have a dual boot > > system where you select linux or windows at boot time or do you boot > > into linux and run windows

Re: dual boot or windows vm?

2025-05-26 Thread Alexander V. Makartsev
On 26.05.2025 23:23, Lee wrote: For those of you that still use Windows, do you have a dual boot system where you select linux or windows at boot time or do you boot into linux and run windows as a vm? Both. Each of my laptops and a PC I use for work have dual-boot Windows 7 or 10 and Debian. I

Re: dual boot or windows vm?

2025-05-26 Thread Charles Curley
On Mon, 26 May 2025 14:23:04 -0400 Lee wrote: > … but I don't know if dual boot or running windows in a vm would be > better, or what the tradeoffs would be. > > Anyone care to say which is the better option, tradeoffs, pitfalls, > etc? One tradeoff is that with one mach

Re: dual boot or windows vm?

2025-05-26 Thread Lee
On Mon, May 26, 2025 at 2:38 PM Joe wrote: > > On Mon, 26 May 2025 14:23:04 -0400 > Lee wrote: > > > For those of you that still use Windows, do you have a dual boot > > system where you select linux or windows at boot time or do you boot > > into linux and run windo

Re: dual boot or windows vm?

2025-05-26 Thread john doe
On 5/26/25 20:42, john doe wrote: On 5/26/25 20:23, Lee wrote: For those of you that still use Windows, do you have a dual boot system where you select linux or windows at boot time or do you boot into linux and run windows as a vm? My wife is trying to decide if she wants to keep windows on

Re: dual boot or windows vm?

2025-05-26 Thread Hans
Am Montag, 26. Mai 2025, 20:23:04 CEST schrieb Lee: > For those of you that still use Windows, do you have a dual boot > system where you select linux or windows at boot time or do you boot > into linux and run windows as a vm? > > My wife is trying to decide if she wants to keep

Re: dual boot or windows vm?

2025-05-26 Thread john doe
On 5/26/25 20:23, Lee wrote: For those of you that still use Windows, do you have a dual boot system where you select linux or windows at boot time or do you boot into linux and run windows as a vm? My wife is trying to decide if she wants to keep windows on her laptop or no. Obviously, it&#

Re: dual boot or windows vm?

2025-05-26 Thread Peter Ehlert
On May 26, 2025 11:23:43 AM Lee wrote: For those of you that still use Windows, do you have a dual boot system where you select linux or windows at boot time or do you boot into linux and run windows as a vm? I use dual boot...on a couple machines. It's not always simple... UE

dual boot or windows vm?

2025-05-26 Thread Lee
For those of you that still use Windows, do you have a dual boot system where you select linux or windows at boot time or do you boot into linux and run windows as a vm? My wife is trying to decide if she wants to keep windows on her laptop or no. Obviously, it's easier not to decide &

Re: EeePC 1001P boot problem

2025-04-26 Thread Timothy M Butterworth
On Sat, Apr 26, 2025 at 3:32 AM Russ Puskarcik wrote: > Hi, > I have an ASUS 1001P with Rev 1202 BIOS. It does not recognize the hard > drives boot sector. Apparently ASUS was aware of this and created a > Boot-Tool for Linux that runs on Windows. I can't get that thing t

Re: EeePC 1001P boot problem

2025-04-26 Thread Timothy M Butterworth
On Sat, Apr 26, 2025 at 5:33 PM Timothy M Butterworth < timothy.m.butterwo...@gmail.com> wrote: > > > On Sat, Apr 26, 2025 at 3:32 AM Russ Puskarcik > wrote: > >> Hi, >> I have an ASUS 1001P with Rev 1202 BIOS. It does not recognize the hard >> drives bo

Re: EeePC 1001P boot problem

2025-04-26 Thread Hans
Am Samstag, 26. April 2025, 05:02:02 CEST schrieb Russ Puskarcik: > Hi, > I have an ASUS 1001P with Rev 1202 BIOS. It does not recognize the hard > drives boot sector. Apparently ASUS was aware of this and created a > Boot-Tool for Linux that runs on Windows. I can't get that thin

EeePC 1001P boot problem

2025-04-25 Thread Russ Puskarcik
Hi, I have an ASUS 1001P with Rev 1202 BIOS. It does not recognize the hard drives boot sector. Apparently ASUS was aware of this and created a Boot-Tool for Linux that runs on Windows. I can't get that thing to work on XP or Windows 7. It asks for a bootable CD ROM, but when I provid

Re: Pls help fixing /boot/efi and GRUB

2025-04-05 Thread tomas
On Wed, Mar 26, 2025 at 07:48:16AM -0500, Richard Owlett wrote: > On 3/26/25 6:55 AM, Greg Wooledge wrote: > > [SNIP] > > > > I normally use "sudo -s", which is the closest sudo approximation to > > the traditional behvior of "su" (before it was broken in buster). > > > > I don't understand the

Re: Pls help fixing /boot/efi and GRUB

2025-04-05 Thread Nicolas George
Greg (HE12025-03-27): > I'm certain sudo has its use cases, but all I do personally is su to > root and update and upgrade my stable Bookworm using apt, so I feel no > need to complexify the issue with sudo. The fallacy in here being assuming, without stating it and without justifying it that sudo

Re: Pls help fixing /boot/efi and GRUB

2025-04-05 Thread J
> > "sudo -i" is meant to approximate the behavior of "su -". Before buster, > nobody would have used that on a Debian system. It's horrible. The > fact that people are now embracing it as a norm is even worse. > Why horrible?

Re: Pls help fixing /boot/efi and GRUB

2025-04-05 Thread Anssi Saari
David Wright writes: > host!auser 09:57:47 /somewhere/that/is/obnoxiously/long/program-1.2.3$ > /bin/su --login > Password: > bullseye on /dev/sda5 toto05 > host 09:57:59 ~# cd /somewhere/that/is/obnoxiously/long/program-1.2.3 > host 09:58:08 /somewhere/that/is/obnoxiously/long/progra

Re: Pls help fixing /boot/efi and GRUB

2025-04-04 Thread tomas
On Wed, Mar 26, 2025 at 02:55:11PM -, Greg wrote: > On 2025-03-26, Richard Owlett wrote: > > >> If he hasn't noticed yet, I doubt it. > > > > I agree. > > If I understand what people want to accomplish by using command-line > > options, I would likely have gone to System->Log Out ... and the

Re: Pls help fixing /boot/efi and GRUB

2025-04-04 Thread Max Nikulin
On 21/03/2025 20:38, J wrote: But i must mention that *this passage from Debian Wiki seems incorrect* Bind mount various virtual filesystems: # for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do mount -B $i /mnt/$i; done https://wiki.debian.org/GrubEFIReinstall#

Re: Pls help fixing /boot/efi and GRUB

2025-04-04 Thread Max Nikulin
On 20/03/2025 03:22, J wrote: But before this oopsie deletion I have saved as a back-up at least something from /boot folder, or maybe even everything. Copy files from backup to /boot and to the EFI system partition EFI/debian/BOOTX64.CSV EFI/debian/fbx64.efi EFI/debian/grub.cfg EFI/debian

Re: Journalctl and offline boot disk drive

2025-03-30 Thread Max Nikulin
On 30/03/2025 12:32, George Kirkham wrote: Now with Journalctl, is it still possible to connect the failed-to-boot disk drive to another computer and read logs?  How? [...] https://man.archlinux.org/man/journalctl.1.en -D DIR, --directory=DIR There is <https://manpages.debian.org/journal

Re: Journalctl and offline boot disk drive

2025-03-30 Thread Charles Curley
On Sun, 30 Mar 2025 16:32:55 +1100 George Kirkham wrote: > PS I am currently using Thunderbird to try out email threading. Are > the any other good email clients that support email threading and are > packaged in Debian? If, as in this email, you have two separate queries, you might do better (

Re: Journalctl and offline boot disk drive

2025-03-30 Thread Andy Smith
Hi, On Sun, Mar 30, 2025 at 04:32:55PM +1100, George Kirkham wrote: > Now with Journalctl, is it still possible to connect the failed-to-boot disk > drive to another computer and read logs?  How? You got an answer regarding reading systemd journal in another directory, but… For there to

Re: Journalctl and offline boot disk drive

2025-03-30 Thread David
On Sun, 30 Mar 2025 at 05:33, George Kirkham wrote: > 'Back in the good old days' when logging was to text files. When a disk > drive failed to boot, I could attach that disk drive to another computer > as a secondary drive, and then mount and read the logs to see why it >

Re: Journalctl and offline boot disk drive

2025-03-30 Thread George
On 30/3/25 20:50, David wrote: On Sun, 30 Mar 2025 at 05:33, George Kirkham wrote: 'Back in the good old days' when logging was to text files. When a disk drive failed to boot, I could attach that disk drive to another computer as a secondary drive, and then mount and read the l

Re: Journalctl and offline boot disk drive

2025-03-29 Thread Chris Green
George Kirkham wrote: [snip disk drive question] > PS I am currently using Thunderbird to try out email threading. Are the > any other good email clients that support email threading and are > packaged in Debian? I use mutt, command line MUA, excellent. -- Chris Green ·

Journalctl and offline boot disk drive

2025-03-29 Thread George Kirkham
Hi, 'Back in the good old days' when logging was to text files. When a disk drive failed to boot, I could attach that disk drive to another computer as a secondary drive, and then mount and read the logs to see why it could no longer boot.  As well as to inspect other things.

Re: Pls help fixing /boot/efi and GRUB

2025-03-29 Thread songbird
Greg Wooledge wrote: ... > Maybe. If you haven't created an /etc/default/su file, then something > like this: > > $ su > # adduser richard > > may fail. You could work around it in various ways (e.g. explicitly > typing out /usr/sbin/adduser richard). > > My recommendation is to create a

Re: Pls help fixing /boot/efi and GRUB

2025-03-28 Thread Nicolas George
Max Nikulin (HE12025-03-28): > Approximately a decade ago I > noticed that new entries were not added to some history file, I do not > remember if it was .bash_history or for some other tool, but the owner of > the file was root. It was the reason why I

Re: Pls help fixing /boot/efi and GRUB

2025-03-28 Thread Max Nikulin
o clarify why I suggested namely "sudo -i". It is completely unrelated to e.g. PATH issues. The context is live image boot. To recover installed system the user needs root privileges to execute several commands. ~/.bashrc vs. ~/.profile difference is not significant. sudo does not as

Re: Pls help fixing /boot/efi and GRUB

2025-03-28 Thread J
Thank you for the answer. The problem was I accidentally removed the */boot *folder, WHILE trying to back it up. So there were only *OS folders *and something was missing. I figured out later that *kernels are also stored in /boot *and tried to reinstall the kernel manually, but ran into a

Re: Pls help fixing /boot/efi and GRUB

2025-03-28 Thread Greg
On 2025-03-28, David Wright wrote: > > As end-users are the people that computers are built and run > for, I don't know why you'd find people's use of the term > "slightly pejorative". (I assume you aren't calling out me > in particular.) I was calling myself out, not you. You have always been he

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Greg Wooledge
On Wed, Mar 26, 2025 at 15:46:15 +0100, Nicolas George wrote: > $ su > # make install > > Whoopsie! The Makefile just pwned you. That's a COMPLETELY separate discussion. Obviously I was referring to software from reputable sources. > $ make DESTDIR=/tmp/i install > $ sud

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread David Wright
On Thu 27 Mar 2025 at 22:14:03 (-0400), Michael Stone wrote: > On Thu, Mar 27, 2025 at 08:29:50PM -0500, David Wright wrote: > > Excellent, that solves the problem for those on old terminals or > > lacking copy/paste. As for me, I'll continue to use /bin/su --login, > > as I have for nigh on three

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Michael Stone
On Thu, Mar 27, 2025 at 08:29:50PM -0500, David Wright wrote: Excellent, that solves the problem for those on old terminals or lacking copy/paste. As for me, I'll continue to use /bin/su --login, as I have for nigh on three decades, so that I land in my preferred, consistent cwd, /root. su - do

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread David Wright
On Thu 27 Mar 2025 at 17:05:56 (-), Greg wrote: > On 2025-03-26, David Wright wrote: > > > > As posted earlier today, a file in sudoers.d/ makes trivial admin > > tasks like monitoring and logging easier, particularly where the > > programs concerned can cause damage if the wrong options are us

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread David Wright
On Thu 27 Mar 2025 at 13:58:10 (-0400), Greg Wooledge wrote: > On Thu, Mar 27, 2025 at 12:48:35 -0500, David Wright wrote: > > It could be argued that it would be simple enough to communicate > > the user's cwd to root, as a workaround, so that it didn't have to > > be retyped. > > You know what d

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Greg
On 2025-03-26, David Wright wrote: > > As posted earlier today, a file in sudoers.d/ makes trivial admin > tasks like monitoring and logging easier, particularly where the > programs concerned can cause damage if the wrong options are used. I'm certain sudo has its use cases, but all I do persona

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Greg Wooledge
On Thu, Mar 27, 2025 at 12:48:35 -0500, David Wright wrote: > It could be argued that it would be simple enough to communicate > the user's cwd to root, as a workaround, so that it didn't have to > be retyped. You know what does that for you? sudo -s. Or su if you've configured it with a one-lin

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread David Wright
t 07:26:35 (-0400), Dan Ritter wrote: > > The Linux console has no cut/paste. The text or framebuffer > console you get when you boot without having a GUI available? No > cut/paste there. You can add one with another daemon. Yes, I can't imagine anyone doing serious work at the console without a tool like gpm, available ever since buzz (1.1). Cheers, David.

Re: Pls help fixing /boot/efi and GRUB

2025-03-27 Thread Dan Ritter
ication, server people like to do extremely weird stuff > for remote management. The Linux console has no cut/paste. The text or framebuffer console you get when you boot without having a GUI available? No cut/paste there. You can add one with another daemon. Don't call things "crude" when they still work properly. -dsr-

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Richard Owlett
On 3/26/25 6:55 AM, Greg Wooledge wrote: [SNIP] I normally use "sudo -s", which is the closest sudo approximation to the traditional behvior of "su" (before it was broken in buster). I don't understand the reference to some "brokenness" of "su". I've not closely followed this thread so I may

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread David Wright
On Wed 26 Mar 2025 at 16:37:41 (-), Greg wrote: > On 2025-03-26, Richard Owlett wrote: > > > > I assumed it was effectively the same as power down and then logging in > > as root on power-up. > > It is. But it's unnecessary and dangerous to run your entire DE as root. > Or maybe you log in t

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Nicolas George
Greg Wooledge (HE12025-03-26): > This caused ALL KINDS of problems. People would do things like: > > $ su > # apt update > # apt install somepkg > > And the postinstall script for somepkg would fail because it couldn't > find commands that are in /sbin or /usr/sbin, because those dir

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread J
So, in most cases* sudo -s* is better? Any downsides? ср, 26 мар. 2025 г. в 16:10, Greg Wooledge : > On Wed, Mar 26, 2025 at 07:48:16 -0500, Richard Owlett wrote: > > On 3/26/25 6:55 AM, Greg Wooledge wrote: > > > I normally use "sudo -s", which is the closest sudo approximation to > > > the trad

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread tomas
On Wed, Mar 26, 2025 at 07:55:33AM -0400, Greg Wooledge wrote: [...] > I normally use "sudo -s", which is the closest sudo approximation to > the traditional behvior of "su" (before it was broken in buster). > > "sudo -i" is meant to approximate the behavior of "su -". Before buster, > nobody w

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Greg
On 2025-03-26, Richard Owlett wrote: > > I assumed it was effectively the same as power down and then logging in > as root on power-up. It is. But it's unnecessary and dangerous to run your entire DE as root. Or maybe you log in to the console and use startx to run Mate? At any rate, I do follo

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Greg
On 2025-03-26, Greg Wooledge wrote: >> >> Does this "brokenness" of "su" have any potential effect on my usage? > > Maybe. If you haven't created an /etc/default/su file, then something > like this: If he hasn't noticed yet, I doubt it. I noticed when I finally erased Stretch and installed Boo

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Greg
On 2025-03-26, Richard Owlett wrote: >> If he hasn't noticed yet, I doubt it. > > I agree. > If I understand what people want to accomplish by using command-line > options, I would likely have gone to System->Log Out ... and then logged > in as root. Not recommended.

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread David Wright
On Wed 26 Mar 2025 at 10:03:59 (-0500), Richard Owlett wrote: > On 3/26/25 9:55 AM, Greg wrote: > > On 2025-03-26, Richard Owlett wrote: > > > > > > If he hasn't noticed yet, I doubt it. > > > > > > I agree. > > > If I understand what people want to accomplish by using command-line > > > options

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread David Wright
On Wed 26 Mar 2025 at 16:24:21 (+0300), J wrote: > ср, 26 мар. 2025 г. в 16:10, Greg Wooledge : > > On Wed, Mar 26, 2025 at 07:48:16 -0500, Richard Owlett wrote: > > > On 3/26/25 6:55 AM, Greg Wooledge wrote: > > > > I normally use "sudo -s", which is the closest sudo approximation to > > > > the t

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Richard Owlett
On 3/26/25 9:55 AM, Greg wrote: On 2025-03-26, Richard Owlett wrote: If he hasn't noticed yet, I doubt it. I agree. If I understand what people want to accomplish by using command-line options, I would likely have gone to System->Log Out ... and then logged in as root. Not recommended.

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread Richard Owlett
On 3/26/25 9:04 AM, Greg wrote: On 2025-03-26, Greg Wooledge wrote: Does this "brokenness" of "su" have any potential effect on my usage? Maybe. If you haven't created an /etc/default/su file, then something like this: If he hasn't noticed yet, I doubt it. I agree. If I understand what

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread tomas
On Wed, Mar 26, 2025 at 04:19:37PM +0300, J wrote: > > > > > work with* root?* I will try to test. > > > > I fully expect it to, yes. > > > > Oh, yes, it works. I just had to use *sudo su* and not not I think you never need "sudo su". "sudo -i" and "sudo -s" will do your bidding, depending on you

Re: Pls help fixing /boot/efi and GRUB

2025-03-26 Thread J
> > > work with* root?* I will try to test. > > I fully expect it to, yes. > Oh, yes, it works. I just had to use *sudo su* and not not *su - * Also it's bad that Wiki doesn't clarify* how to* 'boot the rescue system including the kernel option "efi=runti

  1   2   3   4   5   6   7   8   9   10   >