Gung Note

วันเวลาผ่านไป สิ่งที่เคยเห็น.. สิ่งที่เคยได้ยิน.. และสิ่งที่ได้ประสบ... มันจะคงอยู่ในนี้ตลอดไป.

วันอาทิตย์, กรกฎาคม 24, 2554

เล่มมาสองวันรู้สึกได้เลย Facebook ถึงช่วงขาลงแล้ว

- Circles แบ่งได้ชัดเจน โดยเฉพาะ public สุดยอดไปเลย ทำให้รู้สึกคนที่สนใจในเรื่องเดียวกันได้ง่ายขึ้น
- Hangout เหมือนจะทำ webcam ได้หลายๆ คนพร้อมกัน
- Edit สุดยอดเขียนผิดไปแก้ไขได้
- มี email เป็นหลักหมดปัญหา limit เปลี่ยนชื่อบ่อยๆไม่ได้
- Picasa เหมือนได้บุญเก่าที่ทำไว้ มันกลับมาหมดเลย FB ทำเจ็บมาก ไม่สามารถ download Albumsได้

เหลือ Fanpages Google+ จะเป็นแบบไหน


// -----  2017/09/15
   คนไทย   Facebook ได้รับความนิยม     Google+  ไม่ไม่ถึงฝัน



วันพุธ, มีนาคม 30, 2554

ยากับคุณ(ค้นหาข้อมูลยา)

http://www.yaandyou.net/index.php

วันอาทิตย์, มีนาคม 27, 2554

office ของเกมไพ่เท็กซัส Boyaa ที่จีน







วันพฤหัสบดี, มีนาคม 24, 2554

Oracle Data Provider, Error OUI cannot determine the platform of the system


Windows 7

ให้ Compatibility > Compatibility mode > Run this program in compatibility mode for Windows 2003 Server

วันอังคาร, มีนาคม 22, 2554

Eclipse 3.5 + JDK 1.6.0_20 work on UBUNTU 10.10

ไม่มีปัญหาเหมือน windows
---------------------------------
Eclipse SDK (Gallileo)
Version: 3.5.0
Build id: I20090611-1540
----------------------------------
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
-----------------------------------

eclipse galileo jvm terminated exit code=-1

Eclipse เปิดไม่ขึ้น ไม่รู้โปรแกรมอะไรมันไป Update Java เป็น 1.6.0_20
เจอใน c:\windows\system32\java.exe แก้ path อยู่ตั้งนาน พอลบทิ้งไฟใน system32
ใช้งานได้เหมือนเดิม check java -version
java version "1.6.0_18"
work.
-------------------------------
Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343
-------------------------------

วันเสาร์, มีนาคม 19, 2554

Config thai font for Chrome on Ubuntu

วันอังคาร, มีนาคม 15, 2554

QRcode thai, nihongo, English

Link: http://qrcode.kaywa.com

ป้ายกำกับ: , ,

CreateBootPartitionAfterInstall

This tutorial covers how to create a boot partition for an Ubuntu 10.04 install after installing the system without a boot partition.

Commands executed improperly can lead to an unbootable condition. If this happens, the user can use the Ubuntu installation CD to repair the installation to a working condition.

All device names (like /dev/sda1 and hd0,1) used in the tutorial must be adjusted to match the partitions on the user's specific system. Do not copy commands in this tutorial without adjusting the drive/partition designations when appropriate!

Why may you want to do this?

  • Grub 2 error: no such partition.

  • BIOS limitations prevent the system from seeing the /boot partition files before an Operating System is loaded.
  • The user is using an OS filesystem format not compatible with the boot loader and must create a compatible ext2/3/4 partition for booting purposes.

What other options are there?

  • If an older BIOS doesn't recognise the full hard drive size, enable the 'large file' option (such as enabling LBA) in the BIOS settings; obtain a BIOS update from the manufacturer; or move the entire Ubuntu installation to the first part of the hard drive.

Needed for this tutorial are

Preparations

Booting the Ubuntu Live CD

Boot from the Ubuntu Live CD as you would normally, select your language and choose the 'Try Ubuntu' option

Creating a partition for /boot

Once your system has booted from the live CD open GParted via the 'System -> Administration -> Gparted Partition Editor' menu.

Unmount the swap partition: Highlight it, then Partition -> Swapoff

