Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Friday, March 12, 2021

KNOPPIX 9.1 CD version

KNOPPIX is the very useful OS based on Debian linux, and can be run from live CD. However, recent versions of KNOPPIX became bigger more than 4GB needs DVD.  It can be installed on a USB flash media.

Easy2Boot is also very useful utility which can boot multiple OSs from ISO files stored in the single removal flash media.  But, recent KNOPPIXs were very difficult (not impossible) to be treated by E2B because KNOPPIX ISOs (>4GB) were not stored in the FAT32 drive of E2B.

In KNOPPIX 9.1, CD image is also released after several years !! It can become loaded by E2B.

KNOPPIX9.1 with E2B is the very powerful and portable tool for our computing life!! 

Sunday, October 13, 2019

Raspberry pi zero and USB3 memory stick

Raspberry pi Zero (Pi-Zero) may not be able to recognize USB3 devices because of a power shortage of USB port. My Extreme Pro USB3.0 stick (128G, SANDISK) is not recognized by Pi-Zero without using a self-powered USB hub. However, a self-powered USB hub is too inconvenience to carry due to a bulky AC adapter.

The "max_usb_current=1" in the /boot/config.txt, which changes the Maximum USB current to 1.2 A, is not effective for Pi-Zero

I am using "Double-Powered USB hub (USB-HUB227WH3, SANWA supply, JAPAN)" which I bought very long ago.


If the Red connector is connected to a USB port or a power adapter, electrical power of USB hub is overloaded above 1A, like a self-powered Hub.  It can also be used as a bus-powered hub without using the Red connector.

With the USB-OTG setting, My USB3.0 memory stick can be used in Pi-Zero by connecting the red connecter to a 1A power adapter only.

Needless to say, just USB2.0 speed.

Saturday, April 27, 2019

Remote desktop on Ubuntu-Mate for Raspberry pi

The long-awaited Ubuntu-Mate 18.04 for Raspberry pi is disclosed !!

I immediately installed for my Raspberry pi3.

However, the remote desktop from windows (xRDP) does not work well but only shows black screen.

From web information, several configurations are required for xRDP on ubuntu-mate 18.04.

My setting for xRDP and more is below.

1.
sudo apt-get update
sudo apt-get upgrade

2. (not for xRDP)
sudo apt-get install hardinfo ntp cifs-utils

3.
sudo apt-get install tightvncserver xrdp

4. EDIT "/etc/xrdp/startwm.sh"
Insert below two lines 
             unset DBUS_SESSION_BUS_ADDRESS
             exec mate-session
before the line "test -x /etc/X11/Xsession && exec /etc/X11/Xsession"

5. EDIT "/etc/X11/Xwrapper.config"
Add below to the last line
           allowed_users=anybody
           needs_root_rights=no

6. EDIT "/boot/config.txt" (not for xRDP)
Add below to the last line
           # turn power LED into heartbeat
           dtparam=pwr_led_trigger=heartbeat

7.
sudo reboot

Thursday, August 20, 2015

MX200 firmware update

A new firmware of MX200 SSD was released.


A system recovery image had been created, just in case.


Then, updated.

All existing data stored on SSD were preserved after updating.


Benchmarking by CrystalDiskMark version3 (MX200 500GB / mSATA3 / D54250WYKH).

The general performance seems to be inferior to the previous firmware?

Monday, April 20, 2015

Ubuntu MATE on INTEL-iMac late 2006

I tried to install Ubuntu-MATE 14.04 (ubuntu-mate-14.04.2-LTS-desktop-amd64+mac.iso) on my iMac late2006 (core2duo 2.16GHz), which had been retired recently.
Ubuntu was installed with pure EFI booting instead of Bootcamp because OSX was no longer used.  Unlike the case of PPC-Mac, the installation was easily done.


But, the long-time whiteout screen appears before booting when turn on the power.  According to here,  this boot delay occurs when installed by Mac-EFI mode.  Immediately, I tried to remove the boot delay by this instruction.


However, I couldn't run efibootmgr because "modprobe efivars" was never effected.

Next, I tried easyUEFI on bootable windowsPE, but the bootable disk created by easyUEFI didn't boot on my iMac. 

The Bootcamp mode (MBR) rather than EFI mode seems to be troubleless when using ubuntu on Intel-Mac.

