Minimoy: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Windows XP Home: deleted - moved to own page)
m (moved Configuration Samsung NC10 Minimoy to Minimoy over redirect)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Installed Operating System ==
=== Current OS Log ===
* [[{{PAGENAME}} - Windows|Windows XP Home]]
** [[{{PAGENAME}} - Windows - Files|Configuration files]]
* [[{{PAGENAME}} - Ubuntu|Ubuntu Lucid Lynx 10.04]]
** [[{{PAGENAME}} - Ubuntu - Files|Configuration files]]

=== Previous OS Log ===
* [[{{PAGENAME}} - Eeebuntu NBR 3.0.1|Eeebuntu NBR 3.0.1]]
** [[{{PAGENAME}} - Eeebuntu NBR 3.0.1 - Files|Configuration files]]

== System ==
== System ==
=== Hardware ===
See also [[Linux Admin#Hardware|hardware page]] on this wiki.
* Laptop '''Samsung NC10'''

'''Wireless'''
* Wireless card: Atheros Communications Inc. AR5001 Wireless Network Adapter
<source lang="bash">
lspci -s 02: -v
# 02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
# ...
# Kernel driver in use: ath5k
</source>
<source lang="bash">
sudo lshw -C network
# configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.25 firmware=N/A latency=0 link=no multicast=yes port=twisted pair
</source>
<source lang="bash">
modinfo iwlagn
# filename: /lib/modules/2.6.32-26-generic/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
# version: 0.6.0 (EXPERIMENTAL)
</source>

=== Log ===
=== Log ===
{| class="install_log"
<!-- !!! space after Settings, Install, Uninstall... are unbreakable space !!! -->
|-
* [<tt>2009-09-01</tt>] <tt>'''Hardware'''&nbsp;&nbsp;-</tt> '''USB DVDWriter SE-S084B'''.
|[2009-09-01]||'''Hardware'''||Installed '''USB DVDWriter SE-S084B'''
** [<tt>2009-09-01</tt>] <tt>'''Settings'''&nbsp;&nbsp;-</tt> Changed region code to '''2''' (with DVD Decrypter).
|-
* [<tt>2009-09-02</tt>] <tt>'''BIOS'''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-</tt> '''MBR''' - Write protect MBR (to protect against virus and... GRUB!)
* [<tt>2009-09-02</tt>] <tt>'''BIOS'''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-</tt> '''Boot sequence''' - USB CD, USB HDD, HDD.
|[2009-09-02]||'''Settings''' &mdash; DVDWriter||Changed region code to '''2''' (with DVD Decrypter).
|-
|[2009-09-02]||'''BIOS'''||'''MBR''' - Write protect MBR (to protect against virus and... GRUB!)
|-
|[2009-09-02]||'''BIOS'''||'''Boot sequence''' - USB CD, USB HDD, HDD.
|-
|[2010-08-10]||'''BIOS'''||'''Upgraded''' to version '''11CA''', using ''Windows'' tool from [http://www.samsungpc.com/08/products/nc10/firmware.html Samsung]. This solved issue of brightness keys not working under Linux.
|}


=== Partition ===
=== Partition ===
{| class="wikitable"
{| class="wikitable"
|-
|-
!Device!!Label!!Size!!Type!!Mount!!Options!!uid!!gid!!permissions
|<tt>/dev/sda1/</tt>||align="right"|20003 MB||ntfs||<tt>/windows</tt>||root||plugdev||<tt>drwxrwx---</tt>
|-
|-
|<tt>/dev/sda2/</tt>||align="right"|15002 MB||reiserfs||<tt>/</tt>||root||root||<tt>drwxr.xr.x</tt>
|<tt>/dev/sda1/</tt>||SYSTEM||align="right"|20003 MB||ntfs||Defaults||<tt>/windows</tt>||root||plugdev||<tt>drwxrwx---</tt>
|-
|-
|<tt>/dev/sda3/</tt>||align="right"|2048 MB||swap||swap
|<tt>/dev/sda2/</tt>||UBUNTU||align="right"|15002 MB||reiserfs||notail,noatime||<tt>/</tt>||root||root||<tt>drwxr.xr.x</tt>
|-
|-
|<tt>/dev/sda4/</tt>||align="right"|122984 MB||ext3||<tt>/mnt/data</tt>||root||root||<tt>drwxrwxrwx</tt>
|<tt>/dev/sda3/</tt>||SWAP||align="right"|2048 MB||swap||Defaults||swap|| || ||
|-
|<tt>/dev/sda4/</tt>||DATA||align="right"|122984 MB||ext4||Defaults||<tt>/mnt/data</tt>||root||root||<tt>drwxrwxrwx</tt>
|}
|}



== Eebuntu NBR 3.0.1 (Ubuntu 9.04) ==

[http://www.eeebuntu.org/ EEEbuntu NBR 3.01] is a Ubuntu distribution adapted to netbooks.<br>
The kernel is the [http://www.eeebuntu.org/index.php?page=array Array Kernel], adapted specifically to the drivers needed for Netbooks.

=== Installed Applications ===
* [<tt>2009-10-04</tt>] '''Gnome DO''' (<tt>gnome-do</tt>)
* [<tt>2009-10-04</tt>] '''Synergy 1.3.1''' keyboard/mouse sharing (<tt>synergy</tt>). To start the client: <div style="padding-left:2em;"><source lang="bash">$ sudo synergyc --daemon -n minimoy --restart gryphon</source></div>
* [<tt>2009-10-04</tt>] '''VIM''' (<tt>vim</tt>)
* [<tt>2009-10-04</tt>] '''p7zip''' (<tt>p7zip-full p7zip-rar</tt>)
* [<tt>2009-10-04</tt>] '''Opera 10.00'''
* [<tt>2009-10-04</tt>] '''Samba''' (<tt>samba smbfs</tt>). To mount a share: <div style="padding-left:2em;"><source lang="bash">$ sudo mount -t cifs -o username=baddreams,allow_utime=22,umask=002,uid=1000,gid=124 //phoenix/D$ /net/phoenix/d</source></div>
* [<tt>2009-10-04</tt>] '''NFS Client''' (<tt>nfs-common</tt>)
* [<tt>2009-10-04</tt>] '''XBMC''' (<tt>nfs-common</tt>) as explained [http://xbmc.org/wiki/?title=HOW-TO_install_XBMC_for_Linux_on_Ubuntu_with_a_minimal_installation_step-by-step here]
** Added source '''<tt><nowiki>deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ jaunty main</nowiki></tt>'''

<!-- template lines
* [<tt>2009-xx-yy</tt>] <tt>'''Settings'''&nbsp;&nbsp;-</tt> some text here.
* [<tt>2009-xx-yy</tt>] <tt>'''Install'''&nbsp;&nbsp;&nbsp;-</tt> some text here.
* [<tt>2009-xx-yy</tt>] <tt>'''Uninstall'''&nbsp;-</tt> some text here.
-->
=== Simple Settings ===
* [<tt>2009-10-04</tt>] '''Wireless Network''': '''Preferences''' &rarr; '''Network Connections''' &rarr; '''Added''' new connection (''ManticoreNet'', Available to all users, WPA & WPA2 Personal).
* [<tt>2009-10-04</tt>] '''[[Gnome#Gnome_Terminal|gnome-terminal]]''', set '''default window size (system-wide)''' to '''150x43'''.

=== Detailed System Settings ===
==== 1st install ====
* 1st install on [<tt>2009-09-21</tt>]
* Language: '''English'''
* Keyboard layout: '''Belgium, Belgium'''
* Location: '''Europe, Brussels'''
* Name: '''Arthur'''
* Login name: '''arthur'''
* Computer name: '''minimoy'''
* '''Log in automatically'''
* Partition: ''see above''
* (advanced...) '''Participate in the package usage survey'''

==== Update ====
* [<tt>2009-09-21</tt>] - do '''not install/update''' because of failure at boot time:
** ''linux-headers-2.6.29-1''
** ''linux-headers-2.6.29-1-netbook''
** ''linux-image-2.6.29-1-netbook''
** ''linux-kernel-eb''

==== Config Files ====
All configuration files can be found [[Configuration Samsung NC10 Minimoy - Files|here]]
* [{{#filelink: .vimrc|Configuration Samsung NC10 Minimoy - Files}} ~/.vimrc].
* [{{#filelink: fstab|Configuration Samsung NC10 Minimoy - Files}} /etc/fstab].

==== Users ====
* Note: better create the users after updating default user home directory at <tt>/etc/skel</tt>.
* Note: use <tt>sudo su backupnas</tt> to login without specifying a password
<source lang="bash">
$ sudo useradd --uid 1025 --gid 124 -m -s /bin/bash guestnas
$ sudo useradd --uid 1027 --gid 124 -m -s /bin/bash backupnas
$ sudo useradd --uid 1028 --gid 124 -m -s /bin/bash photosnas
$ sudo useradd --uid 1029 --gid 124 -m -s /bin/bash moviesnas
$ sudo useradd --uid 1030 --gid 124 -m -s /bin/bash videosnas
$ sudo useradd --uid 1031 --gid 124 -m -s /bin/bash musicsnas
</source>

==== File System ====
For main partitions, see [[#Partition]] access conditions above.

<source lang="bash">
sudo mkdir -p /net/mnemosyne/public /net/mnemosyne/backup /net/mnemosyne/photos /net/mnemosyne/movies /net/mnemosyne/videos /net/mnemosyne/musics
sudo mkdir -p /net/mnemosyne/publicrw /net/mnemosyne/backuprw /net/mnemosyne/photosrw /net/mnemosyne/moviesrw /net/mnemosyne/videosrw /net/mnemosyne/musicsrw
</source>

=== Detailed Application Settings ===
==== Firefox ====
* Toolbars: Hide Bookmarks toolbar, use small icons.

==== Gnome DO ====
* [[Gnome#Gnome DO|My reference page]]
* Start Gnome DO at login
* Hide window on first launch (quiet mode)
* Launch key: '''<alt>+space'''.

==== Nautilus ====
* Default view: '''List View'''

==== Opera ====
* Set '''Master Password'''
* Home page = '''http://www.google.be'''
* Synchronize bookmarks (Opera Link)
* Startup '''Start with Speed Dial''' (more privacy-friendly)

=== To Do ===
==== Pending Issues ====
* <font color="red">'''Opera''' repository disabled because can't find public key.</font>


== 1st Install ==
== 1st Install ==

Latest revision as of 11:32, 26 April 2013

Installed Operating System

Current OS Log

Previous OS Log

System

Hardware

See also hardware page on this wiki.

  • Laptop Samsung NC10

Wireless

  • Wireless card: Atheros Communications Inc. AR5001 Wireless Network Adapter
lspci -s 02: -v 
# 02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
# ...
# Kernel driver in use: ath5k
sudo lshw -C network
# configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.25 firmware=N/A latency=0 link=no multicast=yes port=twisted pair
modinfo iwlagn
# filename:       /lib/modules/2.6.32-26-generic/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
# version:        0.6.0 (EXPERIMENTAL)

Log

[2009-09-01] Hardware Installed USB DVDWriter SE-S084B
[2009-09-02] Settings — DVDWriter Changed region code to 2 (with DVD Decrypter).
[2009-09-02] BIOS MBR - Write protect MBR (to protect against virus and... GRUB!)
[2009-09-02] BIOS Boot sequence - USB CD, USB HDD, HDD.
[2010-08-10] BIOS Upgraded to version 11CA, using Windows tool from Samsung. This solved issue of brightness keys not working under Linux.

Partition

Device Label Size Type Mount Options uid gid permissions
/dev/sda1/ SYSTEM 20003 MB ntfs Defaults /windows root plugdev drwxrwx---
/dev/sda2/ UBUNTU 15002 MB reiserfs notail,noatime / root root drwxr.xr.x
/dev/sda3/ SWAP 2048 MB swap Defaults swap
/dev/sda4/ DATA 122984 MB ext4 Defaults /mnt/data root root drwxrwxrwx

1st Install

  • 1st power-on: Windows completes its installation (→ choosen disabled auto update).
  • Windows boots, Samsung software installs itself
  • Restart into Samsung Recovery Solution III - partitioned disk as follows:
    • /dev/sda1 6GB - RECOVERY partition (hidden)
    • /dev/sda2 25GB - SYSTEM partition (C:)
    • /dev/sda3 118GB - DATA partition (D:)
  • Created SRS III backup image on RECOVERY partition.
  • Reboot into BIOS → disable HDD boot, enable USB boot.
  • (Linux USB) → Backep-up the MBR and partitions:
sudo dd if=/dev/sda of=Minimoy-sda-20090909.mbr bs=512 count=63
sudo sfdisk -l -uS /dev/sda >sfdisk-l-20090909.txt
sudo ntfsclone --save-image -o - /dev/sda1 | gzip -c > Minimoy-sda1-20090909.img.gz
sudo ntfsclone --save-image -o - /dev/sda2 | gzip -c > Minimoy-sda2-20090927.img.gz
  • (Linux USB) → Enable HDD boot, disable USB boot.
  • [2009-09-27] Uninstall - McAfee Antivirus, with McAfee Removal Tool (downloaded here, referenced here)
  • [2009-09-27] Uninstall - Samsung Recovery Solution III (because prevent removal of hidden RECOVERY partition)
  • Reboot to Linux USB, and changed partition type of /dev/sda1 to 0x07 (NTFS).
  • [2009-09-27] Settings - Deleted partition DATA (D:)
  • [2009-09-27] Settings - Deleted partition RECOVERY (not mounted)
  • (Linux USB) → With gparted, moved partition SYSTEM (/dev/sda1) to beginning of disk.
  • (Linux USB) → With sfdisk, moved partition /dev/sda2 to /dev/sda1.
  • Installed Eeebuntu NBR 3.01 (based on Ubuntu 9.04).