Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Pascal Hambourg

Le 10/05/2019 à 16:24, An Liu a écrit :



The initrd.gz included in Debian installer ISO images cannot read files
from an ISO image, only from a plain drive or partition. This is why you
need an initrd.gz for hd-media. Note that there may also be restrictions
about the supported filesystem types containing the ISO image.

yes, that's why i ask this question.

The initrd.gz from iso can't locate iso file, but i can. how can let
the install process know where the iso file is.


IIRC and although it did not change with Buster, the initrd.gz in 
installation images does not include the loop module either. So it is 
not able be able to mount an ISO image.




[no subject]

2019-05-10 Thread Esteban L
Hello,

I have this weird situation, I can't figure out.

I can launch the Remote Desktop Viewer from the command line:

%vinagre

and it launches and is fully functional.

When I try to launch it from the "desktop icons" or the icons that are
present within gnome, i cannot. 

A little bar appear on the top of the menu bar, that it is working on
opening, then nothing, closes. No window ever makes it to my X-window.

When I watch my /var/log/syslog log, I can see this error.
May 11 00:59:39 debianWorkstation vinagre-file.desktop[3290]: Missing
argument for -F 

When I dig into my /home user, namely:
~/.gnome/apps/vinagre-file.desktop
I can find this line:
Exec=vinagre -F %U


So after all this digging, I can only conclude it is some type of gnome
error. Unfortunately, I don't know Gnome very well, since it has almost
always just worked as expected.

What does the %U variable mean? user? 

Any tips hints or otherwise would be greatly appreciated. =)



Re: Does anyone know where chkconfig went?

2019-05-10 Thread Gene Heskett
On Friday 10 May 2019 06:01:51 pm Brian wrote:

> On Fri 10 May 2019 at 17:32:05 -0400, Gene Heskett wrote:
> > On Friday 10 May 2019 11:41:25 am Brian wrote:
> > > On Fri 10 May 2019 at 11:28:41 -0400, Gene Heskett wrote:
> > > > Greetings all;
> > > >
> > > > This was an rcx.d thing that adjusted what ran in what
> > > > run-level.
> > > >
> > > > I need to shut off all the nut stuff. Because this rt kernal
> > > > didn't bring usbhid-ups to the party, needed to talk to my ups,
> > > > my logs are being spammed by non-connection msgs. Several a
> > > > minute. Maybe its been renamed between wheezy and stretch?  IDK.
> > >
> > > chkconfig has a package page. Developer Information is on that
> > > page.
> > >
> > > --
> > > Brian.
> >
> > I don't find it in a synaptic list, I looked there a couple times
> > before I posted.
> >
> > Where do I get it from?
>
> Just a moment, please. I have to load my spoonfeeding module. :)
>
;-)

> You want
>
> https://packages.debian.org/jessie/chkconfig

But thats not in stretch, and I wasn't aware until below, that it was 
deprecated. I only have one jessie install, and its on a pi. Works fine 
and have never needed chkconfig on it.
>
> and will also be interested in
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833672

That says its bug-ridden but offers no proof or description of the bug. 
IMO folks who make those claims should quote a bit of context.
These links don't get to that detail.

Thank you, Brian.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread Jonas Smedegaard
Quoting Erik Josefsson (2019-05-11 00:51:38)
> My original problem was that I could not figure out how to get both 
> Swedish and pipe "|" at all (which Jonas duly noted by removing "¦" 
> from the original subject line).

I edited the subject line in my posts unrelated to the content of the 
thread: Since recently emails sent by my "alot" which is my main Mail 
User Agent (MUA) gets rejected by Debian servers if header fields 
contain non-ASCII characters.

If someone happen to know the "alot" MUA and can tell the tweaking 
needed to its configuration then great, but I don't have the time for 
broader suggestions requiring me to debug on my own, so I simply try 
avoid non-ASCII characters in header fields :-/


> Den 2019-05-10 kl. 18:21, skrev David Wright:
> > For example, I append lines to /etc/console-setup/remap.inc to do 
> > things like enhancing the navigation keys, and preventing Alt-space 
> > from producing NO-BREAK SPACE (because it's too easy to catch the 
> > Alt by mistake). Little things like that.
> > And in fvwm I have keys for audio control, taking screen shots, 
> > capturing the screen as a movie, rotating the monitor with xrandr, 
> > etc.

@David, if you care to share your personal tweaks then I am interested 
in having a closer look, for inspiration and possibly for more general 
use.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Tinker team (Was: Is it possible to install Debian in such a case.)

2019-05-10 Thread Jonas Smedegaard
Quoting to...@tuxteam.de (2019-05-10 12:01:33)
> On Fri, May 10, 2019 at 11:45:06AM +0200, Jonas Smedegaard wrote:
> 
> [...]
> 
> > It sounds like perhaps you would be interested in joining the Tinker 
> > team: https://wiki.debian.org/DebianTinker
> 
> Sorry to irrupt from the side, but... why didn't I know of that? 
> Thanks for the link, and for keeping up the "team" :-)

Because I am bad at promoting my projects :-/

The Tinker project was born during a journey through India by my partner 
and I: https://couchdesign.dk/india/

We were meeting Linux hackers all over India with a special interest in 
learning about desktop and distribution customizations - what was 
adapted and why. In Kerala we met Cherry, a NetBSD developer and 
electronics hacker who contrary to most others we met had little 
interest in specific looks and behaviour of a graphical desktop but 
instead asked into the options and quality of tinker tools available in 
Debian.

I am no expert on electronics hacking myself, but want to help support 
different customization needs, so I formed the tinker project and 
drafted what I imagine could attract tinkeres - people wanting a system 
for tinkering with other systems or with the main system itself.

DebianTinker uses Boxer, a tool I am developing to help do Debian Pure 
(and dirty) Blends: Track package relationships and tweaks, more 
streamlined than doing it by hand but more flexible than making and 
using metapackages.

Boxer is used to develop these Debian Blends:

  * DebianParl - a system for individual parlamentarians,
deployed as a pilot project in the European Parliament
https://wiki.debian.org/DebianParl
  * DebianDesign - a system for various kinds of visual designers
https://Design
  * DebianTinker - a system for hardware and software tinkeres
https://wiki.debian.org/DebianTinker
  * SolidBox - a system for non-technical use of semantic web service
https://solidbox.org/


Thanks for the interest. :-)

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread Erik Josefsson

Den 2019-05-10 kl. 18:21, skrev David Wright:

On Fri 10 May 2019 at 15:45:34 (+0200), Erik Josefsson wrote:



https://www.iso.org/standard/57852.html

If it was compliant, then I guess that would make an informed choice
of "Keyboard model" easier than it is now.





The only rule I know is that claiming compliance with standards can
cost serious money.



Thanks for that insight and explanation!



And there's my major hick-up: 7 keys would be plenty if the output
would suffice to consist of about 100 different signals since 2^7=128
(to later map on characters, numbers and whatnot). 8 keys would be
excessive. I do understand the historical reasons for 105 keys (or
80), but how they relate to what really matters (the digital output)
is a mystery.

I don't think that these shifty keys are treated in such a logical
manner. I've always assumed that there's a keyboard controller chip
that's stamping "personality" on the keys, particularly Fn.



Indeed there is a keyboard controller chip that "takes care of all 
keyboard matrix scanning, key de-bouncing and communications with the 
computer, and has an internal buffer if the keystroke data cannot be 
sent immediately. The PC motherboard decodes the data received from the 
keyboard via the PS/2 port using interrupt IRQ1".


More from same source: "If, for example, you press 'shift' and 'A' then 
both keys will generate their own scan codes, the 'A' scan code value is 
not changed if a shift or control key is also pressed. Pressing the 
letter 'A' generates 'lC'h make code and when released the break code is 
'F0'h, 'lC'h.

Pressing 'shift' and 'A' keys will generate the following scan codes:
The make code for the 'shift' key is sent '12'h.
The make code for the 'A' key is sent 'lC'h.
The break code for the 'A' key is sent 'F0'h, 'lC'h.
The break code for the 'shift' key is sent 'F0'h,' 12'h.
If the right shift was pressed then the make code is '59'h and break 
code is 'F0'h, '59'h.
By analysing these scan codes the PC software can determine which key 
was pressed. By looking at the shift keystroke the software can 
distinguish between upper and lower case."


source: 
https://www.isy.liu.se/edu/kurs/TSTE12/laboration/TSTE12_Lab1_170824.pdf


Thanks for the hints leading me to that page.



It cannot really be physicality of the "Keyboard models", nor the
(brand) names of the them, but rather the digital output that is
defining whether one "Keyboard model" is different from the other. Or
am I completely wrong here?

If I am not wrong, the next question is if there are really 193
different keyboard models in that sense?

I mean, with the same keyboard layout (e.g. Finnish), how many of the
193 would give the exact same result on screen with one particular
keyboard (e.g. the Teres laptop)?

I guess more than two (which I now know is the case).

My own take: to be on that list, someone maintaining X has to obtain a
model of that keyboard to map out all the keys. By the time that's
been done, time has past and you likely will find that that model is
history as far as shopping is concerned. Unlike with kernel
development, there's not the pressure to keep up with new models as
they come out. Pruning the list of its older models is not a
priority either.



Unfortunately that makes perfect sense.





I guess that with only 80 keys on your keyboard, many of the
differences between these different models are dealing with keys you
simply don't have. I can use pc105 for all my laptop, however many
keys they have.

