Monday, August 31, 2009

need to remember few commands to run file manger

I start to use the x-window but I can only run those command in terminal mode I can use sudo -i but I can not activate the file manager in ubuntu by luck I found it is call the root@kohfamily-desktop:/usr/java# nautilus ** (nautilus:5175): WARNING **: Unable to add monitor: Operation not supported Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing. [when i try to copy this portion, as window user i use CTRL-C and it stop the process ] now i remember i can use #nautilus & or use CTRL-Z to run in the background anyway, for the time being it is working Still i need to run terminal by activating in file manager as previous in Solaris environment I will able to open terminal with directory where ever the file manager stop It save the typing in terminal mode BTW. the command # xterm & run the x-windows terminal and black background seem better for me to read but then nautilus & still better to use as it has copy and paste further more i found that i can toggle directory location bar to text base. So i can copy and paste into the terminal The other command I remember now is df . And the command df give kohfamily@kohfamily-desktop:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb2 10309828 2761676 7024436 29% / tmpfs 222284 0 222284 0% /lib/init/rw varrun 222284 112 222172 1% /var/run varlock 222284 0 222284 0% /var/lock udev 222284 160 222124 1% /dev tmpfs 222284 76 222208 1% /dev/shm lrm 222284 2192 220092 1% /lib/modules/2.6.28-15-generic/volatile /dev/sdb3 6815184 240248 6228736 4% /home /dev/sdb1 16334 11016 5318 68% /media/Ubuntu Inst /dev/sda1 71139568 23570044 47569524 34% /media/disk

how to create a bootable usb hdd

I still amid of experiment but that how i do it along with ubuntu help most of the time I access help via https://help.ubuntu.com/9.04/installation-guide/i386/boot-usb-files.html how to get there is via Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Installation Guide > Obtaining System Installation Media > Preparing Files for USB Memory Stick Booting I boot up using ubuntu live cd I used the partition editor (Gparted) to partition my 40 HDD 2.5" HDD to create the smallest partition 18mb FAT 16 the second partition is 10Gb EXT 3 / third partition 6Gb EXT 3 /home last partition 2Gb SWAP I committed the action Then I got problem continue so I continue to install the ubuntu on the ext hdd I have to install Gpart as not in std installation #apt-get install gpart but i take a rest next day I read the ubuntu help again and it is much clearer the first partition i created is /dev/sda1 download to /tmp fr netboot/boot.img.gz # zcat boot.img.gz > /dev/sda1 All the files are there ! [last night I struggle to copy the system file vmlinuz (kernel binary) initrd.gz (initial ramdisk image) but it is either not able to be copied in the installed sytem or I do not it is contained in the casper directory in the LiveCD ] then i #mount /dev/sdX1 /mnt try to use vi but forgot all command so i use the text editor and found the files in the /mnt directory change the file syslinux.cfg include menu.cfg default vesamenu.c32 prompt 0 timeout 0 to default vmlinuz append initrd=initrd.gz only ========================== THIS PORTION is found to be fatal and wrong after that root@ubuntu:/mnt# cd / root@ubuntu:/# umount /mnt root@ubuntu:/# root@ubuntu:/# install-mbr /dev/sda1 The program 'install-mbr' is currently not installed. You can install it by typing: apt-get install mbr -bash: install-mbr: command not found root@ubuntu:/# root@ubuntu:/# apt-get install mbr after installing ... mbr root@ubuntu:/# install-mbr /dev/sda1 THIS PORTION does not work for HDD and distroy all the works done as in the rest of section ================================================ let try and it should works I try on old PC and does not work but it does work well on HP nx6325 notebook

Sunday, August 30, 2009

番茄花园

我托友人从中国带回来 番茄花园XP SP3 V5.1 我迫不及待装了两个系统 其中一个,和无版图 ubuntu 并拢在 40MB硬盘内 很简单 先装 番薯花园 下载 无版图 LiveCD .iso 下载 Free Easy Burner 制造成 无版图 LiveCD 从 无版图 LiveCD 启动 装上 无版图 结果以后MBR可以启动番薯花园视窗或无版图

double boot to Linux and Windows

Search on the web there is lot of infor on double boot to Linux and Windows Beginner do check on http://www.howtoforge.com/dual_boot_windows_xp_vista_ubuntu_feisty One of the key point I notice is that MS Windows has to be installed first (I install Tomatolei Chinese Windows) Then install Linux (I did try out UBunTu) and it works easily ! The most important is to choice the manual partition As for the partition of 40 MB HDD I divide into two half first 20Mb for windows FAT 32 The last partition of 2Gb for SWAP I divide another partition 10Gb for partition / Ext 3 the rest for partition /home Ext 3 I add the option to port over the user in windows After boot up I saw both options of Ubuntu and Windows in the MBR I boot up in Ubuntu and I saw the wallpaper of Tomatolei ! So I wonder if there will be a hinder if Google OS /Linux is to be set up first and later left the option of install MS windows later

Plan to setup a server or depository

I suddenly want to record this idea I want to build a server or depository to record and upload some of my data It may like my yahoo groups that hold some of my data in work or study It is also a diary that record my work so far I have been doing some of it online with yahoo group Maybe I should get a portable USB HDD to hold some of my private data...

create bootable USB HDD

http://www.novell.com/communities/node/4536/how-create-external-usb-bootable-linux-hard-drive-without-dual-boot

Thursday, August 27, 2009

struggle and get Fedora 11 up on one hdd

After install the Fedora I dun quite like it unless i found this following site http://www.mjmwired.net/resources/mjm-fedora-f11.html#moreinfo this is a website even ubuntu user should take a look too

Monday, August 17, 2009

IME Input Method Edition SCIM

https://help.ubuntu.com/community/SCIM even thought I have installed Sim Chinese but as a record I put this blog as a reminder

Plan list to reinstall Ubuntu

I read the documentations and planning the re-install I understand some idea how to re-partition the hdd. http://gparted.sourceforge.net/screenshots.php I may consider to create a swap partition of 2Gb size I also may make a /home or /data partition I plan to write script to install java I just need to remember download QQ for linux