Create a partition of at least 200 MB of free space. This partition can be created from existing unallocated space, or by shrinking another partition and using the newly-created free space.

  • On older systems or very large drives, ensure the boot partition is within the area recognised by the BIOS. Check the BIOS settings for the reported disk size. It may be necessary to place the new boot partition before the Linux/Ubuntu partition in order for the BIOS to see it.

For guidance on creating partitions read this: HowtoPartition

For this guide, actions will be taken on a main Ubuntu installation partition and a new boot partition. These partitions will be designated as:

  • /dev/sda2 - 200 MB (minimum) new boot partition
  • /dev/sda1 - 10 GB linux installation partition

Remember to change the designations to match those on your system. The current partitioning setup can be viewed with the sudo fdisk -l (lowercase L) command.

If the boot flag is currently on your Ubuntu partition, move it to the new boot partition. This can be done with Gparted or the Disk Utility application.

  • Q: Is this really necessary? GRUB and LILO are supposed to ignore the bootable flag

    A: In rare cases, the motherboard BIOS requires a partition with a bootable flag in order to boot from the hard drive. In these cases, GRUB or LILO are not given control even if installed in the MBR.

The partition order can be changed so that /dev/sda1 comes before /dev/sda2 when using the fdisk command using the advanced options.

  • Changing these designations may affect system files which still identify partitions by device name rather than UUID.

Moving files from existing /boot to new location

Open a terminal via Applications -> Accessories -> Terminal To run commands as 'root' for the commands in this guide without using 'sudo': sudo su

Mount drives

Make the mount points. In this guide, we will mount the main Ubuntu partition on /mnt/main, and the new boot partition on /mnt/boot

mkdir /mnt/boot /mnt/main

Mount the two partitions:

mount /dev/sda2 /mnt/boot
mount /dev/sda1 /mnt/main

Copy /boot files