As far as I can see, the "source code" to Teres' keyboard does not say
anything about that, but the Schematics file lists 25 different keys
(KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro
controller ATMEGA16U4-AU.

https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD/Rev.A/TERES-PCB5-KEYBOARD_Rev.A.sch

I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside" are
connected to the 40 physical keys on the "outside". Actually with 23
electronic keys to combine, it would be enough with an unique output
per electronic key plus ,  and + to get 92
different combinations. That should be enough, no?

Enough for what? I'm not sure what you mean. But as far as your use of
the keyboard is concerned, the keypresses have been through the
microprocessor, the kernel, and perhaps the xorg driver, so you're
not going to see any one-to-one mapping.



Sorry for writing out loud, I'm not sure what I was thinking. But 
anyway, it should be possible to write a program that listens to 
keypresses and asks you to press different keys like the "left-of-z key" 
and then suggest to you which "Keyboard model" you actually have, 
regardless which "Keyboard model" you have chosen with dpkg-reconfigure. 
Then no pruning of the list would be necessary.


(I mean something like "people who have ¦ left of Z often also have Å to 
the right of P", maybe you'd like a 105 Intl. model?", it doesn't have 
to be exactly right)






What's more

Re: Does anyone know where chkconfig went?

2019-05-10 Thread Brian
On Fri 10 May 2019 at 17:32:05 -0400, Gene Heskett wrote:

> On Friday 10 May 2019 11:41:25 am Brian wrote:
> 
> > On Fri 10 May 2019 at 11:28:41 -0400, Gene Heskett wrote:
> > > Greetings all;
> > >
> > > This was an rcx.d thing that adjusted what ran in what run-level.
> > >
> > > I need to shut off all the nut stuff. Because this rt kernal didn't
> > > bring usbhid-ups to the party, needed to talk to my ups, my logs are
> > > being spammed by non-connection msgs. Several a minute. Maybe its
> > > been renamed between wheezy and stretch?  IDK.
> >
> > chkconfig has a package page. Developer Information is on that page.
> >
> > --
> > Brian.
> 
> I don't find it in a synaptic list, I looked there a couple times before 
> I posted.
> 
> Where do I get it from?

Just a moment, please. I have to load my spoonfeeding module. :)

You want

https://packages.debian.org/jessie/chkconfig

and will also be interested in

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833672

-- 
Brian.



Re: Does anyone know where chkconfig went?

2019-05-10 Thread Gene Heskett
On Friday 10 May 2019 11:41:25 am Brian wrote:

> On Fri 10 May 2019 at 11:28:41 -0400, Gene Heskett wrote:
> > Greetings all;
> >
> > This was an rcx.d thing that adjusted what ran in what run-level.
> >
> > I need to shut off all the nut stuff. Because this rt kernal didn't
> > bring usbhid-ups to the party, needed to talk to my ups, my logs are
> > being spammed by non-connection msgs. Several a minute. Maybe its
> > been renamed between wheezy and stretch?  IDK.
>
> chkconfig has a package page. Developer Information is on that page.
>
> --
> Brian.

I don't find it in a synaptic list, I looked there a couple times before 
I posted.

Where do I get it from?

Thanks Brian.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Does anyone know where chkconfig went?

2019-05-10 Thread Gene Heskett
On Friday 10 May 2019 11:41:00 am An Liu wrote:

> Hi, Gene,
>
> Maybe systemd is what you are after
> https://wiki.debian.org/systemd
>
>
> Hope it help.

It might be a usefull tut if I can wade through the politics.

Thank you.


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Felix Miata
David Wright composed on 2019-05-10 13:32 (UTC-0500):

> On Fri 10 May 2019 at 12:06:05 (-0400), Felix Miata wrote:

>> what I virtually always do, install from network, beginning with fetching
>> 
>> and
>> 
>> and placing them where Grub can find and load them.

> So I'm looking for the page that has those instructions. Do you know
> where it is? 

It's not all on https://wiki.debian.org/Grub which only has the standard Grub2
boilerplate, to get from A to B one must first divert to C and then D. :-p There
is a small piece of it hidden in its first FAQ (/etc/grub.d/40_custom).

> It would list the requirements, what to put where, and where in the
> d-i process you arrive after booting.
> (d-i ≡ debian-installer, for the OP.) 
>  

Try putting this in custom.cfg in a bootable stick directory containing 
grub.cfg:

menuentry "Install Debian via HTTP" {
search --no-floppy --label --set=root 
linux   /boot/linux
initrd  /boot/initrd.gz
}

Once that's done, the stick booted, and the selection made, the d-i app takes 
over
by asking the exact same questions as if having booted from the NET iso.

No USB stick (or OM, or PXE) is needed for linux and initrd.gz if the target
system already has a loadable Grub (any bootloader really, syslinux, rEFInd,
others) installed anywhere, which is the standard installation method in my 
routine.

Of course, this much detail shouldn't be needed by those who have more than a
passing familiarity with using Grub. When I see "we" instead of "I" in an OP, as
for this thread, I assume "we" means more than one person, a group, which ought 
to
possess more than a passing familiarity using Grub, hence my keeping my reply 
short.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Usefulness of adding APT::Default-Release

2019-05-10 Thread Sven Joachim
On 2019-05-10 13:45 -0500, David Wright wrote:

> On Fri 10 May 2019 at 20:14:20 (+0200), Sven Joachim wrote:
>> On 2019-05-08 13:14 -0500, David Wright wrote:
>> 
>> > I'm trying to ascertain what APT::Default-Release can do for me,
>> > and what it constrains. In the output that follows, why does
>> > APT::Default-Release prevent firefox from being upgraded?
>> 
>> Because stretch-updates ≢ stretch, see bug #173215[1] (with
>> -proposed-updates rather than -updates).
>
> Thanks for the reply. (I had just pointed out elsewhere that no answer
> had been forthcoming, so you've made a liar of me!)
>
> Perhaps a note to that effect might have been added to man apt.conf
> which was written (or revised) 14 years after the bug surfaced.
>
> Does this mean APT::Default-Release is a security risk,

Not really, but if you don't have entries for newer releases in your
sources.list, then APT::Default-Release is unnecessary.  Personally I
find it clearer to use explicit pinning in apt-preferences.

> or is
> the behaviour of stretch/updates different from that of
> stretch-updates because of the slash? (I don't find the deb lines
> in sources.list easy to parse as a human.)

It's because the Codename (and Release) fields are different:
stable/updates on the security mirror uses "Codename: stretch" while
stable-updates uses "Codename: stretch-updates".  Yes, this is
confusing.

Cheers,
   Sven



Re: Usefulness of adding APT::Default-Release

2019-05-10 Thread David Wright
On Fri 10 May 2019 at 20:14:20 (+0200), Sven Joachim wrote:
> On 2019-05-08 13:14 -0500, David Wright wrote:
> 
> > I'm trying to ascertain what APT::Default-Release can do for me,
> > and what it constrains. In the output that follows, why does
> > APT::Default-Release prevent firefox from being upgraded?
> 
> Because stretch-updates ≢ stretch, see bug #173215[1] (with
> -proposed-updates rather than -updates).

Thanks for the reply. (I had just pointed out elsewhere that no answer
had been forthcoming, so you've made a liar of me!)

Perhaps a note to that effect might have been added to man apt.conf
which was written (or revised) 14 years after the bug surfaced.

Does this mean APT::Default-Release is a security risk, or is
the behaviour of stretch/updates different from that of
stretch-updates because of the slash? (I don't find the deb lines
in sources.list easy to parse as a human.)

> > I comment out the APT::Default-Release line and repeat after the
> > ##. The necessary packages are in apt-cacher-ng's cache
> > all the time.
> >
> > # cat /etc/apt/apt.conf
> > # Fetch updates through apt-cacher-ng.
> > Acquire::http::Proxy "http://192.168.1.17:3142/";;
> > APT::Default-Release "stretch";
> > # 
> >
> > # apt-cache policy firefox-esr
> > firefox-esr:
> >   Installed: 60.6.1esr-1~deb9u1
> >   Candidate: 60.6.1esr-1~deb9u1
> >   Version table:
> >  60.6.2esr-1~deb9u1 500
> > 500 http://ftp.us.debian.org/debian stretch-updates/main amd64 
> > Packages
> >  *** 60.6.1esr-1~deb9u1 990
> > 990 http://ftp.us.debian.org/debian stretch/main amd64 Packages
> > 990 http://security.debian.org/debian-security stretch/updates/main 
> > amd64 Packages
> > 100 /var/lib/dpkg/status
> 
> 
> You can work around that via preferences, e.g.
> 
> Package: *
> Pin: release n=stretch-updates
> Pin-Priority: 990
> 
> to give each package in stretch-updates the same priority as you get for
> stretch via APT::Default-Release.  See apt_preferences(5).

I'll try that out; this new FF release is a useful test case. Thanks.

Cheers,
David.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread David Wright
On Fri 10 May 2019 at 12:06:05 (-0400), Felix Miata wrote:
> Brian composed on 2019-05-10 16:32 (UTC+0100):
> 
> > On Fri 10 May 2019 at 08:49:25 -0500, David Wright wrote:
> 
> >> What worries me about this thread is that the OP (who doesn't seem to
> >> know how the various parts of the d-i are meant to work together) has
> >> just last week posted a recipe claiming to install Debian using only
> >> vmlinuz and initrd¹, ..
> 
> > That's a claim which can be sustantiated. 
> 
> Sounds like

"Sounds like" doesn't cut it. Sorry.

> what I virtually always do, install from network, beginning with fetching
> 
> and
> 
> and placing them where Grub can find and load them.

So I'm looking for the page that has those instructions. Do you know
where it is?

It would list the requirements, what to put where, and where in the
d-i process you arrive after booting.
(d-i ≡ debian-installer, for the OP.)

> Nothing gets downloaded that
> isn't needed. No need for any iso file.

OK. The OP appears to disagree.

https://lists.debian.org/debian-user/2019/05/msg00518.html

This is why "sounds like" doesn't cut it. I (and other people coming
to the Debian web pages and wikis) don't want to be led up the garden
path by instructions in random postings expressed in unclear language
(that's not a criticism; I'm sure I have not a word of the OP's
native language.)

Cheers,
David.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread David Wright
On Fri 10 May 2019 at 16:28:09 (+0100), Brian wrote:
> On Fri 10 May 2019 at 11:04:47 -0400, Greg Wooledge wrote:
> 
> > On Fri, May 10, 2019 at 08:57:20AM -0600, An Liu wrote:
> > > As all knows,  redhat 8 was announced available serveral days ago, and
> > > i got the DVD iso, and i want to have a try
> > 
> > > We have a solution for debian, as mentioned, use hd-media (vmlinuz,
> > > initrd.gz with iso-scan)   in step 2 , so it's not a really a problem
> > > 
> > > But this should have share the  common ground in installation, isn't?
> > > 
> > > That's why i post my question here.
> > 
> > This makes no sense.  If you want to learn how to install Red Hat, you
> > should ask a Red Hat mailing list, not a Debian mailing list.
> 
> We had the dubious pleasure of being invited to assist with a Windows
> setup a few days ago:
> 
> https://lists.debian.org/debian-user/2019/05/msg00377.html
> 
> Not a squeak of protest from anyone. The poster was "well pleased" with
> the help given.

I was pissed off, but I bit my tongue. And you can't get a question
about apt answered here:

https://lists.debian.org/debian-user/2019/05/msg00418.html

> > We don't know how to install Red Hat.
> 
> I am not sure An Liu is asking for help with installing Red Hat. 

I understand that. But, because of the earlier post that I mentioned before,
https://lists.debian.org/debian-user/2019/05/msg00032.html
and the thread where you commented on an overlooked paragraph in
https://wiki.debian.org/DebianInstaller/FAQ#Q:_How_can_I_install_sid_.28unstable.29_with_DebianInstaller.3F
I took a look at this page to see if the two ideas were related.
That led me nowhere, but further up this page I did see:

Q: How to install with boot floppies + netinst.iso mounted as a loop
device in the ramdisk from a ext2 partition?

A: You can boot the installer directly from a hard disk using LILO or
GRUB, and the *hd-media initrd* will find your netinst.iso. See the
DebianInstall for details.

which takes you up to the DebianInstall page itself. If there were
any details here about that Q&A, they seem to have gone. The closest
approach to an answer would be Debootstrap, but that has nothing to
do with the netinst.iso.

But it does seem that a recipe to do what's promised by the Q&A
would answer this thread's OP: "Install Debian from Grub+ISO".
I think Greg's reference is the closest approach, but again it
involves debootstrap rather than the d-i. The Q&A implies that
you can jump from Grub into the netinst.iso. The least obvious
part is the *hd-media initrd* referred to above. What and where?

My interest in this stems from a Laptop on which you are blind until
the kernel loads (ie text pours down the screen). No boot selection
menu, no CMOS screens, no Grub screens.

Cheers,
David.



Re: Usefulness of adding APT::Default-Release

2019-05-10 Thread Sven Joachim
On 2019-05-08 13:14 -0500, David Wright wrote:

> I'm trying to ascertain what APT::Default-Release can do for me,
> and what it constrains. In the output that follows, why does
> APT::Default-Release prevent firefox from being upgraded?

Because stretch-updates ≢ stretch, see bug #173215[1] (with
-proposed-updates rather than -updates).

> I comment out the APT::Default-Release line and repeat after the
> ##. The necessary packages are in apt-cacher-ng's cache
> all the time.
>
> # cat /etc/apt/apt.conf
> # Fetch updates through apt-cacher-ng.
> Acquire::http::Proxy "http://192.168.1.17:3142/";;
> APT::Default-Release "stretch";
> # 
>
> # apt-cache policy firefox-esr
> firefox-esr:
>   Installed: 60.6.1esr-1~deb9u1
>   Candidate: 60.6.1esr-1~deb9u1
>   Version table:
>  60.6.2esr-1~deb9u1 500
> 500 http://ftp.us.debian.org/debian stretch-updates/main amd64 
> Packages
>  *** 60.6.1esr-1~deb9u1 990
> 990 http://ftp.us.debian.org/debian stretch/main amd64 Packages
> 990 http://security.debian.org/debian-security stretch/updates/main 
> amd64 Packages
> 100 /var/lib/dpkg/status


You can work around that via preferences, e.g.

Package: *
Pin: release n=stretch-updates
Pin-Priority: 990

to give each package in stretch-updates the same priority as you get for
stretch via APT::Default-Release.  See apt_preferences(5).

Cheers,
   Sven


1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173215



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Brian
On Fri 10 May 2019 at 09:55:06 -0600, An Liu wrote:

> appreciate your opinion, more than technical point of view

:)

-- 
Brian.



Assine a Banda Larga mais Rápida

2019-05-10 Thread NET Combo Multi

Caso não consiga visualizar, acesse aqui
NET ASSINE NET
0800 205 1154

Tenha wi-fi
com muito mais alcance
compre
120 mega
leva 
240 mega

por apenas r$ 99,00 oir 6 meses


LIGUE GRÁTIS 0800 205 1154
FALE COM NOSSOS CONSULTORES. TEMOS UMA PROMOÇÃO EXCLUSIVA PARA VOCÊ!
MULTITELE
NET

*COMPRE 120 MEGA E LEVE 240 MEGA POR R$ 99,00 DURANTE 6 MESES, APÓS O
PERÍODO PROMOCIONAL A VELOCIDADE VOLTA PARA 120 MEGA.


Para visualizá-lo on-line, por favor, clique aqui:
http://www.promocoesnetcombo.com.br/emkt/disparador/display.php?M=64602&C=b6ef24b6cf60a84fd683ac4b0147619e&S=105&L=1&N=57
Para parar de receber nossos
e-mails:http://www.promocoesnetcombo.com.br/emkt/disparador/unsubscribe.php?M=64602&C=b6ef24b6cf60a84fd683ac4b0147619e&L=1&N=105


Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread David Wright
On Fri 10 May 2019 at 15:45:34 (+0200), Erik Josefsson wrote:
> Thanks for helping me sort out my thoughts!

OK, but I don't claim any expertise here.

> Den 2019-05-06 kl. 22:42, skrev David Wright:
> > [Disclaimer: I'm not familiar with the Teres keyboard beyond looking at
> > https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/
> > (assuming this is it), and I've no idea of what keys your USB keyboard
> > has, nor knowledge of Swedish keyboard conventions.]
> 
> Yes, that's the Teres keyboard.
> 
> The wikipedia picture ofISO/IEC 9995-3:2002 applied to the US keyboard
> layout has 3 keys to the left and 4 keys to the right of the spacebar.
> Teres has 4 keys to the left and 3 keys to the right, otherwise they
> look the same (also the print on the keys):
> 
> https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg

No surprises there, then. I've never seen R-Win on any keyboards that
aren't full size, nor a laptop without a Fn key, usually on the left.

> This similarity makes me wonder why I cannot find any information from
> Olimex (or elsewhere) whether the Teres keyboard is fully compliant
> with the ISO standard that seems to be the one at hand (and which also
> seems current):
> 
> https://www.iso.org/standard/57852.html
> 
> If it was compliant, then I guess that would make an informed choice
> of "Keyboard model" easier than it is now.
> 
> I also guess that compliance would not only mean that the number of
> keys, their relative positions and the print on the keycaps would be
> defined, but also, and more importantly, that the digital output would
> follow certain rules.

The only rule I know is that claiming compliance with standards can
cost serious money.

> And there's my major hick-up: 7 keys would be plenty if the output
> would suffice to consist of about 100 different signals since 2^7=128
> (to later map on characters, numbers and whatnot). 8 keys would be
> excessive. I do understand the historical reasons for 105 keys (or
> 80), but how they relate to what really matters (the digital output)
> is a mystery.

I don't think that these shifty keys are treated in such a logical
manner. I've always assumed that there's a keyboard controller chip
that's stamping "personality" on the keys, particularly Fn.

> It cannot really be physicality of the "Keyboard models", nor the
> (brand) names of the them, but rather the digital output that is
> defining whether one "Keyboard model" is different from the other. Or
> am I completely wrong here?
> 
> If I am not wrong, the next question is if there are really 193
> different keyboard models in that sense?
> 
> I mean, with the same keyboard layout (e.g. Finnish), how many of the
> 193 would give the exact same result on screen with one particular
> keyboard (e.g. the Teres laptop)?
> 
> I guess more than two (which I now know is the case).

My own take: to be on that list, someone maintaining X has to obtain a
model of that keyboard to map out all the keys. By the time that's
been done, time has past and you likely will find that that model is
history as far as shopping is concerned. Unlike with kernel
development, there's not the pressure to keep up with new models as
they come out. Pruning the list of its older models is not a
priority either.

