Jan 25

Problem again, as I think it’s easy it will be late. This problem about setting up Ubuntu 6.06.1 on Dell PowerEdge 2950.

เจอปัญหาอีกแล้ว นึกว่าจะติดตั้งได้ไว (ปัญหาในการทำ computer 1 ข้อ ก็คือ อะไรที่คิดว่าน่าจะเสร็จได้ไว มักจะมีปัญหาทำให้ล่าช้าทุกครั้ง) เป็นปัญหาการติดตั้ง Ubuntu 6.06.1 บน Dell PowerEdge 2950

Dell PowerEdge 2950 (as in x9xx series) used PERC5/i then ubuntu’s kernel don’t have megaraid_sas in this version (2.6.15). When you setup will see more drive than you think
ex. if your server have 3 HD it will shown 4 HD (the last drive as RAID)
but you can install ubuntu in it but when restart, you found Grub loading error 21.

ปัญหาเกิดจาก Dell PowerEdge 2950 (ใน series นี้น่าจะเป็นหมด) ใช้ PERC 5/i ซึ่ง kernel ของ Ubuntu ไม่มี module นี้ ทำให้มองเห็น RAID ต่างๆที่กำหนดไว้ เพิ่มมาอีก 1 drive เช่น มี HD 3 ตัว จะเท่ากับว่ามี HD 4 ตัวรวม RAID ซึ่งถ้าทำ RAID 5 ควรจะเห็น HD เพียงแค่ ตัวเดียว ซึ่งทำให้หลังจากติดตั้ง Ubuntu เสร็จจะไม่สามารถ boot ได้ และจะขึ้น Grub loading error 21 ไม่ว่าจะทำไงก็จะ error ทุกครั้งเศร้า

This problem solve by Robert (ubuntuforums.org) but I change it to my setting :

ปัญหานี้ มีวิธีแก้ไขเขียนโดย คุณ Robert (ubuntuforums.org) ซึ่งขอปรับให้เข้ากับที่ใช้กับผมเอง
- HD เป็น SATA 3 ตัว ทำ RAID 5
Continue reading »

written by Mr-San \\ tags: , ,

Nov 30

It’s not difficult but make sure about some config in your application before doing them. Because Ubuntu will not support Breezy-Badgers in 6 months, but Dapper Drake is LTS (Long Term Support) it suitable for server.
My step is

  1. backup old sources.list : cp /etc/apt/sources.list /etc/apt/sources.list.breezy
  2. change sourcelist to

    deb http://th.archive.ubuntu.com/ubuntu/ dapper main restricted
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://th.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

    ## Uncomment the following two lines to add software from the ‘universe’
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://th.archive.ubuntu.com/ubuntu/ dapper universe multiverse
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper universe multiverse

    ## Uncomment the following two lines to add software from the ‘backports’
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://th.archive.ubuntu.com/ubuntu/ dapper-backports main restricted univer se multiverse
    deb-src http://th.archive.ubuntu.com/ubuntu/ dapper-backports main restricted un iverse multiverse

    deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

  3. use apt-get update : to update list file
  4. use apt-get dist-upgrade : to upgrade your server to dapper (beware need dist-upgrade not upgrade)
  5. reboot your system

After this process may check your application, just run fine or not.

written by Mr-San \\ tags: , , ,

Close
E-mail It