As written on a previous post http://crunchbanglinux.org/forums/topic … cbook-air/, I'm beginning an HOWTO install #! statler/SID on a MacbookAir4,2.
It showed to be not that easy, and I would like to share it with others.

I've been messing with EFI for a couple of months, but could not manage to come to a viable native EFI install.
(sorry, part-man in debian installer is still too buggy to allow a successful installation).

This is currently a work in progress, and will end up as a full configuration HOWTO.

General Assumptions
- Install as a dual-boot system, running MacOSX and #!
- single Linux partition
- no swap partition
- a basic knowledge of MacOsX, and a knowledge of linux.
- no triple boot (yet). Due to EFI->MBR mapping, using a triple boot can mess up your partition numbering.
- you have an ethernet dongle, and internet connection through it
- I use the "first install statler, and then go to sid", instead of using "first install sid, and then statler-ize it".


Needed To Begin
- a fresh copy of Crunchbang, 64 bit version http://crunchbang.org/download/
  20120207-bpo is the suggested release, since it contains already some fixes in the VGA intel drivers
- a fresh copy of rEFIt http://refit.sourceforge.net/
- a 1 GB USB thumb drive


Step 1: prepare your HD
1.1 using Mac OS' own disk util (you can find it in Application/Utilities), you can resize the partition and allocate space.
       I set the new partition to 15 Gigabytes
1.2 install refit package from inside MacOsX


Step 2: prepare your #! installation
You can create your #! installation drive using the classical "dd method" from inside MacOsX
EDIT: instead of the following, I found unetbootbin http://unetbootin.sourceforge.net/ to be reliable enough for a #! installation

2.1 insert your thumb drive
2.2 open a terminal window
2.3 issue the command:
   

diskuti list

2.4 unmount the drive, without ejecting it
 

diskutil umount <diskunit>

  (where diskunit is the disk name assigned to the drive by macos, as seen in steps 2.3, e.g. "/dev/disk3"

2.5 run a standard "dd" command
 

dd if=[i]crunchbang-iso-image[/i] of=[i]diskunit[/i]

2.6 eject the drive
 

diskutil eject [i]diskunit[/i]

Step 3: install refit
From your MacOs installation go ahead and install rEFIt.
This should proceed as a standard installation.
Once you reboot, please stop on rEFIt and remember to synchronize GPT to MBR.

Step 4: install statler
Installation should run smootly, you should only take the following notes:
- partition should be set manually, and you should only install on the 4th partition (no swap)
- DO NOT INSTALL GRUB ON MBR!!! install on /dev/sda4
Once installed, you can proceed with some post-installation operations:
- install broadcom wireless firmware
- optimize i915 booting (see first link)


more again later , as soon as I progress with my journey (and resolve the problems).





PS some useful references (to be used during install)
1) configure EFI on MBA
http://wiki.debian.org/MacBookAir4%2C2Testimonial
2) various fixes for MBA4,[12] on ubuntu, mostly apply to debian as well.
(must rework "fix915.sh"  to make it run under debian)
https://help.ubuntu.com/community/MacBookAir4-2
3) MacBook automatic keyboard brightness daemon (read ambient sensor, and adapt accordingly)
https://github.com/poliva/lightum
4) Some useful patches on ubuntu[/strikeout]
http://kernel.ubuntu.com/~sarvatt/macbook-air/

(obsolete)
5) pass i915.modeset=0 to grub until you patch and recompile the i915 module
https://bbs.archlinux.org/viewtopic.php … 58&p=2

Hi,

After happily working w/ my EEPC701 running #! for quite some time, I just upgraded my main laptop to a Mid2011 MacBookAir 11" (I know, I know, don't blame me smile )

What next?
Of course, installing #! smile

Since several issues should arise (mostly due to newest chipset and drivers), I'd start as follow:
Basic Sequence
1) bare SID installation,
2) add openbox
3) tweak a lot (starting with ubuntu wiki https://help.ubuntu.com/community/MacBookAir4-2  )
4) add crunchbang repos.

Alternate Sequence:
1) install crunchbang Statler
2) change debian repos to point to unstable
3) tweak a lot

