eRacks Systems Tech Blog

Open Source Experts Since 1999

Zenbook with beverage - IMG_20131019_231446531Minty Zenbook

I am typing this on a nifty new eRacks/ZENBOOK13, with Linux Mint15 installed.

This is a slightly newer rev of the very pretty Asus Zenbook line, with twin 128GB SSD modules installed in a small carrier which screws into the standard 2.5″ HD space (it could also be replaced or upgraded with one of our standard HD/SSD choices, here: http://eracks.com/products/laptops/ZENBOOK13/)

This post will walk you through what we had to do for the installation, with the details.

Installation Cookbook

  1. Boot to an Ubuntu 13.04 install disk. (13.10 should work, or Ubuntustudio works too, that’s what I used).  For some reason, the Mint installer doesn’t install the default EFI boot choice properly, so you have to start with Ubuntu, then replace it with Mint. Read on.
  2. Using gparted (fdisk could work, too), delete the partition tables on /dev/sda and /dev/sdb, and replace the GPT-based partition tables with with msdos-type partition tables.
  3. Install Ubuntu on the 1st of the two SSDs. Don’t worry about the 2nd disk (_yet_).  Be sure to check the “Install with LVM” box after you select the default “Erase and install…”.
  4. Reboot into Ubuntu, and note the partitions cerated.
  5. Boot into a Mint 15 Install disk.
  6. Install Mint15 into the same partition structure – in other words, do NOT select the default “erase and install…” , but rather the “Something else” choice, and tell it to put the root partition on the same partition you noted in step 4.
  7. Install rEFInd (http://www.rodsbooks.com/refind/) from a rEFInd install disk, that you downloaded and burned from there. (I used v0.74). Be sure to install it in the /boot/efi partition (typically /dev/sda2) created earlier. The reason to install rEFInd, is it’s an invaluable tool to use to boot from any EFI-capable location on your computer, and will be used later on.  I put mine in EFI\refind\refind_x64.efi
  8. Be sure to also copy shell64.efi into /boot/efi/EFI/tools/, so rEFInd can find it, and show you the EFI Shell choice & icon.
  9. Boot from rEFInd.
  10. Choose the EFI shell.
  11. Using the bcfg command, (help -v bcfg is your friend!), list the boot choices, and verify that “ubuntu” is there.
  12. Add “mint” as a boot choice, pointing to EFI\linuxmint\grub64.efi – mimic the way the “ubuntu” boot choice is done.
  13. Reboot into the boot menu (hold Esc down during the Asus logo) and verify that “mint” and “rEFInd” are there.
  14. Test them both out – rEFInd should also give other interesting choices you can try out.
  15. You should be able to launch Mint from either the “Mint” choice in the Asus boot (holding Esc), or from the Mint choice in rEFInd.
  16. Optionally, you can add the 2nd SSD (mentioned in step 3) to the main volume using LVM, to use the full 256GB.

That’s it!

Wrap and Beverage

I must say, this is a BEAUTIFUL machine – I want one myself!

Between the FullHD display, and being roughly the same thickness and sizeas the magazines I often carry into any given bar / restaurant here in Los Gatos, this is a joy compared to my regular 1920×1080 Asus laptop..

…And it beats the heck out of a tablet..

…And the battery life seems great, it barely made a dent in the hour or so I spent surfing with it while drinking my beverage of choice at one of the local establishments here.

…And did I mention it’s screaming fast, with the i7 CPU and 10GB RAM?!

Bon Appetit,

j

 

 

October 20th, 2013

Posted In: How-To, Laptop cookbooks, New products, News, Open Source, Products, ubuntu

Tags: , , , , , , , ,

5 Comments

eRacks Sony Laptop – Part 2 – Shrinking partitions & Installing Linux

Step 1 – back up Vista partitions

[joe@sony ~]$ sudo su
Password:

[root@sony joe]# fdisk /dev/sda

The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x200c5cbf

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         889     7138304   27  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2   *         889        4076    25600000    7  HPFS/NTFS
/dev/sda3            4077        4101      200812+  83  Linux
/dev/sda4            4102       14593    84276990    5  Extended
/dev/sda5            4102       14593    84276958+  8e  Linux LVM

Command (m for help): q

[root@sony joe]# dd if=/dev/sda2 | gzip -9 – >vista.img
51200000+0 records in
51200000+0 records out
26214400000 bytes (26 GB) copied, 2384.53 s, 11.0 MB/s

[root@sony joe]# ls -l
total 6168412
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Desktop
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Documents
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Download
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Music
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Pictures
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Public
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Templates
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Videos
-rw-r–r– 1 root root 6310241019 2009-02-20 21:58 vista.img

[root@sony joe]# dd if=/dev/sda1 | gzip -9 – >recovery.img
14276608+0 records in
14276608+0 records out
7309623296 bytes (7.3 GB) copied, 739.479 s, 9.9 MB/s
[root@sony joe]# ls -l
total 12022456
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Desktop
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Documents
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Download
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Music
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Pictures
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Public
-rw-r–r– 1 root root 5988678705 2009-02-20 22:15 recovery.img
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Templates
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Videos
-rw-r–r– 1 root root 6310241019 2009-02-20 21:58 vista.img

[root@sony joe]# mv vista.img vista.img.gz
[root@sony joe]# mv recovery.img recovery.img.gz
[root@sony joe]# ls -l
total 12022456
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Desktop
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Documents
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Download
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Music
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Pictures
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Public
-rw-r–r– 1 root root 5988678705 2009-02-20 22:15 recovery.img.gz
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Templates
drwxr-xr-x 2 joe  joe        4096 2009-02-20 03:05 Videos
-rw-r–r– 1 root root 6310241019 2009-02-20 21:58 vista.img.gz
[root@sony joe]#

 

Step 2: Boot from the Ubuntu CD and install Linux!

 

Previous: Part 1 – the OOB Experience

eRacks Sony Laptop – Part 1 – the OOB Experience

eRacks Sony Laptop – Part 3 – Virtual Windoze

June 9th, 2009

Posted In: Laptop cookbooks, Open Source, Products, Technology

Tags: , , , , , , ,

Leave a Comment

vaioPreamble

It’s been our goal for some time to bring compelling value to Linux Laptops, in a way that truly surpasses whats available from a Windows or Mac laptop, beyond just “Almost as good but cheaper with free software”, which seems to be one of the prevailing current perceptions we need to overcome.

The lovely style and features of Sony laptops and notebooks, have always generated inquiries from our customers about our plans to carry them.  (Also others, like Lenovo, which we already carry).

This series of posts is about our ambitious plans to add value, and truly make your Linux Sony Laptop experience from us far superior to what it would be from a run-of-the-mill vendor.

Read on.

The OOB (Out of Box) Experience

Windows Tax, File Format leverage, and FUD

For years, we’ve sold laptops with Linux only, and with no “Windows Tax”.

Although this has been good, and has been well-received by the market and the Open Source community, Microsoft and other proprietary software vendors, notably Intuit, have been tenacious about leveraging control of their file formats, limiting control over your own data, and using the usual other vendor lock-in techniques to ensure you can’t move away from their products without severe switching costs, “Compatibility issues”, and other FUD (fear, Uncertainty, and Doubt) and FUDlike behavior.

“I’m your new bookkeeper.  I assume you have QuickBooks?”

“Hi, joe, this is Fred, your CPA – do you have those latest QuickBooks files of the company’s books, so we can get your taxes done on time?”

And so forth.

True Value

With this in mind, we are introducing some solutions, courtesy of Virtualization (specifically, KVM, the excellent and well-received hypervisor built into the Linux kernel – not the proprietary VMWare, although that could be used, too), which will allow the best of all possible worlds –

  1. Native Linux compatibility and raw speed
  2. Complete windows compatibility and instance, with full control or greater
  3. Isolation from viruses and other malware
  4. Ease of backups, system administration, and forth
  5. Freedom from restrictions controlled by proprietary vendors (Sony, Microsoft).

Coming Up

In this series of posts, we will be going over many things – the installation process, moving partitions around for both OSes, running windows “In Place” with the original licenses, etc, reviewing various linuxes (Linuces?) for their hardware compatibility, Dual Boot vs Virtualized Windows-in-a-window, “Tech Tips” and what we did to get things working, how it works and what it does, in the end – and so forth.

This concludes “Part 1 – the OOB Experience” — Stay tuned, as it were…

j

May 27th, 2009

Posted In: Uncategorized

Leave a Comment

« Previous Page