Re: tar a flash drive

2019-09-04 Thread Cameron Simpson
On 03Sep2019 23:12, ToddAndMargo wrote: On 9/3/19 10:56 PM, Cameron Simpson wrote: On 03Sep2019 22:03, ToddAndMargo wrote: I have a flash drive with about four partitions on is. Lets call it /dev/sdc. Can I tar sdc or am I stuck with tarring the partitions? Any drawback to this? Depends w

Re: [dnf] Transaction check error: file ... conflicts with file from package ...

2019-09-04 Thread Samuel Sieb
On 9/3/19 10:46 PM, Frédéric wrote: My dnf seems broken. Below is what I get with dnf upgrade. I did dnf clean all, dnf clean metadata, I tested to add zchunk=False, I set back fastestmirror to false but nothing changes. I was able to upgrade a lot of packages and while it works for them, I get a

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/3/19 11:32 PM, Eyal Lebedinsky wrote: What is the purpose of this exercise? I have a bootable Fedora 64 GB flash drive. I use it to troubleshoot customers' computers -- mostly Windows. Windows loved to eat these sticks. (I have had great luck switching to a Samsung stick.) I have prev

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/3/19 11:12 PM, Ed Greshko wrote: The question would then arise as to how you would extract files/data from that dd created No extraction. I just want to do a mass overwrite when the stick gets corrupted ___ users mailing list -- users@lists.fed

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/4/19 12:06 AM, Cameron Simpson wrote: Shrug. "cat" is easier to invoke:  cat /dev/sdBLAH >sdBLAH.img Cheers, Cameron Simpson I am use to dd. Kind of like I am use to vi when EVERY other editor it the world is easier to use. :-) ___ users ma

Re: tar a flash drive

2019-09-04 Thread Patrick O'Callaghan
On Wed, 2019-09-04 at 01:59 -0700, ToddAndMargo via users wrote: > On 9/3/19 11:32 PM, Eyal Lebedinsky wrote: > > What is the purpose of this exercise? > > > I have a bootable Fedora 64 GB flash drive. I use it > to troubleshoot customers' computers -- mostly Windows. > Windows loved to eat thes

Laptop not charging after resume.

2019-09-04 Thread Theodore Papadopoulo
I have a DELL Precision Mobile 5530 with an NVidia card and the proprietary drivers (if only I could use the non-proprietary ones)... Since I switched to Fedora 30, it seems that USB-C power supply does not work (the battery is not charging)... I was afraid of a harware problem, when I not

Re: tar a flash drive

2019-09-04 Thread Ed Greshko
On 9/4/19 5:00 PM, ToddAndMargo via users wrote: > On 9/3/19 11:12 PM, Ed Greshko wrote: >> The question would then arise as to how you would extract files/data from >> that dd created > > No extraction.  I just want to do a mass overwrite when > the stick gets corrupted OK. Pro-Tip:  Spelling o

Re: tar a flash drive

2019-09-04 Thread Dave Ihnat
On 4 Sep at 01:12, Ed Greshko wrote: > Of course a dd copy may be rather time consuming and space consuming > with no apparent advantage. A lot less time consuming if you use the "bs=" option. Haven't seen anyone mention that; I believe the default is still the old Unix 512b, painful. Cheers,

Re: tar a flash drive

2019-09-04 Thread Ed Greshko
On 9/4/19 9:16 PM, Dave Ihnat wrote: > On 4 Sep at 01:12, Ed Greshko wrote: >> Of course a dd copy may be rather time consuming and space consuming >> with no apparent advantage. > A lot less time consuming if you use the "bs=" option. Haven't seen anyone > mention that; I believe the default is

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Richard Shaw
On Mon, Sep 2, 2019 at 3:26 PM Samuel Sieb wrote: > On 9/2/19 8:51 AM, Richard Shaw wrote: > > \/fedora\/linux\/releases\/([0-9]+)\/Everything/x86_64\/(.*)$ > > http://repo.mirrors.squid.internal/fedora/releases/$1/$2 > > \/fedora\/linux\/updates\/([0-9]+)\/x86_64\/(.*)$ > > http://repo.mirrors.s

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Ted Roche
Would this be a good use for a local private mirror? https://fedoraproject.org/wiki/Infrastructure/Mirroring#How_can_someone_make_a_private_mirror.3F On Mon, Sep 2, 2019 at 9:54 AM Richard Shaw wrote: > Since I have >7 Fedora installations I setup a squid proxy server > specifically for the pu

Re: tar a flash drive

2019-09-04 Thread Patrick O'Callaghan
On Wed, 2019-09-04 at 21:55 +0800, Ed Greshko wrote: > On 9/4/19 9:16 PM, Dave Ihnat wrote: > > On 4 Sep at 01:12, Ed Greshko wrote: > > > Of course a dd copy may be rather time consuming and space consuming > > > with no apparent advantage. > > A lot less time consuming if you use the "bs=" opti

RE: Re: tar a flash drive

