Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Peter Humphrey
On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
> Hi,
> 
> I modified the boot options to have a debugging OS on my DHCP for LAN:
> drscott ~ # grep netboot /srv/tftp/pxelinux.cfg/default
> APPEND rescue64 scandelay=1
> netboot=http://[2a01:cb08:898c:fc00::1]/sysrcd.dat docache setkmap=fr
> console=ttyS0,115200 console=tty0 rootpass=root dhcp -- rescue32
> scandelay=1 netboot=http://[2a01:cb08:898c:fc00::1]/sysrcd.dat docache
> setkmap=fr console=ttyS0,115200 console=tty0 rootpass=root dhcp LABEL
> netboot
> kernel netboot
> 
> Hope this helps.

Hmm. Not sure it does. I'd have to consider the work in changing the .iso. As 
I couldn't even mount it -oloop to write it to a USB drive, that looks like a 
big job.

I suppose I'll just have to put up with NetworkManager. (Boo, hiss...)

-- 
Regards,
Peter.






Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Bill Kenworthy
On 31/12/18 6:26 pm, Peter Humphrey wrote:
> On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
>> Hi,
>>
>> I modified the boot options to have a debugging OS on my DHCP for LAN:
>> drscott ~ # grep netboot /srv/tftp/pxelinux.cfg/default
>> APPEND rescue64 scandelay=1
>> netboot=http://[2a01:cb08:898c:fc00::1]/sysrcd.dat docache setkmap=fr
>> console=ttyS0,115200 console=tty0 rootpass=root dhcp -- rescue32
>> scandelay=1 netboot=http://[2a01:cb08:898c:fc00::1]/sysrcd.dat docache
>> setkmap=fr console=ttyS0,115200 console=tty0 rootpass=root dhcp LABEL
>> netboot
>> kernel netboot
>>
>> Hope this helps.
> Hmm. Not sure it does. I'd have to consider the work in changing the .iso. As 
> I couldn't even mount it -oloop to write it to a USB drive, that looks like a 
> big job.
>
> I suppose I'll just have to put up with NetworkManager. (Boo, hiss...)
>
Let it come up, then kill -9 it and get on with life ...


BillK





Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Mick
On Monday, 31 December 2018 10:26:06 GMT Peter Humphrey wrote:
> On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:

> > kernel netboot
> > 
> > Hope this helps.
> 
> Hmm. Not sure it does. I'd have to consider the work in changing the .iso.
> As I couldn't even mount it -oloop to write it to a USB drive, that looks
> like a big job.

Did you run:

mount -o loop,exec /path/to/systemrescuecd-x86-x.y.z.iso /tmp/cdrom

as the web page instructs?  What error did you get?


I also had a go modifying the iso to include firmware for my old laptop's 
Radeon card, which in the last couple of versions were excluded by the devs.  

Unfortunately, some of the command(s) provided in the sysrescuecd website 
failed to run - something about missing libs or files. I also don't recall if 
I tried both 32bit and 64bit kernels.  I'll have another go when I get a spare 
moment.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Peter Humphrey
On Monday, 31 December 2018 13:19:49 GMT Mick wrote:
> On Monday, 31 December 2018 10:26:06 GMT Peter Humphrey wrote:
> > On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
> > > kernel netboot
> > > 
> > > Hope this helps.
> > 
> > Hmm. Not sure it does. I'd have to consider the work in changing the .iso.
> > As I couldn't even mount it -oloop to write it to a USB drive, that looks
> > like a big job.
> 
> Did you run:
> 
> mount -o loop,exec /path/to/systemrescuecd-x86-x.y.z.iso /tmp/cdrom
> 
> as the web page instructs?

Of course.

> What error did you get?

Operation not permitted.

I also got it after burning a CD and trying to mount that.

> I also had a go modifying the iso to include firmware for my old laptop's
> Radeon card, which in the last couple of versions were excluded by the devs.
> 
> Unfortunately, some of the command(s) provided in the sysrescuecd website
> failed to run - something about missing libs or files. I also don't recall
> if I tried both 32bit and 64bit kernels.  I'll have another go when I get a
> spare moment.

I wonder how active the maintenance of RescueCD is...

-- 
Regards,
Peter.






[gentoo-user] an issue with issue, an agetty bug?

2018-12-31 Thread »Q«
After upgrading to sys-apps/util-linux-2.33-r1, I can no longer find a
way to put literal backslash characters into /etc/issue properly.  For
many years, '\\' in the issue file would result in a single backslash
being printed.  I don't think this was ever documented;  it's just the
natural way to escape backslash as a special character.  I guess the
change is with agetty, but I don't know.  Any ideas?