> > I guess that with only 80 keys on your keyboard, many of the
> > differences between these different models are dealing with keys you
> > simply don't have. I can use pc105 for all my laptop, however many
> > keys they have.
> 
> As far as I can see, the "source code" to Teres' keyboard does not say
> anything about that, but the Schematics file lists 25 different keys
> (KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro
> controller ATMEGA16U4-AU.
> 
> https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD/Rev.A/TERES-PCB5-KEYBOARD_Rev.A.sch
> 
> I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside" are
> connected to the 40 physical keys on the "outside". Actually with 23
> electronic keys to combine, it would be enough with an unique output
> per electronic key plus ,  and + to get 92
> different combinations. That should be enough, no?

Enough for what? I'm not sure what you mean. But as far as your use of
the keyboard is concerned, the keypresses have been through the
microprocessor, the kernel, and perhaps the xorg driver, so you're
not going to see any one-to-one mapping.

> > What's more important is the layout: for example a British layout
> > puts \| left of z, whereas a US one will make that key <> and the
> > \| will be 3 keys right of p. In response to that, and deleting
> > £, many of the other punctuation characters get shuffled around.
> > 
> > The "key that's missing" usually refers to that left-of-z key,
> > (i) because the fact that it's the only punctuation character
> > thereabouts makes it rather obvious that it's missing, (ii) small
> > US keyboards don't have it whereas British (and 

Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Felix Miata
Brian composed on 2019-05-10 16:32 (UTC+0100):

> On Fri 10 May 2019 at 08:49:25 -0500, David Wright wrote:

>> What worries me about this thread is that the OP (who doesn't seem to
>> know how the various parts of the d-i are meant to work together) has
>> just last week posted a recipe claiming to install Debian using only
>> vmlinuz and initrd¹, ..

> That's a claim which can be sustantiated. 

Sounds like what I virtually always do, install from network, beginning with 
fetching

and

and placing them where Grub can find and load them. Nothing gets downloaded that
isn't needed. No need for any iso file.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Archiving content of a directory on a DVD-R.

2019-05-10 Thread Thomas Schmitt
Hi,

pe...@easthope.ca wrote:
> xorriso : UPDATE : Writing: 115440s   29.7%   fifo 100%  buf 100% 6.0xD
> libburn : FATAL : SCSI error on write(117872,16): [5 21 02] Illegal request.
> Invalid address for write.

That's new to me. I wonder how this could happen.

A DVD-R has to be written strictly sequentially, beginning at its
Next Writable Address as told by the drive. The SCSI WRITE commands
which are issued by libburn are supposed to bear the appropriate target
block address. After each WRITE command the address gets incremented by
the number of blocks which were written.
The code which does this is quite hard to fool.

In principle there are several possible reasons:
- libburn did not increment its WRITE address properly.
- a WRITE command was repeated by libburn or by the kernel.
- a WRITE command was dropped by the kernel.
- the drive's firmware had a hick-up.

Currently i have few ideas how to diagnose this. There is a debug message
in the Linux-specific code of libburn, which might have told more iabout
repetitions if the run had been made with debug verbosity:

  xorriso -report_about debug ...other.commands...

But that's quite verbous in many other aspects, too.
I will have to increase the severity of the non-fatal SG_IO driver events.

A repetition would not be noticed on overwritable media. I mostly use
BD-RE and DVD+RW media, which belong to that class. But once per day i
write a BD-R and about every week a CD-RW. Since years.


> libburn : FAILURE : Failed to close session (2). SCSI error : [5 72 03]
> Illegal request. Session fixation error, incomplete track in session.

... and i will have to review the bail-out procedure for failed write
operations. There seems to be missing a close-track operation.

Error handling of rarely occuring problems tends to be buggy by itself.


Have a nice day :)

Thomas



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
appreciate your opinion, more than technical point of view
--
Liu An



Re: Does anyone know where chkconfig went?

2019-05-10 Thread Brian
On Fri 10 May 2019 at 11:28:41 -0400, Gene Heskett wrote:

> Greetings all;
> 
> This was an rcx.d thing that adjusted what ran in what run-level.
> 
> I need to shut off all the nut stuff. Because this rt kernal didn't bring 
> usbhid-ups to the party, needed to talk to my ups, my logs are being 
> spammed by non-connection msgs. Several a minute. Maybe its been renamed 
> between wheezy and stretch?  IDK.

chkconfig has a package page. Developer Information is on that page.

--
Brian.



Re: Does anyone know where chkconfig went?

2019-05-10 Thread An Liu
Hi, Gene,

Maybe systemd is what you are after
https://wiki.debian.org/systemd


Hope it help.

On Fri, May 10, 2019 at 9:29 AM Gene Heskett  wrote:
>
> Greetings all;
>
> This was an rcx.d thing that adjusted what ran in what run-level.
>
> I need to shut off all the nut stuff. Because this rt kernal didn't bring
> usbhid-ups to the party, needed to talk to my ups, my logs are being
> spammed by non-connection msgs. Several a minute. Maybe its been renamed
> between wheezy and stretch?  IDK.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>


-- 
Liu An



Re: config question re ff history etc

2019-05-10 Thread Gene Heskett
On Friday 10 May 2019 03:45:49 am Curt wrote:

> On 2019-05-09, Gene Heskett  wrote:
> > On Thursday 09 May 2019 12:51:24 pm Curt wrote:
> >> On 2019-05-09, Gene Heskett  wrote:
> >> > Greetings all;
> >> >
> >> > I have a need to transfer all the prefs -"saved logins" from a
> >> > wheezy install to a stretch install, separate drives.  And
> >> > obviously the stretch firefox is about 20 versions newer. What
> >> > file do I copy from the wheezy drive to the stretch drive so my
> >> > bank knows its me?
> >>
> >> I believe you need the following *two* files:
> >>
> >>  key4.db
> >>  logins.json
> >>
> >> > Cheers, Gene Heskett
> >
> > Couldn't find it, so I ran updateb with the old drive mounted.
>
> The info was gleefully plagiarized and happily lifted (which means the
> same thing, I think) from here:
>
> https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-use
>r-data
>
> A post concerning the eternal old to new version conundrum:
>
> https://support.mozilla.org/en-US/questions/1210910
>
>
>  If you have new passwords in your profile, this will not work.
>
>  In the new profile, remove the password files;
>  key3.db [v58+] key4.db and  logins.json : These are the Password
> files.
>
>  Now Copy those same files from the old profile.
>  This must be done with Firefox Closed.
>
> > key4.db shows up in several places, but it looks like the one I
> > might want is one of these two:
> >
> > this one as its the biggest by quite a bit
> > /home/gene/.mozilla/firefox/73t2g4uq.default/key4.db except its on
> > this drive? But copying it over from the old drive didn't seem to do
> > a thing, and neither did copying logins.json. Firefox  has changed a
> > lot since wheezy.
> >
> > So I guess I'll have to shutdown, swap cables to make sdb into sda ,
> > boot wheezy and see if I can con it into printing all that stuff,  I
> > need my bookmarks-toolbar to make it complete too.  Sigh. Tomorrows
> > project, its about time to go scare a couple pork chops to death
> > with a hot skillet.
> >
> > Thanks.
>
> Maybe this python script could be of help eventually, if all else
> fails:
>
> https://github.com/unode/firefox_decrypt
>
> Of course, you must provide your master password (if you have
> one) and the *profile* from which to decrypt the logins.
>
> > Cheers, Gene Heskett

Again, printed for guidance when I get more pressing household stuff 
taken care of.

Thank you Curt.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
HI, Brian,
> I am not sure An Liu is asking for help with installing Red Hat.

No, because all problem settled.  Cheers.

Actually there is a 'LIVE OS' hidden in RHEL's DVD,  then followed by
switch-root  within a dracut image,
which differs from Debian's installation. I'll look into it if i can
go through with Debian install with busybox :)

Thank you


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Richard Owlett

On 05/10/2019 10:04 AM, An Liu wrote:

Multi-Boot allows Linux and *any other* OS to reside on the same medium.

sure,  and what's next? i have 5 OS on my PC,
The order of installation is not quite the problem, as i USE UEFI

I said i was just talking about install media, not install target.
Though I have a HD could work as install-media for
SLES/RHEL/CentOS/Windows7/Window10,
I still don't get you point.


I am beginning to suspect a language, not technology, issue.
The majority here are native English speakers.
See https://lists.debian.org/completeindex.html for other languages.








Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Brian
On Fri 10 May 2019 at 11:04:47 -0400, Greg Wooledge wrote:

> On Fri, May 10, 2019 at 08:57:20AM -0600, An Liu wrote:
> > As all knows,  redhat 8 was announced available serveral days ago, and
> > i got the DVD iso, and i want to have a try
> 
> > We have a solution for debian, as mentioned, use hd-media (vmlinuz,
> > initrd.gz with iso-scan)   in step 2 , so it's not a really a problem
> > 
> > But this should have share the  common ground in installation, isn't?
> > 
> > That's why i post my question here.
> 
> This makes no sense.  If you want to learn how to install Red Hat, you
> should ask a Red Hat mailing list, not a Debian mailing list.

We had the dubious pleasure of being invited to assist with a Windows
setup a few days ago:

https://lists.debian.org/debian-user/2019/05/msg00377.html

Not a squeak of protest from anyone. The poster was "well pleased" with
the help given.

> We don't know how to install Red Hat.

I am not sure An Liu is asking for help with installing Red Hat. 

-- 
Brian.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Brian
On Fri 10 May 2019 at 08:49:25 -0500, David Wright wrote:

> On Fri 10 May 2019 at 13:44:03 (+0200), to...@tuxteam.de wrote:
> > On Fri, May 10, 2019 at 06:31:22AM -0500, Richard Owlett wrote:
> > 
> > [...]
> > > That's one of a number of possible guesses of OP's intent.
> > 
> > Yep :-)
> > 
> > > I've asked questions others have thought vague though I thought were
> > > quite explicit. People read through lenses of their personal
> > > experience and assumptions.
> > >
> > > >>A. machine's hard-drive.
> > > >>B. a second USB drive. [be careful to place grub on correct drive]
> > > 
> > > That was cautionary, primarily to future newbies who might need an
> > > explicit statement of what is obvious to the experienced.
> > 
> > Yes. I understood it as "the OP wants to understand the boot (and the
> > corresponding installation) process".
> 
> What worries me about this thread is that the OP (who doesn't seem to
> know how the various parts of the d-i are meant to work together) has
> just last week posted a recipe claiming to install Debian using only
> vmlinuz and initrd¹, ..

That's a claim which can be sustantiated.

-- 
Brian.



Does anyone know where chkconfig went?

2019-05-10 Thread Gene Heskett
Greetings all;

This was an rcx.d thing that adjusted what ran in what run-level.