Sunday, April 5, 2015

Lubuntu 14.04.2 for PowerPC

I installed the second point release of lubuntu 14.04.2 cleanly on my powermac G5 (2.0G Dualcore, late2005, GeForce6600LE).  After installation, the openbox syntax error was shown.

On investigation, "lubuntu-rc.xml" file was missing on the specified location.  I copied this file from live CD to the specified location, then it works fine (till now ?).

On live CD
sudo cp /home/lubuntu/.config/openbox/lubuntu-rc.xml /media/lubuntu/[installed drive]/home/[username]/.config/openbox/

In addition, the yaboot parameter "nouveau.noaccel=1" was needed for 3.16.0-30 kernel (the original installed kernel of lubuntu 14.04.2), but unneceessary in updated 3.16.0-33 kernel, and the sound problem must be fixed manually in the same way as lubuntu 15.04.

Sunday, March 8, 2015

Ubuntu MATE for PowerPC

I tried to install Ubuntu-MATE, newly released for PowerPC, on my powermac G5 (2.0G Dualcore, late2005, GeForce6600LE) following Lubuntu 15.04.
Unfoutunately, my powermac always froze and couln't be installed neither 14.04LTS nor 15.04 beta-1 although I used many yaboot parameters such as "video=ofonly", "nouveau.noaccel=1" and "nouveau.modeset=0".  

Tuesday, December 9, 2014

Lubuntu 15.04 for PowerPC

Unfortunately, Lubuntu 14.10 had not been released owing to several bugs.  I tried to install Lubuntu 15.04 (Vivid Vervet) Daily Build for PowerPC on my powermac G5 (2.0G Dualcore, late2005, GeForce6600LE).
Though it was easy to install from the live CD (DVD), booting OS needed the yaboot parameter "nouveau.noaccel=1" for disabling acceleration.  Problem about sound must be fixed according to PowerPCKnownIssues.
In my feeling, stabilities or unstabilities of lubuntu 15.04 (daily build) are almost as same as Lubuntu 14.04.

lubuntu 14.04.2

Sunday, November 30, 2014

SATA and USB3.0 upgrade on PowerMac G5

The late 2005 models of PowerMac G5 have PCI-express slots while a few PCIe boards for powerpc-Mac were sold out.  But, on linux, the radeon HD videocard for WIN-PC was reported to be work fine (linklink).  I tried to install Transcend PDC3 (USB3.0 / SATA III combo card for WIN-PC), which I used on my WIN-PC.  This PDC3 is compatible to PCI-express 2.0 1x but PowerMac G5 has only PCIe 1.0.

The Samsung 840EVO SSD was connected to PDC3.

Lubuntu 14.04 recognized my SSD without trouble, then I run a benchmark test by  "hdparm" command.
On the benchmark test, the SSD proved twice as fast as the one connected to internal SATA I slot.  However, that speed is almost as same as SATA II because of PCIe 1.0 of PowerMac G5.  SSD connected to PDC3 is of course unable to be used for a boot drive. 

Next, USB3.0 was tested.  From my experience, newer kernels of ubuntu cannot recognize USB3.0 while the older kernels (e.g. 3.13.0-36) are good.  Moreover, SATA and USB3.0 don't seem to work together at the same time on PDC3.  

I used SANDISK extreme USB for a benchmark test, that was connected to PDC3 and internal USB, respectively.
On the benchmark test, the USB3.0 proved ten times as fast as the internal USB2.0 although it wasn't match for the full speed of USB3.0.
If using PCIe x4 cards, more better paerfomances may be seen.

Friday, November 28, 2014

SSD (samsung 840EVO) on PowerMac G5

As far as I know, Samsung 840EVO is one of the compatible SSD for PowerMac G5 whereas only some models of SSD can work with PowerMac G5.  I bought and installed it for my PowerMac G5 (late2005 model).  The 840EVO, whose firmware was updated on WIN-PC, is very fast and quiet while PowerMac G5 has only SATA I.


I tried to run a benchmark but the standerd benchmark test of PPC-lubuntu couldn't work disappointingly. 

Then, the hdparm command was used for a quasi-benchmarking.

Expectedly, the speed of 840EVO on PowerMac G5 was only as SATA I.  However, I am satisfied with the present tweaking.

Wednesday, September 17, 2014