p.s.:  Downgrading to util-linux-2.32-r4 got me the old behavior back.





Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Mick
On Monday, 31 December 2018 15:40:48 GMT Peter Humphrey wrote:
> On Monday, 31 December 2018 13:19:49 GMT Mick wrote:
> > On Monday, 31 December 2018 10:26:06 GMT Peter Humphrey wrote:
> > > On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
> > > > kernel netboot
> > > > 
> > > > Hope this helps.
> > > 
> > > Hmm. Not sure it does. I'd have to consider the work in changing the
> > > .iso.
> > > As I couldn't even mount it -oloop to write it to a USB drive, that
> > > looks
> > > like a big job.
> > 
> > Did you run:
> > 
> > mount -o loop,exec /path/to/systemrescuecd-x86-x.y.z.iso /tmp/cdrom
> > 
> > as the web page instructs?
> 
> Of course.
> 
> > What error did you get?
> 
> Operation not permitted.

As root?  If yes, then this is rather odd.

This is what I'm getting here:

# mount -o loop,exec systemrescuecd-x86-5.3.2.iso /mnt/iso
mount: /mnt/iso: WARNING: device write-protected, mounted read-only.
# findmnt /mnt/iso
TARGET   SOURCE FSTYPE  OPTIONS
/mnt/iso /dev/loop0 iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Peter Humphrey
On Monday, 31 December 2018 16:00:34 GMT Mick wrote:
> On Monday, 31 December 2018 15:40:48 GMT Peter Humphrey wrote:
> > On Monday, 31 December 2018 13:19:49 GMT Mick wrote:
> > > On Monday, 31 December 2018 10:26:06 GMT Peter Humphrey wrote:
> > > > On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
> > > > > kernel netboot
> > > > > 
> > > > > Hope this helps.
> > > > 
> > > > Hmm. Not sure it does. I'd have to consider the work in changing the
> > > > .iso.
> > > > As I couldn't even mount it -oloop to write it to a USB drive, that
> > > > looks
> > > > like a big job.
> > > 
> > > Did you run:
> > > 
> > > mount -o loop,exec /path/to/systemrescuecd-x86-x.y.z.iso /tmp/cdrom
> > > 
> > > as the web page instructs?
> > 
> > Of course.
> > 
> > > What error did you get?
> > 
> > Operation not permitted.
> 
> As root?  If yes, then this is rather odd.

Oh yes, I wouldn't expect to be able to do that as myself.

> This is what I'm getting here:
> 
> # mount -o loop,exec systemrescuecd-x86-5.3.2.iso /mnt/iso
> mount: /mnt/iso: WARNING: device write-protected, mounted read-only.

Just as I was expecting too.

> # findmnt /mnt/iso
> TARGET   SOURCE FSTYPE  OPTIONS
> /mnt/iso /dev/loop0 iso9660
> ro,relatime,nojoliet,check=s,map=n,blocksize=2048

-- 
Regards,
Peter.






Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Jack

On 2018.12.31 05:26, Peter Humphrey wrote:

On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
> Hi,
>
> I modified the boot options to have a debugging OS on my DHCP for  
LAN:

> drscott ~ # grep netboot /srv/tftp/pxelinux.cfg/default
> APPEND rescue64 scandelay=1
> netboot=http://[2a01:cb08:898c:fc00::1]/sysrcd.dat docache  
setkmap=fr

> console=ttyS0,115200 console=tty0 rootpass=root dhcp -- rescue32
> scandelay=1 netboot=http://[2a01:cb08:898c:fc00::1]/sysrcd.dat  
docache
> setkmap=fr console=ttyS0,115200 console=tty0 rootpass=root dhcp  
LABEL

> netboot
> kernel netboot
>
> Hope this helps.

Hmm. Not sure it does. I'd have to consider the work in changing the  
.iso. As
I couldn't even mount it -oloop to write it to a USB drive, that  
looks like a

big job.
Couldn't you just dd it to a USB drive (without needing to mount the  
iso first) and then mount the drive?



I suppose I'll just have to put up with NetworkManager. (Boo, hiss...)

--
Regards,
Peter.


Jack


Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread J. Roeleveld
On December 31, 2018 6:29:16 PM UTC, Peter Humphrey  
wrote:
>On Monday, 31 December 2018 16:00:34 GMT Mick wrote:
>> On Monday, 31 December 2018 15:40:48 GMT Peter Humphrey wrote:
>> > On Monday, 31 December 2018 13:19:49 GMT Mick wrote:
>> > > On Monday, 31 December 2018 10:26:06 GMT Peter Humphrey wrote:
>> > > > On Sunday, 30 December 2018 19:03:31 GMT Alarig Le Lay wrote:
>> > > > > kernel netboot
>> > > > > 
>> > > > > Hope this helps.
>> > > > 
>> > > > Hmm. Not sure it does. I'd have to consider the work in
>changing the
>> > > > .iso.
>> > > > As I couldn't even mount it -oloop to write it to a USB drive,
>that
>> > > > looks
>> > > > like a big job.
>> > > 
>> > > Did you run:
>> > > 
>> > > mount -o loop,exec /path/to/systemrescuecd-x86-x.y.z.iso
>/tmp/cdrom
>> > > 
>> > > as the web page instructs?
>> > 
>> > Of course.
>> > 
>> > > What error did you get?
>> > 
>> > Operation not permitted.
>> 
>> As root?  If yes, then this is rather odd.
>
>Oh yes, I wouldn't expect to be able to do that as myself.