cp -a /mnt/main/boot/* /mnt/boot/

Remount the boot partition

Unmount the boot partition from /mnt and remount to /boot:

umount /dev/sda2
mount /dev/sda2 /boot

Editing the files from your Ubuntu install

Add /boot to your /etc/fstab

If you want to find out the UUID and confirm the format of the /boot partition type:

blkid -c /dev/null | grep "/dev/sda2"

The output should look similar to:

/dev/sda2: UUID="" TYPE=""

Open /etc/fstab for editing:

gedit /mnt/main/etc/fstab

Note the format in fstab should match the format reported by the blkid command (ext2, ext3, ext4, etc). Add this line.

/dev/sda2    /boot     ext3     defaults    0  0

or to use the preferred UUID designation:

UUID=  /boot   ext3   defaults 0  0

Setting up GRUB 2

Using the same mounting procedures as previously executed, from the LiveCD:

umount /dev/sda1 /dev/sda2
mount /dev/sda2 /mnt/boot
mount /dev/sda1 /mnt/main
apt-get update
grub-install --root-directory=/mnt/main /dev/sda

Continue at the Reboot section.

Setting up GRUB Legacy

Edit /boot/grub/menu.lst

in the console write

gedit /boot/grub/menu.lst

gedit opens with the menu.lst file,

find the part that says: {{{UUID= /boot defaults 0 0 Example: UUID=0d5f0b33-c9c2-4b10-873b-7e9df9448df4 /boot ext3 defaults 0 0

# groot=(hd0,0) }}}

and change the line

# groot=(hd0,0)
You have now unmounted the boot partition,<
>
deleted all the files from /boot in the / (root) filesystem.<
>
recreated the /boot dir as empty dir.<
>
remounted the boot partition.

to

# groot=(hd0,1)

Next, update the boot entries at the end of the file. Since you now have a /boot partition, all kernel and initrd paths are relative to /boot/ instead, eg.

title           Ubuntu 10.04, kernel 2.6.32-27-generic
root (hd0,1)
kernel /vmlinuz-2.6.32-27-generic root=UUID=41f24518-160e-48a1-9bb1-295213e94a67 ro quiet splash
initrd /initrd.img-2.6.32-27-generic
quiet

Update root to match that of groot above and remove /boot from the kernel and initrd paths in all the entries.

Reinstall grub

run:

sudo grub
grub> root (hd0,1)
grub> setup (hd0)

remember in the setup command do not use hd0,1 as you need to install grub in the master boot record not in this specific partition boot record.

Reboot

Reboot your system by typing: reboot You will be asked to remove the CD and press "ENTER" before the system will reboot.

Final Cleanup

You are now booted using your new /boot partition but in the old /boot folder and files still exist on the / (root) filesystem.

To clean this up, open up a terminal and type the following commands to unmount the /boot partition, make a backup copy and then delete the old /boot folder*, recreate the /boot folder, and remount the new boot partition:

The 'rm -rf' command, if executed improperly, can delete your entire installation. Ensure you have unmounted the new /boot partition with the 'umount' command and confirm you have typed or copied the "rm" command exactly before executing it! A backup copy of the old boot folder will be placed in /root/Desktop

sudo su
umount /boot
cp -a /boot /root/Desktop
rm -rf /boot
mkdir /boot
mount /boot
exit

Maintenance

If using Grub legacy (not Grub 2), when you install a new linux kernel you may need to reinstall grub after mounting your boot partition over /boot in the live-CD root as shown above.


CategoryBootAndPartition

CreateBootPartitionAfterInstall (last edited 2011-01-03 19:31:06 by drs305)



link: https://help.ubuntu.com/community/CreateBootPartitionAfterInstall

วันอังคาร, กุมภาพันธ์ 01, 2554

Hibernate - Enable or Disable - Windows 7 Forums

Hibernate - Enable or Disable - Windows 7 Forums: "- Sent using Google Toolbar"

วันจันทร์, มกราคม 31, 2554

価格.com - 「買ってよかった」をすべてのひとに。

วันจันทร์, มกราคม 24, 2554

สร้าง Facebook,Pages

http://www.facebook.com/pages/create.php

ลืมไปแล้ว

วันอาทิตย์, มกราคม 23, 2554

สีรถ, คนเกิดวันเสาร์

คนเกิดวันเสาร์

- ตามหลักทักษาคนที่เกิดวันเสาร์ ห้ามใช้ ฎ ฏ ฐ ฑ ฒ ณ เพราะเป็นอักษรกาลกิณี
- เลขทะเบียนรถห้าม ไม่ให้มีเลข 4 และเลข 6
- ไม่ควรทำการมงคลต่างๆ ในวันพุธ (กลางวัน) เพราะเป็นกาลกิณีในวันเกิดและไม่ควรทำการมงคลต่างๆ ในวันศุกร์
เพราะเป็นวันคู่ศัตรูวันเกิด
- ถ้าจะออกรถ สีรถที่ควรเลือกใช้หรือสีรถที่ถูกโฉลก ของคนเกิดวันเสาร์

รถสีแดง

เสริมดวงให้คนยอมรับเชื่อถือและไว้วางใจ

รถสีชมพู
เสริมดวงให้ประสพผลสำเร็จได้รับการอุปถัมภ์ค้ำชู ได้รับการสงเคราะห์เกื้อหนุนจากผู้ใหญ่ ได้รับการส่งเสริม ในการดำเนินชีวิตและหน้าที่การงาน

รถสีน้ำเงิน สีฟ้า
เสริมดวงด้านความสงบปลอดภัยจากเหตุร้าย เช่น อุบัติเหตุ แคล้วคลาดจากอันตรายทั้งปวง

รถสีทา สีบรอนซ์
เสริมโชควาสนา เสริมวาสนาบารมี โชคลาภ ความโชคดี

รถสีทอง สีเหลือง
เสริมดวงด้านการแก้ปัญหา ไร้อุปสรรค ไร้ศัตรูและคู่แข่ง ชีวิตมีแต่ความสะดวก ราบรื่น

รถสีดำ สีม่วงแก่
เสริมความเป็นสิริมงคลแก่ชีวิต หลักทรัพย์ โชคลาภ เสน่ห์ที่ทำให้คนรักใคร่เมตตา และศรัทธาในตัวเรา

รถสีเขียว สีแสด
เป็นสีต้องห้าม เพราะเป็น กาลกิณี หมายถึง โชคร้าย อัปมงคล ความเป็นเสนียด ศัตรูคู่แข่ง อุปสรรคในการดำเนินชีวิต

ที่มา: http://www.mahamodo.com/tamnai/color_car.asp