I need to shut off all the nut stuff. Because this rt kernal didn't bring 
usbhid-ups to the party, needed to talk to my ups, my logs are being 
spammed by non-connection msgs. Several a minute. Maybe its been renamed 
between wheezy and stretch?  IDK.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> This makes no sense.  If you want to learn how to install Red Hat, you
> should ask a Red Hat mailing list, not a Debian mailing list.
>

> We don't know how to install Red Hat.

Yes, That's why I don't ask how to do here but to figure it out, as
talking that is something of topic
I just wonder if Debian could do this way, and asking.

BTW, I don't want to make you sense, if you don't feel comfortable.

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> Multi-Boot allows Linux and *any other* OS to reside on the same medium.
sure,  and what's next? i have 5 OS on my PC,
The order of installation is not quite the problem, as i USE UEFI

I said i was just talking about install media, not install target.
Though I have a HD could work as install-media for
SLES/RHEL/CentOS/Windows7/Window10,
I still don't get you point.


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Greg Wooledge
On Fri, May 10, 2019 at 08:57:20AM -0600, An Liu wrote:
> As all knows,  redhat 8 was announced available serveral days ago, and
> i got the DVD iso, and i want to have a try

> We have a solution for debian, as mentioned, use hd-media (vmlinuz,
> initrd.gz with iso-scan)   in step 2 , so it's not a really a problem
> 
> But this should have share the  common ground in installation, isn't?
> 
> That's why i post my question here.

This makes no sense.  If you want to learn how to install Red Hat, you
should ask a Red Hat mailing list, not a Debian mailing list.

We don't know how to install Red Hat.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, All,

I'm very happy to see many people try to help, and want to describe
why i have such kind of questions

As all knows,  redhat 8 was announced available serveral days ago, and
i got the DVD iso, and i want to have a try
(for myself i use debian on my pc, but enterprise customs use RHEL/CentOS/SLES )

And i managed  to install it from harddisk

But i'm lazy
1. i don't want extract files from iso
2. i don't want to cp *.iso /dev/sdb  (dd )to destroy my data on USB
stick to make it as install media
3. I have grub
4. i have a spare partition on my PC (say /dev/sda9) to install it

Can we do that?
We have a solution for debian, as mentioned, use hd-media (vmlinuz,
initrd.gz with iso-scan)   in step 2 , so it's not a really a problem

But this should have share the  common ground in installation, isn't?

That's why i post my question here.

FYI

On Fri, May 10, 2019 at 2:48 AM An Liu  wrote:
>
> Hi, List
>
> Image the following case
>
> What I Have.
> a USB stick with
> 1.  a portable GRUB (either UEFI or legacy)
> 2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
> a LiveCD make life easier?)
>
> What we want.Have Debian installed (could assume that we could do
> whatever we could, such as re-partitation the whole harddisk)
>
>
> The Answer to this question is most probably yes, but how.
>
>
> The work around is to boot with  vmliunz and initrd.gz from
> http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
> the cost is very small as these two file size total is less than 20M
>
>
> I wonder if there is a way to finish install only in GRUB, without
> initrd involved
>
>
>
>
>
>
>
> --
> Liu An



-- 
Liu An



Re: Archiving content of a directory on a DVD-R.

2019-05-10 Thread peter
From: "Thomas Schmitt" 
Date: Wed, 06 Mar 2019 17:28:39 +0100
>   xorriso -for_backup -dev /dev/sr0 \
>   -update_r . / \ 
>   -commit \
>   -toc -check_md5 failure -- \ 
>   -eject all 
> 
> Now you can write to the DVD-R until it is full. Each run will produce a
> complete directory tree of the current state. 

Gave it a try this morning with this result.

  ...
xorriso : UPDATE : Writing: 103200s   26.6%   fifo 100%  buf 100%6.0xD
xorriso : UPDATE : Writing: 107280s   27.6%   fifo  96%  buf 100%6.0xD
xorriso : UPDATE : Writing: 111360s   28.7%   fifo  85%  buf 100%6.0xD
xorriso : UPDATE : Writing: 115440s   29.7%   fifo 100%  buf 100%6.0xD
libisofs: MISHAP : Image write cancelled
libburn : FATAL : SCSI error on write(117872,16): [5 21 02] Illegal request. Inv
alid address for write.
xorriso : FATAL : -abort_on 'FAILURE' encountered 'FATAL' during image writing
xorriso : NOTE : libburn has now been urged to cancel its operation
xorriso : UPDATE : Writing: 117888s   30.4%   fifo 100%  buf 100%3.6xD
xorriso : UPDATE : Writing: 117888s   30.4%   fifo 100%  buf 100%0.0xD
libburn : FAILURE : Failed to close session (2). SCSI error : [5 72 03] Illegal
request. Session fixation error, incomplete track in session.
xorriso : FAILURE : libburn indicates failure with writing.
xorriso : aborting : -abort_on 'FAILURE' encountered 'FATAL'

Until now I've never seen xorriso fail.  Invalid address?

Thanks,   ... Peter E.

-- 
Composed and transmitted by software designed to avoid the 
complication and vulnerability of antivirus software.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Richard Owlett

On 05/10/2019 09:34 AM, An Liu wrote:

Hi, Richard

Thank you for you information,


https://www.debian.org/releases/stable/amd64/ch03s05.html.en

Chapter title: Before Installing Debian GNU/Linux
Section Title: Pre-Partitioning for Multi-Boot Systems


Still doesn't get you point.


Multi-Boot allows Linux and *any other* OS to reside on the same medium.



What i mentioned is the USB stick which would turn
into install media. nothing relate to re-partition.



Read/browse, all of https://www.debian.org/releases/stable/amd64/ .




Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Richard

Thank you for you information,

> https://www.debian.org/releases/stable/amd64/ch03s05.html.en
>
> Chapter title: Before Installing Debian GNU/Linux
> Section Title: Pre-Partitioning for Multi-Boot Systems

Still doesn't get you point. What i mentioned is the USB stick which would turn
into install media. nothing relate to re-partition.

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Pascal,

> Downloading vmlinuz is not required. You can get it from the ISO image.
yes.

> > I wonder if there is a way to finish install only in GRUB, without
> > initrd involved

maybe more precisely, without initrd.gz from hd-media involved,  but
could use initrd.gz from the
ISO file we have.



> The initrd.gz included in Debian installer ISO images cannot read files
> from an ISO image, only from a plain drive or partition. This is why you
> need an initrd.gz for hd-media. Note that there may also be restrictions
> about the supported filesystem types containing the ISO image.
yes, that's why i ask this question.

The initrd.gz from iso can't locate iso file, but i can. how can let
the install process know
where the iso file is.

The initrd.gz from hd-media can locate iso file by iso-scan, but it
would scan all dev
over. it takes a while. it does works as automation work, but if i
could tell the iso file location,
why not?  (hd-media + iso is my preferred way to install debian,
though, i always have a bootable USB
along with me)



-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Richard Owlett

On 05/10/2019 09:10 AM, An Liu wrote:

What worries me about this thread is that the OP (who doesn't seem to
know how the various parts of the d-i are meant to work together) has


I don't know what's d-i mean (short for ?)


just last week posted a recipe claiming to install Debian using only
vmlinuz and initrd¹,

no, you need iso file as well.

and a method of copying a Windows installation
.iso image to a USB stick involving "rm"ing something, though never
specifying exactly what is removed.

if you use  cp debian.iso /dev/sdb, or dd,
the file on the USB stick would be erased. if you take my way, it just
mixed the orignal one
with the install media.

  I also have no idea what
"destroy kvm prepend nothing happens" means².


I'm sorry to have you worried.
To create a UEFI bootable windows install media is nothing related
with this post

If you don't buy a copy of Windows, you would probably need to destroy
the windows
installation, As soon as we finished create install media from
windows, you definitely
should delete your installation in the grace period.



https://www.debian.org/releases/stable/amd64/ch03s05.html.en

Chapter title: Before Installing Debian GNU/Linux
Section Title: Pre-Partitioning for Multi-Boot Systems






Re: Help tracking down a random beep

2019-05-10 Thread rhkramer
Just to provide an update -- the current status is that the beep is not 
occurring atm, but it has been just a little cooler.  If I get a chance, I'll 
take that machine down and clean out any dust and such, or, if the beeping 
resumes I'll try some of the ideas suggested here.

As an aside, the machine is a desktop machine, so no charger is involved.  I 
do have it on a UPS, but there is no serial (or USB) cable connected from the 
UPS to the desktop, and the sound definitely comes through the computer 
speakers, so I'm about 99% sure the beep is not coming from the UPS.

On Thursday, May 09, 2019 09:05:54 PM David Wright wrote:
> On Thu 09 May 2019 at 20:46:34 (+0200), Jan Claeys wrote:
> > On Thu, 2019-05-09 at 09:56 +, Curt wrote:
> > > In the event there is no functional motherboard speaker, I guess it
> > > cannot be a BIOS alarm of any kind.
> > 
> > Some on-board audio chips are wired up so that they can emulate old
> > school IBM PC compatible motherboard speakers/buzzers.
> >
> >From the log¹ for my Dell D430 laptop:
> "2010-04-23 One of the Dell chargers started to beep very quietly to
> itself. Although it was powered, the green light was out. Switching it
> on would make the green light come on for a few seconds, then it would
> go back to beeping."
> 
> It was one of those sledge-shaped chargers with the peculiar
> backward-facing figure-8 plug on its cord; the IT dept
> replaced it. Four years later, the last battery gave out,
> and the charging circuitry too. Now the laptop only runs on
> a charger, and needs a monitor too because the screen blanks
> itself most of the time.
> 
> ¹ typed by me, not the machine-generated ones.
> 
> Cheers,
> David.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Greg,
It really helps, thank you

