Beforehand a really BIG BIG THX to
aloksinha2001, linuxium, mmm123
I) Foreword
II) Dualboot Android & Linux
III) First steps at Linux
IV) Backup
V) Android & Multiboot Linux
VI) Different devices / kernels
sudo passwd root [I]<enter>[/I]
sudo passwd linuxium [I]<enter>[/I]
sudo nano /etc/network/interfaces [I]<enter>[/I]
pre-up ifconfig eth0 hw ether [I]e2:38:61:79:76:74[/I]
cd /lib/modules
sudo tar -xzf /home/linuxium/dx05_sd_linux_1.1.0_modules.tgz
ls /dev/sd*
sudo mkdir /mnt/usb-stick
sudo mount -t ext2 /dev/sdb1 /mnt/usb-stick
ls /mnt/usb-stick
sudo tar -xzf /mnt/usb-stick/dx05_sd_linux_1.1.0_modules.tgz
ls -al /lib/modules/3.0.36+/kernel/fs
sudo depmod -a
sudo insmod /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8188eu/8188eu.ko
ping -c 5 {another ip at your network}
nslookup www.google.com
ping -c 5 www.google.com
sudo apt-get install openssh-server
sudo apt-get install vsftpd
cd /etc
sudo nano vsftpd.conf
sudo restart vsftpd
sudo apt-get install tightvncserver
vncserver
cat /home/linuxium/.vnc/LINUXIUMONE:1.log
vncserver -kill :1
sudo nano /etc/init.d/vncserver
#!/bin/sh -e ### BEGIN INIT INFO # Provides: vncserver # Required-Start: networking # Default-Start: S # Default-Stop: 0 6 ### END INIT INFO # the user for whom the VNC-Server starts export USER="linuxium" # the Display-Nummer DISPLAY="1" # the color depth (8, 16 or 24) DEPTH="16" # the desired resolution GEOMETRY="1024x768" # the name of the VNC-Desktop NAME="linuxium-VNC" OPTIONS="-name ${NAME} -depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}" . /lib/lsb/init-functions case "$1" in start) log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}" su ${USER} -c "/usr/bin/vncserver ${OPTIONS}" ;; stop) log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}" su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}" ;; restart) $0 stop $0 start ;; esac exit 0
sudo chmod a+x /etc/init.d/vncserver
sudo update-rc.d vncserver defaults
/etc/init.d/vncserver start
/etc/init.d/vncserver stop
Size Used Avail linuxium-ubuntu1204: 2.5G 1.6G 770M linuxium-lubuntu1304: 2.5G 1.8G 594M linuxium-xubuntu1304: 2.5G 1.9G 462M linuxium-debian7-wheezy: 3.0G 2.7G 127M picuntu-4.5-basicgui: 1.2G 1.1G 42M
sudo resize2fs /dev/[I]{device(-partition-number)}[/I]
sudo resize2fs /dev/sda
sudo apt-get install gparted
sudo fdisk -l /dev/[I]{device}[/I]
sudo fdisk -l /dev/mmcblk0
Device Boot Start End Blocks Id System /dev/mmcblk0p1 63 12370049 6184993+ 83 Linux /dev/mmcblk0p2 12370050 24740099 6185025 83 Linux /dev/mmcblk0p3 24740100 37110149 6185025 83 Linux /dev/mmcblk0p4 37110150 61850249 12370050 5 Extended /dev/mmcblk0p5 37110213 49480199 6184993+ 83 Linux /dev/mmcblk0p6 49480263 61850249 6184993+ 83 Linux
sudo dumpe2fs -h /dev/[I]{[/I][I]device(-partition-number)}[/I]
sudo dumpe2fs -h /dev/mmcblk0p1
Filesystem volume name: linuxroot Last mounted on: / Filesystem UUID: edda5ddd-7965-4b24-89d2-2663c305a4e6 : Filesystem OS type: Linux Inode count: 163840 Block count: 655360 Reserved block count: 32768 Free blocks: 229691 :
sudo dd bs=4M if=[I]{image-name} [/I]of=/dev/[I]{device(-partition-number)}[/I]
sudo tune2fs -L [I]{device(-partition)-label-name}[/I] /dev/[I]{device(-partition-number)}[/I]
sudo dd bs=4M if=linuxium-ubuntu1204-desktop-rfs-BASIS.img of=/dev/mmcblk0p1 sudo tune2fs -L linuxroot /dev/mmcblk0p1
sudo dd bs=4M if=linuxium-ubuntu1304-lubuntu-desktop-rfs.img of=/dev/mmcblk0p2 sudo tune2fs -L lubuntu /dev/mmcblk0p2
sudo dd bs=4M if=linuxium-ubuntu1304-xubuntu-desktop-rfs.img of=/dev/mmcblk0p3 sudo tune2fs -L xubuntu /dev/mmcblk0p3
sudo dd bs=4M if=linuxium-debian7-wheezy-desktop-rfs.img of=/dev/mmcblk0p5 sudo tune2fs -L wheezy /dev/mmcblk0p5
sudo dd bs=4M if=picuntu-4.5-basicgui-nand_system.img of=/dev/mmcblk0p6 sudo tune2fs -L picuntu /dev/mmcblk0p6
mkdir ~/img [I]<enter>[/I] mkdir ~/SD_part [I]<enter>[/I]
sudo mount -o loop [I]{image-name}[/I] ~/img [I]<enter>[/I] sudo mount -t ext4 /dev/[I]{device-partition-number}[/I] ~/SD_part [I]<enter>[/I]
sudo cp -r -a ~/img/* ~/SD_part
sudo umount ~/SD_part [I]<enter>[/I] sudo umount ~/img [I]<enter>[/I] sudo tune2fs -L [I]{device-partition-label-name}[/I] /dev/[I]{device-partition-number} <enter>[/I]
mkdir ~/img mkdir ~/SD_part sudo mount -o loop linuxium-ubuntu1204-desktop-rfs-BASIS.img ~/img sudo mount -t ext4 /dev/mmcblk0p1 ~/SD_part sudo cp -r -a ~/img/* ~/SD_part sudo umount ~/SD_part sudo umount ~/img sudo tune2fs -L linuxroot /dev/mmcblk0p1
sudo mkdir ~/SD_part
sudo mount -t ext4 /dev/[I]{device(-partition-number)}[/I] ~/SD_part
cp dx05_sd_linux_1.1.0_modules.tgz ~/SD_part/home/linuxium
cp dx05_sd_linux_1.1.0_modules.tgz ~/SD_part/home/picuntu
sudo umount ~/SD_part
################################### ## ## ## 1. mmcblk0p1 linuxroot ## ## 2. mmcblk0p2 lubuntu ## ## 3. mmcblk0p3 xubuntu ## ## 4. mmcblk0p5 wheezy ## ## 5. mmcblk0p6 picuntu ## ## ## ################################### Please select a partition [1..5]:
sudo chmod a+x switch_rfs
sudo ./switch_rfs
sudo dd bs=4M if=/dev/mmcblk0p[I]{partition-number}[/I] of=[I]{wherever-you-want}[/I]
CONFIG_CMDLINE_FROM_BOOTLOADER=y # CONFIG_CMDLINE_FORCE is not set
"root=LABEL=linuxroot"
# CONFIG_CMDLINE_FROM_BOOTLOADER is not set CONFIG_CMDLINE_FORCE=y CONFIG_CMDLINE=xxxxxxxxxxxxxxxxxx
CONFIG_CMDLINE="initrd=0x62000000,0x00800000 root=LABEL=linuxroot init=/sbin/init"
- General - Extensions -> Install the 'VM VirtualBox Extension Pack'
Name: {what ever you want} Type: Linux Version: Ubuntu (64 bit) -> Next Memory Size: >=1024 MB -> Next Hard Drive: 'Create a virtual hard drive now' [Create] Hard drive file type: 'VDI (VirtualBox Disk Image)' Storage on physical hard drive: 'Dynamically allocated' File location and size: >= 10GB
- General -> Advanced - Share Clipboard: Bidirectional - Drag'n'Drop: Bidirectional - System -> Processor - >= 2 - Display -> Video - Video Memory = 128 MB - Enable 3D Acceleration - Storage -> CD -> via the symbol select the 'Ubuntu.iso' file you have downloaded - USB -> Enable USB 2.0 - Shared Folder -> 'Machine Folders' -> [+] [U][B]DO NOT CHECK[/B][/U] 'Auto-Mount' !!!
uname -a
sudo apt-get install linux-headers-3.5.0-27-generic
sudo nano /etc/fstab
{your-share-name} /home/{your-user-name}/{your-share-name} vboxsf defaults 0 0
Transfer /home/ich/Transfer vboxsf defaults 0 0
sudo reboot
sudo apt-get install git-core flex bison build-essential gcc-arm-linux-gnueabihf libncurses5-dev zlib1g-dev lib32z1 lib32ncurses5 sharutils lzop
CONFIG_INITRAMFS_SOURCE="{path to the cpio}"
CONFIG_INITRAMFS_SOURCE=""
sudo apt-get update sudo apt-get upgrade sudo apt-get install git-core flex bison build-essential gcc-arm-linux-gnueabihf libncurses5-dev zlib1g-dev lib32z1 lib32ncurses5 sharutils lzop mkdir RK3188 cd RK3188 mkdir Tools mkdir SRC cd SRC mkdir aloksinha cd aloksinha git clone git://github.com/aloksinha2001/Linux3188 # 167.42 MB cd Linux3188 mv .config .config_aloksinha cp ~/Transfer/mmm123_config_1.1.1/config.1.1.1_recovery .config cd ~/RK3188/SRC/ mkdir mmm123_initramfs cd mmm123_initramfs cp ~/Transfer/mmm123_dx05_boot_from_sd_recovery_1.1.1/dx05_sd_linux_1.1.1_recovery.img recovery.img cd ~/RK3188/Tools git clone git://github.com/olegk0/tools mv tools olegk0 mkdir Kuisma cd Kuisma cp ~/Transfer/unmkbootimg.gz unmkbootimg.gz gunzip unmkbootimg.gz cd ~/RK3188/SRC/mmm123_initramfs ~/RK3188/Tools/Kuisma/unmkbootimg recovery.img > unmkbootimg_output.txt cat unmkbootimg_output.txt ls -al cd ~/RK3188/SRC/aloksinha/Linux3188 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j2 ls -al arch/arm/boot/ ls -al ~/RK3188/SRC/mmm123_initramfs/ mkdir ~/RK3188/Kernel mkdir ~/RK3188/Kernel/mmm123 cd ~/RK3188/Kernel/mmm123 mv ~/RK3188/SRC/aloksinha/Linux3188/arch/arm/boot/Image Image mv ~/RK3188/SRC/aloksinha/Linux3188/arch/arm/boot/zImage zImage ~/RK3188/Tools/olegk0/mkbootimg --kernel Image --ramdisk ~/RK3188/SRC/mmm123_initramfs/initramfs.cpio.gz --pagesize 16384 --ramdiskaddr 62000000 -o recovery.img ls -al cp recovery.img ~/Transfer/recovery_mmm123.img
cd RK3188 cd Tools git clone https://github.com/phjanderson/marvin # 76.34 kB cd ../SRC mkdir phjanderson cd phjanderson git clone https://github.com/phjanderson/Linux3188 # Merge of https://github.com/aloksinha2001/Linux3188 # 167.50 MB .......
There are currently 3937 users online. 1 members and 3936 guests.
Most users ever online was 37,478 at 04:14 on 26 June 2024.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment