顯示具有 linux 標籤的文章。 顯示所有文章
顯示具有 linux 標籤的文章。 顯示所有文章

2012年7月18日 星期三

Quote: Make bootable usb from bootable cd on Windows

quote from:
http://www.ehow.com/how_5942169_convert-bootable-iso-bootable-usb.html

1

Insert your USB drive into the USB slot in your computer. Open a command prompt window by going through the “Start” menu and searching for “command prompt.” Type “diskpart” into command prompt and press “Enter.” Enter in “list disk” and see what disk number your USB flash drive is. Enter in “select disk #” with # being the disk number of your USB drive. If your USB is disk 3, you would enter in “select disk 3.” Type in “clean” and your USB drive will be erased.


2

Type in “create partition primary” followed by “select partition 1.” Type in “active” and then “format fs=fat32.\" Finally enter in “assign” and type in “exit.” Your USB is now ready to have the ISO put onto it. Copy and paste your bootable ISO file into your USB flash drive. Alternatively, you can mount the ISO file as a virtual drive with Daemon Tools, which is available in the resource section of this guide. Once mounted, open a new command prompt window and enter in “xcopy d:\\*.* /s/e/f e:\\.” The drive letter “d” is the mounted ISO drive and the drive letter “e” is the USB drive. If your ISO is drive X and USB is Y, the command will be “xcopy x:\\*.* /s/e/f y:\\.”


3

Reboot your computer and enter into the BIOS settings by pressing the “F2” button when you see your computer manufacturer’s name. Go to “Boot Options,” and set your USB drive as 1st priority. Press the “F10” button to save your settings, and your computer will reboot from the USB drive.

/dev/sda1 is apparently in use by the system

Possible:

Mount
Umount /dev/sda1

Used by RAID
mdadm -S /dev/md1

2012年5月24日 星期四

Linux登出之後,讓程式繼續執行的方法

nohup yourCommand

Refer:
http://dragonspring.pixnet.net/blog/post/33257496-%5Blinux%5Btips%5Dnohup%3A-%E8%AE%93command%E5%9C%A8%E9%81%A0%E7%AB%AF%E5%9F%B7%E8%A1%8C%EF%BC%8C%E4%B8%8D%E5%9B%A0%E7%99%BB%E5%87%BA
http://franks543.blogspot.com/2008/02/linux.html

2012年4月23日 星期一

Kick user/ terminal on linux

## show user
~# w
##
## kick terminal
~# skill -KILL -v pts/0
##
## kick user
~# skill -KILL -u user
##
## Stop/Pauseuser activites
~# skill -STOP -u user
##
## Resume a stopped user
~# skill -CONT -u user

http://servercomputing.blogspot.com/2012/01/kill-and-logout-users-in-pts-linux.html

2012年4月13日 星期五

Cannot mount boot partition (ext2)

Solution:
#tune2fs -O has_journal /dev/sda1

lilo: One warning was issued

#/sbin/lilo -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 09:05:22 on Apr 11 2012

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda
Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/linux-3.2.1-gentoo-r2
Added gentoo

Boot image: /boot/linux-3.2.2-hardened-r1
Added hardened *
Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
One warning was issued.

Try
#sbin/lilo -L -S /boot/boot.0800