On Fri, May 10, 2019 at 6:13 AM Greg Wooledge  wrote:
>
> On Fri, May 10, 2019 at 03:52:34AM -0600, An Liu wrote:
> > 1. Could I install debian from chroot enviroment while i'm in another
> > linux dist
> > (such as CentOS, SUSE,  RHEL ...), or vice versa.
>
> https://www.debian.org/releases/stretch/amd64/apds03.html.en
>


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> What worries me about this thread is that the OP (who doesn't seem to
> know how the various parts of the d-i are meant to work together) has

I don't know what's d-i mean (short for ?)

> just last week posted a recipe claiming to install Debian using only
> vmlinuz and initrd¹,
no, you need iso file as well.
> and a method of copying a Windows installation
> .iso image to a USB stick involving "rm"ing something, though never
> specifying exactly what is removed.
if you use  cp debian.iso /dev/sdb, or dd,
the file on the USB stick would be erased. if you take my way, it just
mixed the orignal one
with the install media.
>  I also have no idea what
> "destroy kvm prepend nothing happens" means².

I'm sorry to have you worried.
To create a UEFI bootable windows install media is nothing related
with this post

If you don't buy a copy of Windows, you would probably need to destroy
the windows
installation, As soon as we finished create install media from
windows, you definitely
should delete your installation in the grace period.



> https://lists.debian.org/debian-user/2019/05/msg00032.html
>
> ²
> https://lists.debian.org/debian-user/2019/05/msg00103.html
>
> Cheers,
> David.
>


-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread David Wright
On Fri 10 May 2019 at 13:44:03 (+0200), to...@tuxteam.de wrote:
> On Fri, May 10, 2019 at 06:31:22AM -0500, Richard Owlett wrote:
> 
> [...]
> > That's one of a number of possible guesses of OP's intent.
> 
> Yep :-)
> 
> > I've asked questions others have thought vague though I thought were
> > quite explicit. People read through lenses of their personal
> > experience and assumptions.
> >
> > >>A. machine's hard-drive.
> > >>B. a second USB drive. [be careful to place grub on correct drive]
> > 
> > That was cautionary, primarily to future newbies who might need an
> > explicit statement of what is obvious to the experienced.
> 
> Yes. I understood it as "the OP wants to understand the boot (and the
> corresponding installation) process".

What worries me about this thread is that the OP (who doesn't seem to
know how the various parts of the d-i are meant to work together) has
just last week posted a recipe claiming to install Debian using only
vmlinuz and initrd¹, and a method of copying a Windows installation
.iso image to a USB stick involving "rm"ing something, though never
specifying exactly what is removed. I also have no idea what
"destroy kvm prepend nothing happens" means².

¹
https://lists.debian.org/debian-user/2019/05/msg00032.html

²
https://lists.debian.org/debian-user/2019/05/msg00103.html

Cheers,
David.



Re: dpkg-reconfigure keyboard-configuration (Swedish with "|")

2019-05-10 Thread Erik Josefsson

Hi David!

Thanks for helping me sort out my thoughts!

Den 2019-05-06 kl. 22:42, skrev David Wright:

On Sun 05 May 2019 at 20:52:40 (+0200), Erik Josefsson wrote:

Den 2019-05-05 kl. 16:26, skrev David Wright:

Is this some sort of ticking off for wondering why the OP is*so*
keen to be able to type ¦ directly on the keyboard that they are
almost willing to use a USB keyboard with a laptop to get it?
Particularly as the wiki page referred to above has a reference to
http://jkorpela.fi/latin1/3.html#A6
which states "It is advisable to avoid using this character, since its
code position is occupied by another character in ISO Latin 9 (alias
ISO 8859-15), which will probably widely replace ISO Latin 1 at least
in European usage."

Now, using Unicode might avoid this danger, but it's still odd to
want this character so much when it appears to be as much of a relic
as the aforementioned ECU is. And, after all, the answer is that
they didn't.

For what it's worth, I had the foggy idea that I had to figure out how
to make the Teres keyboard reproduce the output from the Scandinavian
USB keyboard. What else would be "right"?

[Disclaimer: I'm not familiar with the Teres keyboard beyond looking at
https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-006-Keyboard/
(assuming this is it), and I've no idea of what keys your USB keyboard
has, nor knowledge of Swedish keyboard conventions.]


Yes, that's the Teres keyboard.

The wikipedia picture ofISO/IEC 9995-3:2002 applied to the US keyboard 
layout has 3 keys to the left and 4 keys to the right of the spacebar. 
Teres has 4 keys to the left and 3 keys to the right, otherwise they 
look the same (also the print on the keys):


https://en.wikipedia.org/wiki/ISO/IEC_9995#/media/File:KB_US-ISO9995-3.svg

This similarity makes me wonder why I cannot find any information from 
Olimex (or elsewhere) whether the Teres keyboard is fully compliant with 
the ISO standard that seems to be the one at hand (and which also seems 
current):


https://www.iso.org/standard/57852.html

If it was compliant, then I guess that would make an informed choice of 
"Keyboard model" easier than it is now.


I also guess that compliance would not only mean that the number of 
keys, their relative positions and the print on the keycaps would be 
defined, but also, and more importantly, that the digital output would 
follow certain rules.


And there's my major hick-up: 7 keys would be plenty if the output would 
suffice to consist of about 100 different signals since 2^7=128 (to 
later map on characters, numbers and whatnot). 8 keys would be 
excessive. I do understand the historical reasons for 105 keys (or 80), 
but how they relate to what really matters (the digital output) is a 
mystery.



It cannot really be physicality of the "Keyboard models", nor the 
(brand) names of the them, but rather the digital output that is 
defining whether one "Keyboard model" is different from the other. Or am 
I completely wrong here?


If I am not wrong, the next question is if there are really 193 
different keyboard models in that sense?


I mean, with the same keyboard layout (e.g. Finnish), how many of the 
193 would give the exact same result on screen with one particular 
keyboard (e.g. the Teres laptop)?


I guess more than two (which I now know is the case).



When the 105 and 102 options then gave the same result, it got
completely lost.

And I'm still kind of lost since I don't really understand what a
"Keyboard model" is. So already at the first menu choice of
dpkg-reconfigure keyboard-configuration I don't really know what I'm
doing there.

In the dpkg-reconfigure keyboard-configuration menu there are [193
different keyboard models] to choose from.

But two of them are the same, at least from the point of view of a
Teres laptop.

How does that work?

I guess that with only 80 keys on your keyboard, many of the
differences between these different models are dealing with keys you
simply don't have. I can use pc105 for all my laptop, however many
keys they have.



As far as I can see, the "source code" to Teres' keyboard does not say 
anything about that, but the Schematics file lists 25 different keys 
(KBD_X0 to KBD_X16 and KBD_Y0 to KBD_Y7), and there is a micro 
controller ATMEGA16U4-AU.


https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/TERES-PCB5-KEYBOARD/Rev.A/TERES-PCB5-KEYBOARD_Rev.A.sch

I'm fine with thinking that KBD_X0, KBD_X1 etc on the "inside" are 
connected to the 40 physical keys on the "outside". Actually with 23 
electronic keys to combine, it would be enough with an unique output per 
electronic key plus ,  and + to get 92 
different combinations. That should be enough, no?




What's more important is the layout: for example a British layout
puts \| left of z, whereas a US one will make that key <> and the
\| will be 3 keys right of p. In response to that, and deleting
£, many of the other punctuation characters get shuffled around.

The "key that

Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Curt
On 2019-05-10, An Liu  wrote:
>
> Actually the question could extend in several ways, such as
>
> 1. Could I install debian from chroot enviroment while i'm in another
> linux dist

Once I ran the netinstall iso with qemu/kvm and installed onto a usb thumb
drive I'd taken care to preliminarily insert into a usb port on my
desktop machine (otherwise the connection is rarely made).

A recipe of this sort (where sdb represents the aforementioned thumb drive)
worked for me (it was a few years back):

 kvm -m 512 -hda /dev/sdb -boot d -cdrom your_netinst.iso 

Might be perpendicular to whatever you're asking, but it seems rather
open-ended whatever you're asking, so I said to myself can't hurt.

> (such as CentOS, SUSE,  RHEL ...), or vice versa.
> 2. Could I boot A LiveCD without burn it to some media
>
> These are not typically problems bother me, but something interesting
> to play with,  LOL
>


-- 
Mrs Hessler, the teacher, considered me her employee, and I played along with
this to keep the frown off that somewhat shapeless face she had crowned with an
inappropriate platinum pixie. I regularly fed her made-up news items from
imaginary newspapers, and she always bought it. ‘Drone Strike on a Strip Club’,
for example. -- Thomas McGuane, https://granta.com/grandma-and-me/



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Pascal Hambourg

Le 10/05/2019 à 10:48, An Liu a écrit :


What I Have.
a USB stick with
1.  a portable GRUB (either UEFI or legacy)
2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
a LiveCD make life easier?)

What we want.Have Debian installed (could assume that we could do
whatever we could, such as re-partitation the whole harddisk)


Do you want to put the Debian installer on the USB stick and be able to 
install a Debian system from it into another location, or install a 
Debian system on the USB stick ?



The work around is to boot with  vmliunz and initrd.gz from
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
the cost is very small as these two file size total is less than 20M


Downloading vmlinuz is not required. You can get it from the ISO image.


I wonder if there is a way to finish install only in GRUB, without
initrd involved


The initrd.gz included in Debian installer ISO images cannot read files 
from an ISO image, only from a plain drive or partition. This is why you 
need an initrd.gz for hd-media. Note that there may also be restrictions 
about the supported filesystem types containing the ISO image.


Things may be different with Debian live images.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Greg Wooledge
On Fri, May 10, 2019 at 03:52:34AM -0600, An Liu wrote:
> 1. Could I install debian from chroot enviroment while i'm in another
> linux dist
> (such as CentOS, SUSE,  RHEL ...), or vice versa.

