Package: linux-image-PKGVER-ABINUM-FLAVOUR
Architecture: ARCH
Section: base
Priority: optional
Pre-Depends: dpkg (>= 1.10.24)
Provides: linux-image, linux-image-2.6, fuse-module, =PROVIDES=
Depends: initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda
Conflicts: hotplug (<< 0.0.20040105-1)
Recommends: BOOTLOADER
Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER
Description: Linux kernel image for version PKGVER on DESC
This package contains the Linux kernel image for version PKGVER on
DESC.
.
Also includes the corresponding System.map file, the modules built by the
packager, and scripts that try to ensure that the system is not left in an
unbootable state after an update.
.
Supports SUPPORTED processors.
.
TARGET
.
You likely do not want to install this package directly. Instead, install
the linux-FLAVOUR meta-package, which will ensure that upgrades work
correctly, and that supporting packages are also installed.
Package: linux-headers-PKGVER-ABINUM-FLAVOUR
Architecture: ARCH
Section: devel
Priority: optional
Depends: coreutils | fileutils (>= 4.0), SRCPKGNAME-headers-PKGVER-ABINUM, ${shlibs:Depends}
Provides: SRCPKGNAME-headers, SRCPKGNAME-headers-2.6
Description: Linux kernel headers for version PKGVER on DESC
This package provides kernel header files for version PKGVER on
DESC.
.
This is for sites that want the latest kernel headers. Please read
/usr/share/doc/SRCPKGNAME-headers-PKGVER-ABINUM/debian.README.gz for details.
Package: linux-image-debug-PKGVER-ABINUM-FLAVOUR
Architecture: ARCH
Section: devel
Priority: optional
Provides: linux-debug
Description: Linux kernel debug image for version PKGVER on DESC
This package provides a kernel debug image for version PKGVER on
DESC.
.
This is for sites that wish to debug the kernel.
.
The kernel image contained in this package is NOT meant to boot from. It
is uncompressed, and unstripped. This package also includes the
unstripped modules.
위 세가지 Package (linux-image..., linux-headers..., linux-image-debug...)에 대한 내용을 모두 복사해서...
vi debian.master/control.stub.in
이 파일의 마지막 부분에 추가하여 붙여 넣고 다음과 같이 수정합니다. (반드시 각 Package 문단 사이에 공백 한 줄을 넣어 띄어야 합니다.)
파일안에 나타나는 모든 부분에 대해 변경해야 합니다. 빼먹으면 컴파일하다 멈추니까 정확히 수정하세용.
FLAVOUR => core2로 변경
ARCH => i386
BOOTLOADER => grub
=PROVIDES= => 삭제
DESC, SUPPORTED, TARGET => 패키지 설명하는 부분인데 수정하지 않아도 상관없습니다.
PKGVER = > 2.6.28
ABINUM => 15 # 컴파일 할 버전인 2.6.28-11에서 11에 해당하는 번호 SRCPKGNAME => linux
debian 폴더에 심볼릭 링크를 생성합니다. (현재 디렉토리가 /d1/packaging/kernel/jaunty/source 인 상태에서 진행)
Enter your computers BIOS to check computer can boot from CD ROM. If you can boot from CD, insert CD ROM into drive. Exit the BIOS (if needed save your settings to make sure the computer boots from the CD ROM).
When the Ubuntu splash screen comes up with the boot: prompt, type in rescue and press enter.
Choose your language, location (country) and then keyboard layout as if you were doing a fresh install.
Enter a host name, or leave it with the default (Ubuntu).
At this stage you are presented with a screen where you can select which partition is your root partition (there is a list of the partitions on your hard drive, so you are required to know which partition number Ubuntu is on). This will be dev/discs/disc0/partX, where the X is a partition number.
you are then presented with a command prompt (a hash).
type $ grub-install /dev/hdaX where X is your Ubuntu root install.
2. ubuntu install cd를 사용하여 windows 부트로더를 덮어 씌우는 방법
열기..
Boot your computer with the Ubuntu CD
Go through the installation process until you reach "[!!!] Disk Partition"
Select Manual Partition
Mount your appropriate linux partions:
/
/boot
swap
...
DO NOT FORMAT THEM.
Finish the manual partition
Say "Yes" when it asks you to save the changes
It will give you errors saying that "the system couldn't install ....." after that
Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
Don't forget that this method, as described, puts GRUB back on the MBR (master boot record) of the hard drive instead of in the root parititon. This is fine for most people, but not if you already have an alternative boot manager.
In other words, if you use something like Boot Magic or System Commander, the commands you've just read will overwrite what you've got.
If you've installed GRUB into the Root Partition instead of the MBR, the commands are a little different. Here's are the instructions that I have for my system:
How to Restore the Grub Menu after a Re-Ghosting:
1. Boot from a Live CD, like Ubuntu Live, Knoppix, Mepis, or similar.
2. Open a Terminal. Open a root terminal (that is, type "su" in a non-Ubuntu distro, or "sudo -i" in Ubuntu). Enter root passwords as necessary.
3. Type "grub" which makes a GRUB prompt appear.
4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.
5. Type "root (hd0,3)".
6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".
삼바를 설정은 처음 해보는거라 이런저렁 설정을 해보았지만 윈도우 네트워크에는 나타나지만 접근하려고 하면 리소스에 접근 권한이 없다는 안타까운 메시지를 뱉어냈다=_=
여러군데 알아본바 iptables로 몇개의 포트를 열어주면 된다고 했으나 그건 내부에서 외부로 나갈경우에 필요한 설정이라고 알고있었던지라 다른 방법을 찾아봤다.
알고보니 매우 단순한 나의 실수!
삼바 서버를 설정만 해놓고 유저등록을 해놓지 않았던 것! 우오오오!!!
smbpasswd -a userid 로 삼바서버를 사용할 id를 등록해 놨어야 하는것이다=_=
아, 물론 smb.conf에서 security=user 설정을 잊으면 안되겠다...
흠..지금 깔아놓은 패키지가 적어서 그런지 모르겠지만 페도라나 레드햇보다는 가볍다는 느낌이 확연하군..
배울게 너무 많다@_@