2019-09-04 Thread 3603060030
FOLLOW @gnome -Original Message- From: Sent: Wed, 04 Sep 2019 16:20:14 +0100 To: 3603060...@txt.att.net Subject: Re: tar a flash drive >On Wed, 2019-09-04 at 21:55 +0800, Ed Greshko wrote: >> On 9/4/19 9:16 PM, Dave Ihnat wrote: >> > On 4 Sep at 01:12, Ed Greshko wrote: >> > >

RE: Re: tar a flash drive

2019-09-04 Thread 3603060030
SORRY! That message was not intended for you. -Original Message- From: Sent: Wed, 04 Sep 2019 16:20:14 +0100 To: 3603060...@txt.att.net Subject: Re: tar a flash drive >On Wed, 2019-09-04 at 21:55 +0800, Ed Greshko wrote: >> On 9/4/19 9:16 PM, Dave Ihnat wrote: >> > On 4 Sep at

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread stan via users
On Tue, 3 Sep 2019 22:31:52 -0400 murph nj wrote: > I've got an Acer laptop that has been shutting down suddenly. (I > suspect a bad battery, working on that.) > > After a sudden shutdown last night, I now get a kernel panic on boot > right after "Starting Switch Root..." The switch root is ch

Icon on screen FRitzBox Fedora 30.

2019-09-04 Thread Ger van Dijck
Hi Fedora World . I have a maybe stupid question : I use a Fritz-Box 7490 and try to install Icons on screen : fritz.nas , fritz.mediaserver , myfritz , but one way or another I do not manage this item . Is there a solution ? Kind regards , Ger van Dijck . Using Opera's mail clien

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread murph nj
On Wed, Sep 4, 2019 at 11:45 AM stan via users wrote: > > > The switch root is changing from the initramfs to the installed OS. If > there is a power problem, it is possible that memory is not working > properly, and disk reads are erronious. Fix the power supply before > you go any further. An

Re: tar a flash drive

2019-09-04 Thread Fred Smith
On Wed, Sep 04, 2019 at 04:20:14PM +0100, Patrick O'Callaghan wrote: > On Wed, 2019-09-04 at 21:55 +0800, Ed Greshko wrote: > > On 9/4/19 9:16 PM, Dave Ihnat wrote: > > > On 4 Sep at 01:12, Ed Greshko wrote: > > > > Of course a dd copy may be rather time consuming and space consuming > > > > with

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Richard Shaw
On Wed, Sep 4, 2019 at 10:16 AM Ted Roche wrote: > Would this be a good use for a local private mirror? > > > https://fedoraproject.org/wiki/Infrastructure/Mirroring#How_can_someone_make_a_private_mirror.3F > It looked like you have some ability to control what gets mirrored but for the most par

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread stan via users
On Wed, 4 Sep 2019 09:51:58 -0500 Richard Shaw wrote: > On Mon, Sep 2, 2019 at 3:26 PM Samuel Sieb wrote: > > > On 9/2/19 8:51 AM, Richard Shaw wrote: > > > \/fedora\/linux\/releases\/([0-9]+)\/Everything/x86_64\/(.*)$ > > > http://repo.mirrors.squid.internal/fedora/releases/$1/$2 > > > \/fed

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Samuel Sieb
On 9/4/19 11:42 AM, stan via users wrote: A hack you might consider if the computers can exchange files. On one machine, the machine that will get the packages, turn off the switch that deletes packages after install in /etc/dnf/dnf.conf. Then, use rsync to put those packages in the appropriate

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread stan via users
On Wed, 4 Sep 2019 12:33:59 -0400 murph nj wrote: > The power supply was not the problem, it was the battery. All > subsequent testing has been done plugged into power. It also boots > just fine from a USB stick with either Mint or Fedora. > > There are three kernels available from the boot me

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread murph nj
I was able to mount the drives, and check them, no problems. I was also able to move all of my important data off of the drives to an external, so I'm not worried about any loss to the data on the drives. No worries of fatal mistakes anymore. I also took a look at the journals that were left, the

Re: tar a flash drive

2019-09-04 Thread Gordon Messmer
On 9/4/19 8:20 AM, Patrick O'Callaghan wrote: For a USB drive it probably doesn't make much difference. Output will be buffered and speed is limited by the USB interface. If you aren't specifying a block size, the default block size tends to involve more round-trips through the kernel and thr

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread stan via users
On Wed, 4 Sep 2019 15:05:36 -0400 murph nj wrote: > I was able to mount the drives, and check them, no problems. I was > also able to move all of my important data off of the drives to an > external, so I'm not worried about any loss to the data on the drives. > No worries of fatal mistakes anym

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/4/19 2:44 AM, Patrick O'Callaghan wrote: The point of Eyal's method is to ensure that all the free space on the drive is filled with zeroes, thus improving the compression. Otherwise you are just uselessly compressing junk. poc Is there a way to tell the stick itself to zero out all unuse

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/4/19 6:16 AM, Dave Ihnat wrote: On 4 Sep at 01:12, Ed Greshko wrote: Of course a dd copy may be rather time consuming and space consuming with no apparent advantage. A lot less time consuming if you use the "bs=" option. Haven't seen anyone mention that; I believe the default is still

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/4/19 1:25 PM, ToddAndMargo via users wrote: On 9/4/19 2:44 AM, Patrick O'Callaghan wrote: The point of Eyal's method is to ensure that all the free space on the drive is filled with zeroes, thus improving the compression. Otherwise you are just uselessly compressing junk. poc Is there a