https://www.debian.org/releases/stretch/amd64/apds03.html.en



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread tomas
On Fri, May 10, 2019 at 06:31:22AM -0500, Richard Owlett wrote:

[...]
> That's one of a number of possible guesses of OP's intent.

Yep :-)

> I've asked questions others have thought vague though I thought were
> quite explicit. People read through lenses of their personal
> experience and assumptions.
>
> >>A. machine's hard-drive.
> >>B. a second USB drive. [be careful to place grub on correct drive]
> 
> That was cautionary, primarily to future newbies who might need an
> explicit statement of what is obvious to the experienced.

Yes. I understood it as "the OP wants to understand the boot (and the
corresponding installation) process".

Cheers
-- t


signature.asc
Description: Digital signature


Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Richard Owlett

On 05/10/2019 05:52 AM, to...@tuxteam.de wrote:

On Fri, May 10, 2019 at 05:29:48AM -0500, Richard Owlett wrote:

On 05/10/2019 03:48 AM, An Liu wrote:

Hi, List

Image the following case

What I Have.
a USB stick with


[...]


Missing background? Unstated goals?


I've got the feeling that I don't understand your question completely.


That is essentially my comment to the OP.




1. Why is grub mentioned at all?
If debian-9.9.0-amd64-DVD-1.iso has been properly placed on USB
drive [...]


Well, there's a boot loader in that (AFAIK it's not GRUB, but it's
a while ago I last looked). As I understood An Liu, the idea was
to understand how all that pieces fit together, so asking for the
boot loader seems relevant.



That's one of a number of possible guesses of OP's intent.
I've asked questions others have thought vague though I thought were 
quite explicit. People read through lenses of their personal experience 
and assumptions.




A. machine's hard-drive.
B. a second USB drive. [be careful to place grub on correct drive]


That was cautionary, primarily to future newbies who might need an 
explicit statement of what is obvious to the experienced.




2. Why are vmliunz and initrd.gz mentioned?


Those come directly "after" the boot loader (so they are part of the
boot /and/ of the installation process, too).

Cheers
-- tomás







Re: Is it possible to install Debian in such a case.

2019-05-10 Thread tomas
On Fri, May 10, 2019 at 05:29:48AM -0500, Richard Owlett wrote:
> On 05/10/2019 03:48 AM, An Liu wrote:
> >Hi, List
> >
> >Image the following case
> >
> >What I Have.
> >a USB stick with

[...]

> Missing background? Unstated goals?

I've got the feeling that I don't understand your question completely.

> 1. Why is grub mentioned at all?
>If debian-9.9.0-amd64-DVD-1.iso has been properly placed on USB
>drive [...]

Well, there's a boot loader in that (AFAIK it's not GRUB, but it's
a while ago I last looked). As I understood An Liu, the idea was
to understand how all that pieces fit together, so asking for the
boot loader seems relevant.

>A. machine's hard-drive.
>B. a second USB drive. [be careful to place grub on correct drive]
> 
> 2. Why are vmliunz and initrd.gz mentioned?

Those come directly "after" the boot loader (so they are part of the
boot /and/ of the installation process, too).

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Richard Owlett

On 05/10/2019 03:48 AM, An Liu wrote:

Hi, List

Image the following case

What I Have.
a USB stick with
1.  a portable GRUB (either UEFI or legacy)
2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
a LiveCD make life easier?)

What we want.Have Debian installed (could assume that we could do
whatever we could, such as re-partitation the whole harddisk)> 

The Answer to this question is most probably yes, but how.> 


The work around is to boot with  vmliunz and initrd.gz from
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
the cost is very small as these two file size total is less than 20M> 


I wonder if there is a way to finish install only in GRUB, without
initrd involved


Missing background? Unstated goals?

1. Why is grub mentioned at all?
   If debian-9.9.0-amd64-DVD-1.iso has been properly placed on USB
   drive, that is all that is *ALL* that is required to install to:
   A. machine's hard-drive.
   B. a second USB drive. [be careful to place grub on correct drive]

2. Why are vmliunz and initrd.gz mentioned?





Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Jonas

> Ah, ok.  Then you probably want to play with debootstrap (or one of the
> many wrapper tools around that, or alternatives to it like multistrap or
> mmdebstrap), add compare the result of that with a debian-installer
> installation to understand what you are missing (e.g. a boot loader and
> various tweaks to files below /etc).
>
>
> It sounds like perhaps you would be interested in joining the Tinker
> team: https://wiki.debian.org/DebianTinker
Sound interesting, I'll look into that :), thank you.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread tomas
On Fri, May 10, 2019 at 11:45:06AM +0200, Jonas Smedegaard wrote:

[...]

> It sounds like perhaps you would be interested in joining the Tinker 
> team: https://wiki.debian.org/DebianTinker

Sorry to irrupt from the side, but... why didn't I know of that?
Thanks for the link, and for keeping up the "team" :-)

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, Joe

Thank you
> The current (and presumably all future) stable installation images will
> install either in legacy mode or UEFI. Just transfer the image to the
> stick (the whole stick, not a partition of it) and it should Just Work.
'Should just Work' is not what i care in this question, so far debian installer
 works quite for me without any issue

> Transfer can be done in Linux by cat, dd, cp or presumably other
> methods. There is also a Windows utility (win32diskimager) which will
> copy images to USB sticks.
Yes, i use dd or cp to create install media for formal case, because it's the
recommended way which tested quite well.

Actually the question could extend in several ways, such as

1. Could I install debian from chroot enviroment while i'm in another
linux dist
(such as CentOS, SUSE,  RHEL ...), or vice versa.
2. Could I boot A LiveCD without burn it to some media

These are not typically problems bother me, but something interesting
to play with,  LOL

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Jonas Smedegaard
Quoting An Liu (2019-05-10 11:09:25)
> > Sorry, I don't understand: what do you want different from running
> > debian-installer?
> >
> 
> In short,just for fun
> 
> longer answer,
> 
> 1. want to know what a installation process (e.g. bootable iso) actually do
> for us 。
> 2.Find some clues if the automation setup fails,what we could do next

Ah, ok.  Then you probably want to play with debootstrap (or one of the 
many wrapper tools around that, or alternatives to it like multistrap or 
mmdebstrap), add compare the result of that with a debian-installer 
installation to understand what you are missing (e.g. a boot loader and 
various tweaks to files below /etc).


It sounds like perhaps you would be interested in joining the Tinker 
team: https://wiki.debian.org/DebianTinker

So far the "team" consist of only me, working on a set of routines to 
replicate what debian-installer does, without debian-installer: 
https://salsa.debian.org/tinker-team/box/

I have worked on that for ~9 years now. targeting a few ARM boxes and an 
ARM-based laptop, but intend to extend to cover also amd64 and i386 
devices, just haven't taken the time for that yet.

Please consider joining the tinker-team mailinglist (listed at the wiki 
page referenced above) and let's discuss further there.

...or if you just want working code, then buy one of the supported 
Olimex devices and grab working images at https://box.redpill.dk/ :-)


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi Brain

> Adapt
>
> https://wiki.debian.org/Installation+Archive+USBStick?highlight=%28shared%2Fask_device%3Dmanual%29
>
> to your needs?

Yes, the section 'Using GRUB's Loopback Facility' should have
something I'm after.
Thank you

-- 
Liu An



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Joe
On Fri, 10 May 2019 11:09:25 +0200
An Liu  wrote:

> > Sorry, I don't understand: what do you want different from running
> > debian-installer?
> >  
> 
> In short,just for fun
> 
> longer answer,
> 
> 1. want to know what a installation process (e.g. bootable iso)
> actually do for us 。
> 2.Find some clues if the automation setup fails,what we could do next
> 

The current (and presumably all future) stable installation images will
install either in legacy mode or UEFI. Just transfer the image to the
stick (the whole stick, not a partition of it) and it should Just Work.

Transfer can be done in Linux by cat, dd, cp or presumably other
methods. There is also a Windows utility (win32diskimager) which will
copy images to USB sticks.

https://www.debian.org/releases/jessie/amd64/ch04s03.html.en

There are too many types of failure possible to give a quick guide.
Almost always, you will see some kind of error message about a failure.
But failure on common modern types of computer are not frequent, in my
experience. I have a modern netbook, no legacy BIOS option, UEFI only,
Windows 10 already installed. As long as I had enough drive space
free, there was no problem with copying to USB stick and installing,
with an option for the Win10 boot manager in the grub menu afterwards.

-- 
Joe



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Brian
On Fri 10 May 2019 at 11:09:25 +0200, An Liu wrote:

> > Sorry, I don't understand: what do you want different from running
> > debian-installer?
> >
> 
> In short,just for fun
> 
> longer answer,
> 
> 1. want to know what a installation process (e.g. bootable iso) actually do
> for us 。
> 2.Find some clues if the automation setup fails,what we could do next

Adapt

https://wiki.debian.org/Installation+Archive+USBStick?highlight=%28shared%2Fask_device%3Dmanual%29

to your needs?

-- 
Brian.



Re: Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
> Sorry, I don't understand: what do you want different from running
> debian-installer?
>

In short,just for fun

longer answer,

1. want to know what a installation process (e.g. bootable iso) actually do
for us 。
2.Find some clues if the automation setup fails,what we could do next







>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
-- 
Liu An


Re: Is it possible to install Debian in such a case.

2019-05-10 Thread Jonas Smedegaard
Quoting An Liu (2019-05-10 10:48:46)
> Hi, List
> 
> Image the following case
> 
> What I Have.
> a USB stick with
> 1.  a portable GRUB (either UEFI or legacy)
> 2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
> a LiveCD make life easier?)
> 
> What we want.Have Debian installed (could assume that we could do
> whatever we could, such as re-partitation the whole harddisk)
> 
> 
> The Answer to this question is most probably yes, but how.
> 
> 
> The work around is to boot with  vmliunz and initrd.gz from
> http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
> the cost is very small as these two file size total is less than 20M
> 
> 
> I wonder if there is a way to finish install only in GRUB, without
> initrd involved

