2007年11月15日木曜日

man

When you use 'man xxxx' help, then press 'Q' key to quit.
It's something else with much space or pagedown.

nano

'nano' is a text editor. It is very useful. You can end to edit file with pressing F2 key. It is very light and simple.

repolist conf file about Debian.

nano /etc/apt/sources.list

In trouble, use Tab key. When you press Tab key twice time then get a proper path.

Do you know 'nano'? It is an application to edit. Have you already installed it?

2007年11月13日火曜日

multi boot GRUB

if you would change menu.lst to another. Type like this in GRUB menu.
X (or x-1) is the partition which has new menu.lst file.

root (hd0,x)
setup (hd0)

2007年11月3日土曜日

mount options

You shuld be careful to mount-options. Do you know 'uid, gid or defaults' ?
You can get a infomation from manual help.
Type 'man mount' or 'man fstab'. And check one which you search for.

2007年9月14日金曜日

dd

(input file): if
(output file): of

2007年9月6日木曜日

For Deleting on Linux system.

'-r' option is famous to use 'rm' command.
If you want delete some files, input '(sudo) rm -r' before name of files and folders.
But it cannot undo, are you ok?

2007年9月3日月曜日

cp command

When you copy some directories, use cp command with -a option.
They are copied by linux cp command as windows.

2007年9月2日日曜日

Those work as same.

1.

@echo off
REM KNOPPIX on Windows File System
REM Written by Japanese KNOPPIX TEAM 2004.08.17
REM Contact: knoppix@m.aist.go.jp
REM License GPL

REM Changelog
REM 2005-04-11 IIJIMA Kengo
REM - Update to 0.6.1.
REM - Change boot devices to cloop file from CD-ROM.

REM Start qemu on windows.
qemu.exe -L . -m 225 -boot d -cdrom qemu-extract_cloop.iso -hda ..\KNOPPIX\KNOPPIX -hdb qemu_sw.img -user-net -enable-audio -localtime

REM If you get iso image of KNOPPIX, please use the following options.
REM qemu.exe -L . -m 128 -boot d -cdrom knoppix.iso -user-net -enable-audio -localtime
REM ^^^^^^^^^^^^^^^^^^^^^^^^^^


(nikkei Linux)


2.

@ECHO OFF

set qemu_dir=C:\Linux\Distro
set hd=%qemu_dir%\qemu_ubuntu_3gb
set swap=%qemu_dir%\qemu_swap_512mb
set cdrom=%qemu_dir%\DIST-Ubuntu-6.10.iso
set mem=256

qemu -hda %hd% -hdb %swap% -cdrom %cdrom% -m %mem% -boot d -L .
pause


http://colinux.wikia.com/wiki/Ubuntu61

2007年8月31日金曜日

How to cancel a process.

You will be able to send cancel command with 'Ctrl+C'.

2007年8月24日金曜日

For repairing your Grub by using LiveCD.

If your GRUB system stops in the case,

STAGE 1
STAGE 1
STAGE 1
.
.
.

, you will be able to mend broken yourselves grub with LiveCD.
First, start up computer from LiveCD.
Next, mount important partition.
Then chroot at the mount point, and type 'grub-install hd0
(or /sbin/grub-install hd0)'.

#mount /dev/hdax /mnt
#chroot /mnt
#grub-install hd0

( This is old )

2007年8月21日火曜日

(coLinux) xml bootparam

if you didn't run 'update-rc.d -f xdm remove' and cannot login by X system hazard, then look this page
'http://scratchpad.fc2web.com/colinux/install/install-7.html'.

You will be able to login with single mode.
Edit -c xxxxx.xml file. It has bootparam section. Add 'single' as the member of params.
Next you can login coLinux.

(coLinux) dist-upgrade

I couldn't run 'aptitude dist-upgrade'. For upgrading coLinux Debian dist to sarge, use 'apt-get' command.
And in /etc/apt/sources.list file comment out lines, but only sarge group.
So you can get to add sarge new server.

2007年8月18日土曜日

coLinux

I bought nikkei linux book.
http://ec.nikkeibp.co.jp/item/books/163180.html

It was very good. So, I can guess ' In interfaces setting properly input gateway, that is not gataway.'
If route command doesn't return default(windows) then you had wrong typing.

This is about coLinux

2007年8月9日木曜日

Kubuntu swap

Browse a page 'Helping Kubuntu'. It is in Kubuntu Official page.
Search by 'fstab' on the web page.
none swap sw,pri=1 0 0

Fedora display

Do you have this line which is ' Modes "1024x768" "800x600" '. Open the file which is '/etc/X11/xorg.conf'.

kmail account

There is an item which is "send host name defined by user".
Check and set it to use mail.

check swap

#nano /etc/fstab
LABEL=swap none swap sw 0 0
or
LABEL=swap swap swap defaults 0 0


swapon -a

swapon -s

openSUSE update

You can install yum.

Ubuntu update

sudo aptitude update
sudo aptitude upgrade

Vine update

apt-get update
apt-get upgrade

2007年8月8日水曜日

Mandriva update

Use urpmi command.
Google "Easyurpmi", and get repolist.
You can also install aptitude or yum.

2007年8月5日日曜日

first step

本日Google blog を作成。

jiro の共有アイテム