Strange, are you running some kind of hardened environment where you restrict 
root as well?

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Peter Humphrey
On Monday, 31 December 2018 22:21:20 GMT J. Roeleveld wrote:

> Strange, are you running some kind of hardened environment where you
> restrict root as well?

Nope. Nothing non-standard at all.

-- 
Regards,
Peter.






Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Peter Humphrey
On Monday, 31 December 2018 19:01:16 GMT Jack wrote:

> Couldn't you just dd it to a USB drive (without needing to mount the
> iso first) and then mount the drive?

I did do that, then tried to boot the USB drive. It wouldn't boot.

-- 
Regards,
Peter.






Re: [gentoo-user] SystemRescueCD with nonm

2018-12-31 Thread Jack

On 2018.12.31 21:20, Peter Humphrey wrote:

On Monday, 31 December 2018 19:01:16 GMT Jack wrote:

> Couldn't you just dd it to a USB drive (without needing to mount the
> iso first) and then mount the drive?

I did do that, then tried to boot the USB drive. It wouldn't boot.

Why didn't it boot?  Sorry if you said, and I missed it.

My thought is that after copying/dd'ing to the usb drive, mount the  
drive, and play with the grub config file, or whatever, to deal with  
whatever stops it from booting.  You could blacklist modules, or add  
boot parameters, or .   Of course, if you don't know what's  
actually causing the problem, it's harder to avoid.


Maybe you'll figure it out in a New Year's miracle!

Jack


[gentoo-user] Firefox, downloading files and odd behavior.

2018-12-31 Thread Dale
Howdy,

With the newer Firefox versions, I've noticed something weird about
downloading files.  Usually these are videos using a download helper for
videos and sometimes it is a normal file download, depends on the site. 
Either way, I get something odd at times.  So far, I've yet to see any
rhyme or reason to it.  I can't figure out what triggers it.  This is
what it does.  I start a download, either using a video helper add on or
downloading as a file.  I give it a name and location and it shows in
the download window that it is downloading.  However, if I go to the
directory where it should be, sometimes nothing shows up.  It will
complete the download and then show that it failed after finishing the
download.  However, if I notice that it is not in the directory where it
should be and I go back to the download window, hit pause and then
resume, it starts over from the beginning and then shows up in the
directory where it should be.  Most of the time, it shows up that it is
downloading and it is where it should be without be doing anything
further but sometimes, it doesn't. 

One other thing that it does on rare occasions.  It will show it is
downloading for a good while, sometimes more than half way, then
disappear in the directory as if it is deleted but still show that it is
downloading in the download window.  I've only seen it do that a few
times but it is annoying to look and make sure it is downloading a file
that takes a hour or more only to have it disappear part way through.

This started with the new multi-process versions or whatever it is
called of Firefox.  It acts like a permissions problem or something to
me.  It either thinks it doesn't have write permissions at the start or
thinks it loses them part way through or something.  If it only did this
when using the add on, I'd think it is that but it also does it when I'm
downloading as a file with no add on being used.  Either way, I'm not
sure what to look into really.  I'm not even sure what to google for to
see if anyone else is noticing this.  What does one call this problem??? 

Some info to follow.



[ebuild   R   ~] www-client/firefox-64.0::gentoo  USE="dbus
gmp-autoupdate screenshot startup-notification system-harfbuzz
system-jpeg system-libevent system-libvpx system-sqlite -bindist -clang
-custom-cflags -custom-optimization -debug -eme-free -geckodriver
-hardened -hwaccel -jack -lto (-neon) -pulseaudio (-selinux) -system-icu
-test -wifi" L10N="-ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br
-bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL
-es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi
-hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv
-mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru
-si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/Home2-Home2    8.1T  3.9T  4.2T  49% /home


As one can see, not a space problem, thanks to all the help on this list
and LVM for that.  ;-) 

Anyone else seeing this?  Anyone have any idea what could cause this? 
Bug?  Some nifty new feature that breaks things??  Some USE flag that
needs to be changed?  Any other ideas?

Thanks.

Dale

:-)  :-) 



[gentoo-user] Re: Firefox, downloading files and odd behavior.

2018-12-31 Thread Nikos Chantziaras

On 01/01/2019 06:45, Dale wrote:

[...]
[ebuild   R   ~] www-client/firefox-64.0::gentoo
For what it's worth, I never had that problem with the official Mozilla 
build of Firefox (www-client/firefox-bin). Might be worth trying that 
instead. Don't forget to "quickpkg firefox" and back up your ~/.mozilla 
directory first.