Re: tar a flash drive

2019-09-04 Thread Ted Roche
scrub, in the Fedora repos, has a fillzero option and a freespace specifier that should do the trick. MAKE A BACKUP FIRST, as scrub's primary job is to erase any trace of everything on a device, so you'd hate to get the options wrong! On Wed, Sep 4, 2019 at 4:41 PM ToddAndMargo via users < user

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/4/19 1:48 PM, Ted Roche wrote: scrub, in the Fedora repos, has a fillzero option and a freespace specifier that should do the trick. MAKE A BACKUP FIRST, as scrub's primary job is to erase any trace of everything on a device, so you'd hate to get the options wrong! Thank you! Ya, backup

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread murph nj
On Wed, Sep 4, 2019 at 4:21 PM stan via users wrote: > > On Wed, 4 Sep 2019 15:05:36 -0400 > murph nj wrote: > > > I was able to mount the drives, and check them, no problems. > > Did that include the boot partition, where the kernels and initramfs' > are? > I had not, but on your suggestion, I

Re: tar a flash drive

2019-09-04 Thread Patrick O'Callaghan
On Wed, 2019-09-04 at 12:44 -0700, Gordon Messmer wrote: > On 9/4/19 8:20 AM, Patrick O'Callaghan wrote: > > For a USB drive it probably doesn't make much difference. Output will > > be buffered and speed is limited by the USB interface. > > If you aren't specifying a block size, the default block

[389-users] Re: BIND (DNS)

2019-09-04 Thread William Brown
A that explains it! It's possible to do by ldapadd, but it requires a file formatted differently. Glad you got it running in the end. Always happy to help! > On 5 Sep 2019, at 00:04, Fernando Fuentes wrote: > > William, > > Thanks, I got it to import. I was trying to do an ldif import vi

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread murph nj
On Wed, Sep 4, 2019 at 5:42 PM murph nj wrote: > > On Wed, Sep 4, 2019 at 4:21 PM stan via users > wrote: > > > > On Wed, 4 Sep 2019 15:05:36 -0400 > > murph nj wrote: > > > > > I was able to mount the drives, and check them, no problems. > > > > Did that include the boot partition, where the ke

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/3/19 11:32 PM, Eyal Lebedinsky wrote: dd if=/dev/zero of=/path/to/mountPoint/zero rm /path/to/mountPoint/zero Oh, I finally understand! I was thinking /mnt/flash/big-file-o-zeros was on the local drive, not the flash drive. Duh! Thank you!

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread Tony Nelson
On 19-09-04 17:42:40, murph nj wrote: ... Everything left on the screen after the kernel panic is (too much to type) https://imgur.com/a/kf81crl ... Unfortunately, it goes right to a kernel panic, so no prompts at all to work with. (I'd have chewed on it more before asking for help if I h

Re: Improper shutdown, now Kernel panic.

2019-09-04 Thread murph nj
On Wed, Sep 4, 2019 at 9:56 PM Tony Nelson wrote: > > > It dies trying to pivot-root, so add to the kernel command line > > rd.break=pre-pivot > Interesting. I was able to drop to a shell. I took a look at the journal, and it looked like a possible hibernation problem, so I took that out

Re: Followup: How do I generate grub for legacy?

2019-09-04 Thread ToddAndMargo via users
On 5/1/19 2:48 PM, ToddAndMargo via users wrote: Hi All, I have a Fedora 30 flash drive set up for dual booting from Legacy or UEFI.  It boots beautifully from UEFI. (It also have a bios_grub partition). It booted perfectly from both under Fedora 29. Now when booting from legacy, it go into "S

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/3/19 10:03 PM, ToddAndMargo via users wrote: Hi All, I have a flash drive with about four partitions on is. Lets call it /dev/sdc. Can I tar sdc or am I stuck with tarring the partitions? Any drawback to this? Many thanks, -T Followup. This is what I finally wound up doing to back

Re: tar a flash drive

2019-09-04 Thread Francis . Montagnac
Hi. On Wed, 04 Sep 2019 22:55:56 -0700 ToddAndMargo via users wrote: > This is what I finally wound up doing to back up this stick. > Dead Stick is a play on words off of Live USB: > Backup: > 1) shutdown: zero out unused space ... > # zerofree -v /dev/sd.. Beware that zerofree

Re: tar a flash drive

2019-09-04 Thread ToddAndMargo via users
On 9/4/19 11:24 PM, francis.montag...@inria.fr wrote: Hi. On Wed, 04 Sep 2019 22:55:56 -0700 ToddAndMargo via users wrote: This is what I finally wound up doing to back up this stick. Dead Stick is a play on words off of Live USB: Backup: 1) shutdown: zero out unused space ...