HOWTO: Debian netinstall

Forum rules
Share your brain ;)
User avatar
gurtid
Uninstaller
Posts: 239
Joined: Thu Oct 18, 2012 7:53 am

Re: HOWTO: Debian netinstall

Unread post by gurtid » Mon Sep 09, 2013 11:31 pm

Hi mb,

No I don't own anything as fancy as an SSD. This is a clunky old and very noisey 500Gb HDD. PC has 2Gb ram and a 3.4G Pentium D (early 2 core 64bit) processor.

Got to say, mileage will vary on this. On subsequent PCs

1. E8400 processor (core2duo 3Ghz), 4GB ram, fast 500GB HDD kernel time was reduced by .3 second
2. AMD turion ML40 (single core 64bit 2.2Ghz), 2GB ram, ide 60GB HDD - kernel time was reduced by .3 second

Time to update ramdisk is significantly reduced on all, but I don't do that all that often. To me, any (preceived) reduced boot times are a bigger benefit.

Do I notice it on any? Not really :D

Still! - all good fun giving it a bash :D. Speaking of bash - silly question time. If I install zsh can I remove (i.e apt-get remove/purge) bash? I think not.
The Beaver Destroys Forests

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: HOWTO: Debian netinstall

Unread post by wuxmedia » Tue Sep 10, 2013 8:19 am

I feel that removing bash would only lead to a problem somewhere.
here's another question, on a system running zsh, a script calling for #!/bin/bash would work how?
I guess it would call bash and be output to zsh?
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: HOWTO: Debian netinstall

Unread post by DebianJoe » Tue Sep 10, 2013 8:26 am

No, it would call bash to run the script. /bin/bash is an absolute location in the directory. That's why it would be retarded to remove bash. Don't do that.

Calling "#!/usr/bin/env python" only uses python to interpret the script, but doesn't leave you in a python shell. Same thing for bash. You can (and I have) used #!/bin/zsh for scripting, but only for things that I have no intention of ever sharing.

Edit: I guess you could use symlinks in place of /bin/bash. I've not done it, so I'd read up on the POSIX issues with linking shells and make sure there are no cross-compatibility issues that might arise. In theory, it could work.
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: HOWTO: Debian netinstall

Unread post by machinebacon » Tue Sep 10, 2013 9:42 am

Removing bash in Debian results in a huge pile of shit. Symlinking as Joe says works for dash and sh, but bash -- hmm, for fun enter: sudo apt-get autoremove --purge bash

and see how Debian reacts. Very allergic. "Yes, do as I say!" -- I would not do it.
..gnutella..

apprentice
invented Fellatio
Posts: 71
Joined: Wed Oct 17, 2012 1:21 pm

Re: HOWTO: Debian netinstall

Unread post by apprentice » Tue Sep 17, 2013 1:54 pm

pidsley wrote:Is there anyone here who has not done a Debian netinstall? If you haven't tried it, I think you should
so ive just done my first sid net install from mini.iso
as far as i can tell everything went swimmingly
insofar as startx getting me to a blank canvas and openbox

ok, stupid question of the day
(but be ready there will be more)

when trying to add roxterm i have the option of gtk2 or gtk3?
looking at dpkg i can't tell what i have
what should i have
what do i need
does it matter

cheers
card carrying p.e.t.a. member of long standing

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: HOWTO: Debian netinstall

Unread post by machinebacon » Tue Sep 17, 2013 3:25 pm

gtk2 usually. gtk3 is the stuff that is needed for certain applications:

apt-cache rdepends libgtk-3-0

if you install one of these apps, you'll get the gtk3-shit pulled in. If not, you stay with gtk2.
..gnutella..

apprentice
invented Fellatio
Posts: 71
Joined: Wed Oct 17, 2012 1:21 pm

Re: HOWTO: Debian netinstall

Unread post by apprentice » Tue Sep 17, 2013 5:33 pm

thanks bacon

so due to the fact that i have epiphany, deadbeef, fotoxx and transmission...
roxterm-gtk3 it is

i'll be back
card carrying p.e.t.a. member of long standing

Post Reply