Except for step3, any suggestion on which sequence to use?

Will keep you updated as I progress.

TIA

m.

3

(27 replies, posted in CrunchBang Talk)

Just found this post:

http://digitizor.com/2011/08/04/linus-t … -for-xfce/


Maybe he tried Crunchbang, and found that it fits all his needs :-)

(grin)

m.

4

(197 replies, posted in Off Topic / General Chat)

Slackware on a IBM PS/2 70 (386/20MHz - 4 MB RAM and Microchannel BUS), thanks to Chris Beauregard work in porting to this wonderful architecture (with still good ideas never found later, IMHO)
Sometimes in 1996/97.
http://www.utdallas.edu/~swadlow/ps2lin … cainst.txt

Notably, due to the bad package management of such Slack, I slowly migrated to a native RPM-based system (mostly adapting and recompiling RH's src.rpm to my needs).

Later I got too busy/lazy to recompile everything by hand or even learn automatic build system (just used my rpm skills to contribute TRUSTIX - another "remove the unneded" distro).

m.

5

(472 replies, posted in CrunchBang Talk)

Name:  ASUS eeePC 701
Processor:  Intel Celeron 900MHz (using eee-control)
Screen:  7" (800x480)
RAM:  1GB DDR2
HDD: 4 GB SSD (+ 8GB SD card)
Graphics:  Intel integrated
Network:  10/100 wired + 802.11b/g wireless
Other:  3 x USB2.0, Card Reader, VGA video out, built-in 0.3" Webcam

vmware player w/ XP for on-duty calls.

#! since buy (est. 2008), and happy statler user since Alpha2.

6

(40 replies, posted in Feedback & Suggestions)

pvsage wrote:

I'm sure after the dust has settled a bit in testing and/or the cut branch becomes available, papanominal will release CrunchBang Waldorf, which will be based on Wheezy.

snowpine wrote:

Yes, once there is a nice stable #! release for the average user, it is logical for Corenomial to create a Testing or Unstable "spin" for adventurous users.

I suggested this as well a while ago; I believe I suggested calling the version permanently based on unstable CrunchBang Animal, but I can't remember which muppet I proposed for the version that tracks testing/cut, regardless of how far it is from release.  Janice maybe?

+1 for a testbed based on Testing (personally, quite scared from Unstable)
+10 for the Animal codename (my favorite, w/ Statler & Waldorf)

my two c.

m.

7

(83 replies, posted in News & Announcements)

Vikerness wrote:

Well, here is what I'd like to see in the next build in regards to the installer and packages
- to be able to use it as a live cd! i dont care if its a text/ncurses/gui/whatever installer as long as you can use it as a live cd ! i dont know if the current d-i thingie supports this, but its a pretty important feature if you ask me
=p

+1 on having an installer starting from the live cd.
The only thing I miss from Ubuntu.

Everything else is fine, and there's nothing I could not fix with a plain "apt-get install lxpanel pidgin gigolo leafpad network-manager-vpnc remmina" (to name a few  smile)

my two cents.

m.

8

(17 replies, posted in Devel: CrunchBang 10 "Statler")

into
== REMOTE ASSISTANCE

I would add remmina http://remmina.sourceforge.net/, which happens to be a consistent VNC/MS-RDP/NX/X pure GTK-based client.
(and, BTW, is already in squeeze repos).

my 2 cents

m.

9

(39 replies, posted in Help & Support (Stable))

On statler (got rid of 9.04 a few month ago, and missing nothing but an installer i can run from my live session).

- VLC
- chromium-browser: I have to admit, it's FAST, and quite complete (except the zillions extensions I use in iceweasel, e.g. foxyproxy)
- remmina: just discovered this one, and playing around with this wonderful NX/VNC/RDP/X GTK-based remote client.
   Seems fast, and show me same interface, regardless of protocol.
- gigolo: the easiest way of mounting SMB shares
- lxpanel: sorry, but I found this the panel application which better fits my needs.

And, of course:
- conky
- openbox
- network-manager
(OOPS, these latter are into the basic setup smile)

In strict alphabetical order:
ASNumber (for internet sites inspection)
BetterGmail2
FEBE (wonderful backup tool for both extensions and config)
Foxyproxy (to switch direct/tor/company PAC)
Ghostery (to check all that nasty statistics sites)
Live Ip address (to know your address)
Mozilla Archive Format (mostly to read Internet Explorer MHT files)
Noscript
ShowIP (to see remote site IP address)
Xmarks (since I use both chromium and Firefox/iceweasel on 2 different laptops)

while playing with autokey, I found a weird (for me, at least) behaviour in terminator.

in terminal, whenever I press either F5-F10 keys, I get an "~".
this using either IT or US keyboard mapping.

Any explanation/suggestion?

TIA

m.

12

(54 replies, posted in Tips, Tricks & Scripts)

dos2unix, the perl way

perl -pi -e 's/\r\n/\n/g' *

check for IP address (found somewhere in activestate forums)

(?:1\d?\d?|2(?:[0-4]\d?|[6789]|5[0-5]?)?|[3-9]\d?|0)(?:\.(?:1\d?\d?|2(?:[0-4]\d?|[6789]|5[0-5]?)?|[3-9]\d?|0)){3}

no hopes on 9.04 with a ZTE w/ microsd slot.

Recently switched to statler, still no luck.
BUT....
On 7 July I did an update, and POP! It works.

This is one of the reason I hopefully switched to statler.
Right now:
- nm + usb_modeswitch recognize newest usd dongles
- nm has even a native anyconnect-aware extension (to connect to Cisco SSLVPNs), allowing me connection without installing weird Cisco-own packages.
- eee-control working after installing upstart (to clock my eeepc701 to 900MHz)
- vmware player (sorry, company standard is on vmdk) playing out of the box, with no hacks
- decent graphics on intel OOTB (on 9.04 you have to tweak a bit, and install non-default kernel and xorg drivers).

Although "testing", it seems quite stable to me (as often on linux smile).

upgrade highly suggested.

my 2 (euro)cents

m.

eeepc 701 is well known for being a celeron 900 underclocked to 630.
using eee-control under 9.04 I managed to rise clock to standard 900 MHz.
just wondering whether somebody tested it under statler.
right now it complains about not having python >= 2.6.
gonna tweak deb package and let you kow.


TIA
m.

15

(14 replies, posted in Devel: CrunchBang 10 "Statler")

Hooooray!

Just to let crunchbangers know...

eeepc701 has a 900MHz CPU, underclocked to 630 MHz.

To bring it up, there are a lot of tools.
I prefer eee-control on CB904

I always had problems with raising CPU clock.

Solved by installing DDR2-800 memory.

Simple math explained:
Underclocked:
- bus frequency: 70MHz
- CPU: 70 x 9 = 630 MHz (standard Celeron multiplier for this class of CPU)
- ram: 70 x 4  = 280 MHz (I read somewhere that memory is quad-pumped)
- DDR2: 280x2 = 560 MHz
a DDR2-667 module is capable of handling such frequency.


Normalclocked:
- bus frequency: 100MHz
- CPU: 100 x 9 = 900 MHz
- ram: 100 x 4 = 400 MHz
- DDR2: 400 x 2 = 800 MHz
a DDR2-667 could be pushed to 800 MHz, but not that safe...

And, since video memory is shared, all kind of artifacts are added to video output.

Is my theory correct?

m.

17

(6 replies, posted in Help & Support (Stable))

I've working on Windows clients for a looong time, and telnetting/sshing to unix and cisco devices all the time.

So far, Teraterm is my favorite ssh client.
check it out at http://en.sourceforge.jp/projects/ttssh2/releases/
Putty and SecureCRT are good runner's up.

IHMO "every screw has its own screwdriver", and setting up an ssh server on Windows is not the best solution.
Windows has been a GUI-only interface for a long time (changing a bit on 2008), so RDP is the only protocol I use (although encryption is poor and it's a lot more bandwidth hungry).
But, if you feel masochistic enough (and have a lot of money), maybe VanDyke's Vshell is right for you. http://www.vandyke.com/products/vshell/index.html

David Bowie's "Space Oddity".
Recently a member of my family went "far above the moon" and "there's nothing I can do"

sorry for sharing sad feelings....

anonymous wrote:
zengrapefruit wrote:

Another question: how secure is Crunchbang straight out of the box? Imagine a new Linux user that doesn't install any extra security software nor enable a firewall-how safe is that user? (This is a question of Linux, in general, rather than Crunchbang-specific)

Well first what do you consider "safe"? And "safe" from what?

There is very little malware for Linux and most Linux distro's setup a user as default thus limiting the damage malware can do anyways. As for a firewall, its not needed unless you have a service or program that will be listening on a port.

If you want more security you can just setup iptables, setup SELinux, etc.

http://wiki.debian.org/iptables
http://wiki.debian.org/SELinux

or, if you're not used to iptables, you can use GUFW ;-)

m.

20

(1 replies, posted in CrunchBang Talk)

maybe just a RTFM question...

... will be Statler based on Testing, or on squeeze?

I know that squeeze is current testing release; but, whenever Debian 6 will be released, what will happen to statler repos: will they be "squeeze" or "testing" ?

just wondering.

m.

21

(30 replies, posted in Off Topic / General Chat)

mee too..


http://linuxexpresso.files.wordpress.com/2010/03/gonzo.png

22

(154 replies, posted in Off Topic / General Chat)

Bootloader
    Grub legacy
    Grub2
Backup Programs
    Remastersys
CD burner
    Brasero
File Managers
    Thunar
Image Editors
    mtpaint
Image Viewers
    Viewnior
Instant Messengers
    Pidgin
    Skype
Network (FTP/SSH)
    ssh (cli)
    gftp
    scp (cli)
    ftp (cli)
    telnet (cli)
Network (remote shares)
    Gigolo
Network Managers
    Network-Manager
Office Apps
    OpenOffice.org
Password Manager
    KeepassX
PDF Reader
    Evince
    Foxit
Search Utility
    Catfish
System Information
    inxi (cli)
System Monitors
    Conky
    htop (cli)
    ps (cli)
System Panels/Menus/Trays
    lxpanel
Terminal Emulators
    Terminator
    Yakuake
Text Editors
    nano (cli)
    Leafpad
Torrent Clients
    Transmission
Video Players
    VLC
Video Transcoder
    ffmpeg (cli)
    ffwin
Web Browsers
    Firefox
    elinks (cli)
    SRware Iron
Other
    Gparted
    Gdebi
    Truecrypt
    Xscreensaver
    baobab
    build-essential
    BleachBit
    Gnome-Do
    Gufw
    screen
    eee-control
    TS Client
    VirtualBox

23

(0 replies, posted in CrunchBang Talk)

Joanna Rutkowska, the "security on virtualization" guru, started working on Qubes-OS.

In the current implementation, it is mainly an extension to a basic XEN system, which allow you to have e.g. multiple
DomU-level-isolated windows on same desktop.

Unfortunately, currently uses RPM packaging, making it less suitable for deb based distros.
(sorry, I don't trust alien)

IMHO, worth looking.

http://qubes-os.org/Home.html

24

(1,253 replies, posted in Off Topic / General Chat)

Qubes-OS seems promising on security:
- based on Xen (low footprint)
- para-virtualize at almost-application level (you can have a "banking"'s Firefox session, and a "not-so-sure" one living on same desktop)

Suggested base is Fedora 12, but should run any decent XEN-supporting and RPM/YUM supporting distro.

Firestrider wrote:

Thanks for the quick response. Is there any way to do this within Windows though?

OK I followed that tutorial on Ubuntu and I got a bootable CB10 USB stick. When installing with Text Install I don't get the message: ''Load CD-ROM drivers from removable media?'' I get: ''Unable to mount CD-ROM drive.'' When selecting no to if I want to try again I get an installation media failed error. There's no option for me to select a CD-ROM module or device and no where to enter ''/dev/sdc'' for a device file for accessing the CD-ROM

alt+f2, open a session, and mount cdrom by hand ;-)