Sorry, I don't understand: what do you want different from running 
debian-installer?


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Speed Problem Copying Files

2019-05-10 Thread Lothar Schilling
Am 10.05.2019 um 07:48 schrieb David Christensen:
> On 5/9/19 1:49 AM, Lothar Schilling wrote:
>> Hi everybody,
>>
>> for years I have used CentOS for our server landscape. Now I decided to
>> give Debian a try. I just set up a Stretch 9.8 system supposed to become
>> our main backup server. So I set up a backup job wih rsync. But the
>> going is really very very slow. Trying to figure out what's
>> happening:
>>
>>    * iperf -c [host] => bandwith almost 1000 Mbit, that's fine.
>>    * dd if=/dev/zero of=/daten/testfile bs=1G count=10 oflag=direct =>
>>  10737418240 Bytes (11 GB, 10 GiB) kopiert, 40,4992 s, 265 MB/s, so
>>  that's fine as well
>>
>> But whenever I try to rsync, cp or scp - whether copy files on the local
>> hard disk only or over the network - speed goes down to 500 kB/s.
>>
>> Filesystem is ext4.
>>
>> I don't have any clue about what's going on. Any kind of help would be
>> appreciated, thank you!
>>
>> Lothar
>
>
> On 5/9/19 2:46 AM, Lothar Schilling wrote:> Am 09.05.2019 um 11:14
> schrieb Jonas Smedegaard:
> >> Is _only_ transfer speed affected?
> >>
> >> I am no expert in this, but imagine that if you rsync massive amounts
> >> involving hardlinks then memory becomes a problem too.
> >>
> >> Perhaps run atop to monitor bottlenecks live
> >>
> >>
> >>   - Jonas
> >>
> > It is most definitely not a memory or cpu problem. It's a HP Proliant
> > with 32 GB RAM and a Intel Xeon CPU 2.40GHz with 4 cores. Also the
> > problem stays the same if I just copy one large file.
>
>
> On 5/9/19 3:26 AM, Lothar Schilling wrote:> Am 09.05.2019 um 11:51
> schrieb Kevin DAGNEAUX:
> >> Check if it's related to the disk speed (hdparm and/or iotop).
> >>
> >> Kevin
> >>
> >
> > hdparm -tT /dev/sda
> > /dev/sda:
> >   Timing cached reads:   13348 MB in  2.00 seconds = 6683.42 MB/sec
> >   Timing buffered disk reads: 1014 MB in  3.00 seconds = 337.72 MB/sec
> >
> > iotop -o (for rsync and cp)
> > Total DISK READ :   0.00 B/s | Total DISK WRITE : 476.15 K/s
> > Actual DISK READ:   0.00 B/s | Actual DISK WRITE: 487.86 K/s
> >    TID  PRIO  USER DISK READ  DISK WRITE  SWAPIN IO>    COMMAND
> > 19531 be/4 root    0.00 B/s  476.15 K/s  0.00 % 99.24 % rsync
> > --info=progress2 /daten/testfile /daten/testfile2
> >
> > iotop -o (for dd)
> > Total DISK READ :   0.00 B/s | Total DISK WRITE : 297.68 M/s
> > Actual DISK READ:   0.00 B/s | Actual DISK WRITE: 297.68 M/s
> >    TID  PRIO  USER DISK READ  DISK WRITE  SWAPIN IO>    COMMAND
> > 19557 be/4 root    0.00 B/s  297.68 M/s  0.00 % 99.99 % dd
> > if=/dev/zero of=/daten/testfile bs=1G count=10 oflag=direct
>
>
> On 5/9/19 5:43 AM, Lothar Schilling wrote:> Am 09.05.2019 um 13:27
> schrieb Martin:
> >> [..]
> >>> hdparm -tT /dev/sda
> >>> /dev/sda:
> >>>   Timing cached reads:   13348 MB in  2.00 seconds = 6683.42 MB/sec
> >>>   Timing buffered disk reads: 1014 MB in  3.00 seconds = 337.72
> MB/sec
> >>>
> >>> iotop -o (for rsync and cp)
> >>> Total DISK READ :   0.00 B/s | Total DISK WRITE : 476.15 K/s
> >>> Actual DISK READ:   0.00 B/s | Actual DISK WRITE: 487.86 K/s
> >>>    TID  PRIO  USER DISK READ  DISK WRITE  SWAPIN IO>   
> COMMAND
> >>> 19531 be/4 root    0.00 B/s  476.15 K/s  0.00 % 99.24 % rsync
> >>> --info=progress2 /daten/testfile /daten/testfile2
> >>>
> >>> iotop -o (for dd)
> >>> Total DISK READ :   0.00 B/s | Total DISK WRITE : 297.68 M/s
> >>> Actual DISK READ:   0.00 B/s | Actual DISK WRITE: 297.68 M/s
> >>>    TID  PRIO  USER DISK READ  DISK WRITE  SWAPIN IO>   
> COMMAND
> >>> 19557 be/4 root    0.00 B/s  297.68 M/s  0.00 % 99.99 % dd
> >>> if=/dev/zero of=/daten/testfile bs=1G count=10 oflag=direct
> >> Show us the 'dd if=/daten/testfile bs=1G oflag=direct
> of=/dev/null', please.
> >> If this is as slow as this ~480k/s above, check your disk's health
> status. Like with smartmontools or some disk-utility software.
> >>
> >> Martin
> >>
> > Fast enough...
> >
> > dd if=/daten/testfile bs=1G oflag=direct of=/daten/testfile2
> > 10+0 Datensätze ein
> > 10+0 Datensätze aus
> > 10737418240 Bytes (11 GB, 10 GiB) kopiert, 72,7297 s, 148 MB/s
> >
> > dd if=/daten/testfile of=/dev/null
> > 20971520+0 Datensätze ein
> > 20971520+0 Datensätze aus
> > 10737418240 Bytes (11 GB, 10 GiB) kopiert, 36,6887 s, 293 MB/s
>
>
> rsync(1) can be fickle, especially when host operating systems and/or
> rsync versions mismatch.  But, you also seem to have file system issues.
>
>
> The above information could be more useful if it were presented in
> context -- e.g. complete console sessions -- meaningful prompts (date,
> time, username, hostname, working directory), exact commands input,
> and exact output printed.
>
>
> Please use the Bash shell for the root account and the following line
> to /root/.bashrc:
>
>     export PS1='\n\D{%Y-%m-%d %H:%M:%S} '${USER}'@\h \w\n\$ '
>
>
> Then start a new shell, su(1) to root, change to a directory within

Is it possible to install Debian in such a case.

2019-05-10 Thread An Liu
Hi, List

Image the following case

What I Have.
a USB stick with
1.  a portable GRUB (either UEFI or legacy)
2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
a LiveCD make life easier?)

What we want.Have Debian installed (could assume that we could do
whatever we could, such as re-partitation the whole harddisk)


The Answer to this question is most probably yes, but how.


The work around is to boot with  vmliunz and initrd.gz from
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
the cost is very small as these two file size total is less than 20M


I wonder if there is a way to finish install only in GRUB, without
initrd involved







-- 
Liu An



Re: config question re ff history etc

2019-05-10 Thread Curt
On 2019-05-09, Gene Heskett  wrote:
> On Thursday 09 May 2019 12:51:24 pm Curt wrote:
>
>> On 2019-05-09, Gene Heskett  wrote:
>> > Greetings all;
>> >
>> > I have a need to transfer all the prefs -"saved logins" from a
>> > wheezy install to a stretch install, separate drives.  And obviously
>> > the stretch firefox is about 20 versions newer. What file do I copy
>> > from the wheezy drive to the stretch drive so my bank knows its me?
>>
>> I believe you need the following *two* files:
>>
>>  key4.db
>>  logins.json
>>
>> > Cheers, Gene Heskett
>
> Couldn't find it, so I ran updateb with the old drive mounted.

The info was gleefully plagiarized and happily lifted (which means the
same thing, I think) from here:

https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

A post concerning the eternal old to new version conundrum:

https://support.mozilla.org/en-US/questions/1210910


 If you have new passwords in your profile, this will not work.

 In the new profile, remove the password files;
 key3.db [v58+] key4.db and  logins.json : These are the Password files.

 Now Copy those same files from the old profile.
 This must be done with Firefox Closed.

> key4.db shows up in several places, but it looks like the one I might 
> want is one of these two:

> this one as its the biggest by quite a bit
> /home/gene/.mozilla/firefox/73t2g4uq.default/key4.db except its on this 
> drive? But copying it over from the old drive didn't seem to do a thing, 
> and neither did copying logins.json. Firefox  has changed a lot since 
> wheezy.

> So I guess I'll have to shutdown, swap cables to make sdb into sda , boot 
> wheezy and see if I can con it into printing all that stuff,  I need my 
> bookmarks-toolbar to make it complete too.  Sigh. Tomorrows project, its 
> about time to go scare a couple pork chops to death with a hot skillet.
>
> Thanks.

Maybe this python script could be of help eventually, if all else fails:

https://github.com/unode/firefox_decrypt

Of course, you must provide your master password (if you have
one) and the *profile* from which to decrypt the logins.

>
> Cheers, Gene Heskett


-- 
Mrs Hessler, the teacher, considered me her employee, and I played along with
this to keep the frown off that somewhat shapeless face she had crowned with an
inappropriate platinum pixie. I regularly fed her made-up news items from
imaginary newspapers, and she always bought it. ‘Drone Strike on a Strip Club’,
for example. -- Thomas McGuane, https://granta.com/grandma-and-me/