Windows7 running on Powermac G5 (experimental) - part4

Recently, Lubuntu powerpc becomes stable and QEMU also becomes more stable and compatible.
I found the report of windows7 running on qemu / macport of OSX but it was reported to be still slow compared with VirtualPC for Mac 7.02
Then, I tried to run windows7 on QEMU2.0 / Lubuntu 14.04,1.

First, install qemu
           apt-get install qemu
    for sound emulation
           apt-get install pulseaudio

Second, I converted the previous disk image file installed windows7 starter (VPC for Mac 7) to qcow2 file.

           qemu-img convert -f vpc -O qcow2 diskimage.vhd diskimage.qcow2

QEMU for PPC-linux can simulate at most 2047 MB RAM while VPC7 can do max. 512MB.  QEMU can also be simulated multi-processor or -core, however windows7 starter supports only uniprocessor.
For sound emulation, "-soundhw ac97" option is needed and the driver must be installed manually (link).

          qemu-system-i386 -m 2047 -smp 2,cores=2,sockets=1,threads=1 -localtime -vga std -soundhw ac97 -hda diskimage.qcow2


Unfortunately, Windows7 on QEMU/Linux was slow as same as on VPC7 with ramdisk.
Sounds also work ....but with severe delay.

On my several trials, a little speed-up could be observed when a disk image file was on high-speed USB drive (I used SANDISK EXTREME) than on the internal SATA HDD.
Other faster devices (SSD or RAM disk) may show better perfomance.  I hope for the future updates, for expamle more RAM could be assign.

Monday, September 1, 2014

PowerPC Lubuntu kernel

When the new updates including kernel 3.13.0-35-powerpc-smp were installed, the bug appeared again.  I felt the kernel 3.13.0-33 and 3.13.0-34 were very stable.  So, the kernel was changed to 3.13.0-34 and it's working good.

Saturday, August 9, 2014

Lubuntu 14.04 for PowerPC becomes stable ?

The first point release of ubuntu 14.04.1 was disclosed.  In original release of lubuntu 14.04, there were some troubles around Geforce 6600LE videocard on my PowerMac G5 (late 2005).  Especially, the bug of mouse cursor with noise often appeared and caused the kernel panic.

Although the yaboot parameter "video=ofonly nouveau.noaccel=1" was used, I didn't feel a remarkable change.  However, this bug seems to disappear after recent updates !?

Sunday, July 20, 2014

SD-installed Lubuntu 14.04 on EeePC 4G-X (701)

Asus EeePC is a very funny machine.  I have a EeePC 4G-X (701) and love it.
Originally, it had only 512 Gb ram and on-board 4Gb SSD.  I have upgraded 2Gb memory and attached ZIF socket for 64Gb SATA SSD by DIY-soldering.   However, this mod-EeePC cannot boot from the equipped SATA SSD.  Unfortunetely, the KINGSPEC SATA SSD, which I bought, is fucking and makes a internal SSD unrecognized.  To boot Windows7 from SATA SSD, I use Multiple Boot Manager installed on SD card.
This tool is simple but very useful.
This time, I tried to intall linux on SD card and setup a dual booting of Windows7 and Linux because the MBM-installed SD card has much free spaces.
Two-steps dual booting was setup.
A long time was needed to start Lubuntu 14.04 even if I used Transcend UHS-1 SD TS32GSDHC10U1E, reasonable from SANDISK extreme PRO.
In EeePC 4G-X, my impression of using Lubuntu 14.04 installed on SD is in no way inferior to Windows7 on SSD.  Fn keys also work after installation due to EEEPC hotkey driver.

Saturday, June 7, 2014

Lubuntu 14.04 on Powermac G5

New LTS ubuntu (14.04) for PowerPC has been released.  I installed on my powermac G5 (2.0G Dualcore, late2005, GeForce6600LE).  Ubuntu 10.04LTS works fine but the previous version 12.04LTS doesn't work due to videocard problem.  Now, Lubuntu 14.04 PPC is easily installed from the live cd.  Problems about sound and network indicator occurred but could be fixed according to PowerPCKnownIssues.
....However, the video problem appears again after the newer kernel 3.13.0-27.50 was updated.

after story 1
after story 2
lubuntu 15.04
lubuntu 14.04.2
ubuntu MATE