2009. 2. 3. 15:22

How to install Fedora 10 without CD / DVD or any optical media

Use Case
  1. When you don't have CD / DVD drive on your system.
  2. You have Fedora DVD but your system has only a CD Drive.
  3. You don't want to waste time and resources in burning iso on optical media.
Pre-requisites
  1. You have a Fedora DVD iso or rescue cd iso.
  2. You have a Linux installation on your system.
  3. You have a partition (FAT32, ext2, ext3) which you will not format while installing the new OS.
How to proceed

Let us assume you want to install Fedora 10 on your system and you have a Linux distro already installed on your system. You have downloaded the Fedora DVD iso (Fedora-10-i386-DVD.iso). And you have a FAT32/ext2/ext3 partition /stuff/ which you will not format during installation.

Step 1 : Move the Fedora DVD iso to /stuff/ directory.

[root@saini saini]# mv Fedora-10-i386-DVD.iso /stuff/ [Enter]

Step 2 : Mount Fedora DVD iso on /mnt/

[root@saini saini]# mount /stuff/Fedora-10-i386-DVD.iso /mnt/ -ro loop [Enter] (do as root)

Step 3 : Copy the initrd.img and vmlinuz to /boot/ partition

[root@saini saini]# cd /mnt/isolinux/ [Enter]
[root@saini isolinux]# cp initrd.img vmlinuz /boot/ [Enter] (do as root)
[root@saini isolinux]# cd /mnt/ [Enter]
[root@saini mnt]# mkdir /stuff/images [Enter]
[root@saini mnt]# cp /mnt/images/install/img /stuff/images/ [Enter] (do as root)

Step 4 : Create grub entry for booting into Fedora 10

Add these lines at the end of your /boot/grub/grub.conf file.

title Fedora 10 (New installation)
    kernel /vmlinuz
    initrd /initrd.img

Step 5 : Note the device having Fedora DVD iso

[root@saini saini]# df -h [Enter]
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              15G  9.5G  4.1G  70% /
/dev/sda8             135G  116G   13G  91% /stuff
/dev/sda5             4.8G  1.2G  3.4G  26% /home
/dev/sda1              99M   12M   82M  13% /boot

In this case /dev/sda8 contains Fedora DVD iso. Note this down as you need it later.

Step 6 : Reboot

Reboot your system and boot into the Fedora 10 (New installation) grub entry.

Step 7 : Install from hard disk

While in installation wizard, select "Hard drive" as installation method and choose /dev/sda8 as it contains the Fedora DVD iso. And rest is damn easy.

Test result : Fedora 8 --> Fedora 10 upgrade

test date: 2009.02.03.
test result: OK.

2008. 12. 9. 10:11

개발 문서 관련 자료

새로운 프로젝트를 진행하는데 개발 문서를 좀 제대로 적용해 보고자 한다.

모든 문서를 만들겠다는 것은 아니지만, 그래도 틀에 맞추어 꼭 필요한 것만 하나라도 만들어서 진행하고자 하여 개발 문서 관련 자료를 검색하다 보니 좋은게 있다.

http://www.pogner.demon.co.uk/mil_498/

군에서 사용하는 것인데, 우선 참고하기에 좋은 것 같다.

뭐가 이렇게 많은지, 단순하게 코딩만 해서는 안된다는 것은 알지만, 제대로 하려면 글 쓰다 시간 다 보내겠구만...

여하튼, 해보자...

첨언: MIL-STD-498은 미 국방성의 소프트웨어 개발 및 문서화 표준 요건에 대한 규정으로 기존의 DoD-STD-2167A(국방시스템 소프트웨어 개발표준)과 DoD-STD-7935A(미국방성 자동화시스템 문서화표준)을 통합한 것으로 지금은 IEEE 12207로 통합되었다.

 

2008. 11. 3. 20:13

AVR ATmega168V를 사용하는 것은 개발 마무리 중

별로 도움이 될 만한 내용을 작성하지도 않았는데, 벌써 언급할 만한 게 없다.

debugWIRE 전환 시험하느라고 망가졌던 것 - 총 4개는 다시 시험해 보니, 여전히 동작하지 않았다.

그냥 포기하기로 하였다. - 시간 낭비인 듯.

나중에 시간되면, FAE에게 보내 봐야 겠다.

작은 MCU이다 보니, 참 쉽고 빠르게 진행되었던 것 같다.

AVR 쓰면서 좋은 것 하나는 Internal RC OSC가 있어서 별도로 XTAL을 달지 않아도 된다는 것이다.

처음에 10MHz XTAL 짜리 붙였다가 모두 떼었다. 큰 장점인 듯.

그런데, AVR내의 Flash 정보는 security 기능이 있는 걸까? 양산 전에 확인해 볼 사항이다.

(복제 방지에는 필수품)