[NTLUG:Discuss] UNSUBSCRIBE!!!
vermatio at gmail.com
vermatio at gmail.com
Thu Jul 30 23:36:24 CDT 2015
Sent from my iPhone
> On Jul 30, 2015, at 12:00 PM, discuss-request at ntlug.org wrote:
>
> Send Discuss mailing list submissions to
> discuss at ntlug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.ntlug.org/mailman/listinfo/discuss
> or, via email, send a message with subject or body 'help' to
> discuss-request at ntlug.org
>
> You can reach the person managing the list at
> discuss-owner at ntlug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Discuss digest..."
>
>
> Today's Topics:
>
> 1. xargs guide (Steve Litt)
> 2. Re: systemd, mbr boot record recovery, but now can't mount
> anything (?) (Leroy Tennison)
> 3. Re: xargs guide (Pesto)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 29 Jul 2015 21:46:06 -0400
> From: Steve Litt <slitt at troubleshooters.com>
> To: discuss at ntlug.org
> Subject: [NTLUG:Discuss] xargs guide
> Message-ID: <20150729214606.7526dee4 at mydesq2.domain.cxm>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi all,
>
> xargs is a gender-changer type program that adapts one program's stdout
> to the next program's command line arguments. It's extremely handy for
> shell scripting, but it can be tricky. I've written a short guide for
> xargs that shows how to get around the usual xargs landmines:
>
> http://www.troubleshooters.com/linux/xargs.htm
>
> Hope you like it.
>
> SteveT
>
> Steve Litt
> July 2015 featured book: Rapid Learning for the 21st Century
> http://www.troubleshooters.com/rl21
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 30 Jul 2015 00:31:09 -0500
> From: Leroy Tennison <leroy.tennison at verizon.net>
> To: NTLUG Discussion List <discuss at ntlug.org>
> Subject: Re: [NTLUG:Discuss] systemd, mbr boot record recovery, but
> now can't mount anything (?)
> Message-ID: <55B9B69D.6070309 at verizon.net>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Well, after starting to write I see the problem is solved - and was due
> to the same thing which has happened to me, maybe a little additional
> information will help someone else. I've booted to emergency mode twice
> (openSuSE 13.1), both times (once each on two machines) it was due to
> fstab. First time I had reformatted a partition to NTFS, probably from
> ext3 or 4, to make a shared partition for that other OS. Needless to
> say, that changed the UUID which had to be fixed in fstab.
>
> Second time I had dd'ed a 160GB drive onto a 1TB drive and fstab was
> using /dev/disk/by-id/... Of course, the drive model changed. However,
> even replacing the drive model with the new one didn't help, had to
> switch to UUIDs. In both of my cases I booted to a DVD and was able to
> mount partitions and gather information using blkid.
>
> Point of all this is that no method of referencing partitions is safe:
> Both /dev/[hd?|sd?] and /dev/disk/by-id/ are vulnerable to hardware
> changes. UUID is vulnerable to partition changes. If only we had a
> better way, maybe systemd v2 (I'm JOKING, I fully despise systemd for
> the same reason Chris does).
>
> One other option had you needed it would have been to get a trial
> version of a disk recovery program and see what that tells you. I did
> this a few years back and discovered the partition contents were
> thoroughly scrambled. The trial only allowed reading but that was
> enough to discover that buying it was useless because there was nothing
> significant to recover. In that situation what I finally discovered the
> hard way was that something on the motherboard was trashing drives
> (first troubleshooting step was to swap drives, then it happened again a
> month later, new motherboard and the problem disappeared).
>
>
>> On 07/27/2015 03:09 AM, Christopher Cox wrote:
>> So, I needed to reconstruct my boot record. I booted into rescue mode
>> and mounted my root (/mnt), mounted (bind) the special dirs: dev, proc
>> and sys and then did a chroot to /mnt.
>>
>> Then I could recreate a grub2 grub.cnf file with grub2-mkconfig. I
>> then wrote a new grub using grub2-install.
>>
>> No errors.
>>
>> On boot, it starts to load by the goes to emergency mode (systemd) and
>> I see my / is mounted ok, but the reason for the failure was because
>> none of the other filesystems would mount. Swap won't mount, and my
>> /home won't mount. In fact, nothing will mount even in "emergency"
>> mode. Nothing will fsck either.
>>
>> All attempts to get at filesystems for mounting or doing an fsck says
>> "no" because "it's already mounted" or "it's busy"... but nothing
>> except / is actually mounted.
>>
>> (I am sooooo very glad that booting is a complete mess now)
>>
>> Anybody else have this happen to them and figure a way out?
>>
>> You won't have this issue unless you're on a newer system using
>> systemd and grub2 (IMHO).... In this case it's openSUSE 13.2.
>>
>> Hints welcome.
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 30 Jul 2015 07:24:26 -0500
> From: Pesto <dawjer at gmail.com>
> To: NTLUG Discussion List <discuss at ntlug.org>
> Subject: Re: [NTLUG:Discuss] xargs guide
> Message-ID:
> <CAJ5YSrz8mjtxtPVQ9MXxhg4t871wJPqduxhDLS9uk=-NbjvRKw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> As someone who has used xargs since the mid '90s I gotta say this is well
> done. I learned stuff. Thanks.
>
>
> pesto
>
> On Wed, Jul 29, 2015 at 8:46 PM, Steve Litt <slitt at troubleshooters.com>
> wrote:
>
>> Hi all,
>>
>> xargs is a gender-changer type program that adapts one program's stdout
>> to the next program's command line arguments. It's extremely handy for
>> shell scripting, but it can be tricky. I've written a short guide for
>> xargs that shows how to get around the usual xargs landmines:
>>
>> http://www.troubleshooters.com/linux/xargs.htm
>>
>> Hope you like it.
>>
>> SteveT
>>
>> Steve Litt
>> July 2015 featured book: Rapid Learning for the 21st Century
>> http://www.troubleshooters.com/rl21
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Discuss mailing list
> Discuss at ntlug.org
> http://www.ntlug.org/mailman/listinfo/discuss
>
>
> ------------------------------
>
> End of Discuss Digest, Vol 151, Issue 14
> ****************************************
More information about the Discuss
mailing list