Nxl67002 - AndLinux: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎File System: New reiserfs volume /mnt/data)
Line 32: Line 32:
=== File System ===
=== File System ===
* On windows host,
* On windows host,
** File '''data.reiserfs.10GB.fs''' (10GB - see [http://www.tekcited.net/colinux-expanding-the-root-file-system/]):
** Device '''cobd2''': file '''data.reiserfs.10GB.fs''' (10GB - see [http://www.tekcited.net/colinux-expanding-the-root-file-system/]):
<div style="padding-left:4em;"><source lang="winbatch">
<div style="padding-left:4em;"><source lang="winbatch">
fsutil file createnew data.reiserfs.10GB.dvi 10737418240
fsutil file createnew data.reiserfs.10GB.dvi 10737418240
</source></div>
</source></div>
* Mounting Windows partition (giving RW access to user in group '''samba''') (see /etc/fstab)
* Mounting Windows partition (giving RW access to user in group '''samba''') (see [[{{PAGENAME}} - Files|/etc/fstab]])
* Format '''/dev/cobd2''' as ''reiserfs 3.6'', and mount it as <tt>/mnt/data</tt> (see [[{{PAGENAME}} - Files|/etc/fstab]]):
<div style="padding-left:4em;"><source lang="winbatch">
sudo mkreiserfs -l "DATA" /dev/cobd2
</source></div>
* File system structure:
* File system structure:
<div style="padding-left:2em;">
<div style="padding-left:2em;">
'''<u>/</u>''':
'''<u>/</u>''':
drwxr-xr-x 2 root root 4096 Oct 15 11:25 <font color="blue">windows</font>/
drwxr-xr-x 2 root root 4096 Oct 15 11:25 <font color="blue">windows</font>/
lrwxrwxrwx 1 root root 9 Oct 16 10:38 <font color="darkcyan">data</font> -> '''<font color="darkgreen">/mnt/data</font>'''/
'''<u>/mnt</u>''':
'''<u>/mnt</u>''':
drwxr-xr-x 2 root root 4096 Aug 19 2006 <font color="blue">and</font>/
drwxr-xr-x 2 root root 4096 Aug 19 2006 <font color="blue">and</font>/
drwxrwxrwx 4 root root 80 Oct 16 10:41 '''<font color="darkgreen">data</font>'''/
drwxr-xr-x 2 root root 4096 Oct 15 11:25 <font color="blue">winc</font>/
drwxr-xr-x 2 root root 4096 Oct 15 11:25 <font color="blue">winc</font>/
drwxr-xr-x 2 root root 4096 Oct 15 11:25 <font color="blue">wind</font>/
drwxr-xr-x 2 root root 4096 Oct 15 11:25 <font color="blue">wind</font>/
'''<u>/windows</u>''':
'''<u>/windows</u>''':
lrwxrwxrwx 1 root root 9 Oct 15 11:25 <font color="darkcyan">c</font> -> <font color="blue">/mnt/winc</font>/
lrwxrwxrwx 1 root root 9 Oct 15 11:25 <font color="darkcyan">c</font> -> <font color="blue">/mnt/winc</font>/
lrwxrwxrwx 1 root root 9 Oct 15 11:25 <font color="darkcyan">d</font> -> <font color="blue">/mnt/wind</font>/
lrwxrwxrwx 1 root root 9 Oct 15 11:25 <font color="darkcyan">d</font> -> <font color="blue">/mnt/wind</font>/
</div>
</div>



Revision as of 14:48, 16 October 2009

Introduction

This page is dedicated to the configuration settings of AndLinux on my Dell Latitude D620.

Configuration files

All configuration files can be found here.

Installed Applications

  • [2009-10-16] - dlocate (dlocate)
  • [2009-10-16] - apt-file (apt-file)
  • [2009-10-16] - ReiserFS User-Tools (reiserfsprogs)

Simple Settings

  • [2009-10-14] - Added cofs1=D:\ to settings.txt
  • [2009-10-15] - Added /usr/local/bin/be (quick switching to be keyboard layout)

Detailed System Settings

1st Install

  • Install on [2009-10-14]
  • AndLinux Beta 2 - minimal / XFCE version
  • CoLinux kernel 0.7.4 (stable version)
  • Memory 384MB
  • Install XMing (use primary screen resolution)
  • Enable sound
  • run andLinux automatically as a NT service + use Windows shortcuts
  • User andlinux
  • User CoFS (will have issue with special character but at least I don't have to use my beq06659 account and password)
    • Share C:\
  • Reboot
  • sudo apt-get update
    

File System

  • On windows host,
    • Device cobd2: file data.reiserfs.10GB.fs (10GB - see [1]):
fsutil file createnew data.reiserfs.10GB.dvi 10737418240
  • Mounting Windows partition (giving RW access to user in group samba) (see /etc/fstab)
  • Format /dev/cobd2 as reiserfs 3.6, and mount it as /mnt/data (see /etc/fstab):
sudo mkreiserfs -l "DATA" /dev/cobd2
  • File system structure:
/:
  drwxr-xr-x 2 root root 4096 Oct 15 11:25 windows/
  lrwxrwxrwx 1 root root    9 Oct 16 10:38 data -> /mnt/data/
/mnt:
  drwxr-xr-x 2 root root 4096 Aug 19  2006 and/
  drwxrwxrwx 4 root root   80 Oct 16 10:41 data/
  drwxr-xr-x 2 root root 4096 Oct 15 11:25 winc/
  drwxr-xr-x 2 root root 4096 Oct 15 11:25 wind/ 
/windows:
  lrwxrwxrwx 1 root root    9 Oct 15 11:25 c -> /mnt/winc/
  lrwxrwxrwx 1 root root    9 Oct 15 11:25 d -> /mnt/wind/

Network

  • Added to /etc/hosts: 172.19.100.1 gryphon
  • Added domain prefix for home and nxp to /etc/resolv.conf: search be-leu01.nxp.com wbi.nxp.com diamond.nxp.com hell

Users / Groups

  • User andlinux (shell /bin/bash), group andlinux, admin, lpadmin, samba (for sudo, CUPS, samba RW).
  • User beq06659 (shell /bin/bash), group beq06659, admin, lpadmin, samba (for sudo, CUPS, samba RW).
    • Recovered files: ~/.bashrc || ~/.basshrc || ~/.dircolors.cfg || ~/.inputrc || ~/.vimrc || ~/bin/
  • Group samba (gid 124)

Detailed Application Settings

SSH

  • Installed SSH-Tunnel
  • Files recovered from other installation (ssh-tunnel v2.26 + patch):
    • sudo cp .../ssh-tunnel.pl /usr/local/bin
      
    • sudo cp .../ssh.pl /usr/local/bin
      
    • sudo chmod a+x /usr/local/bin
      
  • User beq06659 - configuration file in directory ~/.ssh:
    • id_rsa || id_rsa.pub || authorized_keys || config || config-home || config-nxp || config-home
    • clbanner.txt || proxy.conf (for ssh-tunnel)


To Do

None.