Вы находитесь на странице: 1из 17

kernel

FUCTIO

N
linux-3.16.1.tar.xz(Latest Stable Kernel)
RPMS
gcc
ncurses-devel
CONF
/usr/src/kernels/linux-3.16.1/.config

LOGO
WEB

https://www.kernel.org/

%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

NTFS NTFS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# cat > /etc/yum.repos.d/f.repo << EOF
[f]

baseurl=ftp://172.16.7.9
EOF
# wget ftp://172.16.7.9/R*
# rpm --import RPM-GPG-KEY-redhat-release
# yum -y install gcc ncurses-devel
# cd /usr/src/kernels
# wget ftp://172.16.7.9/soft/linux-3.16.1.tar.xz
# tar -xJvf linux-3.16.1.tar.xz
# cd linux-3.16.1
# make help
# make menuconfig
HOSTCC

scripts/kconfig/conf.o

HOSTCC

scripts/kconfig/lxdialog/checklist.o

HOSTCC

scripts/kconfig/lxdialog/inputbox.o

HOSTCC

scripts/kconfig/lxdialog/menubox.o

HOSTCC

scripts/kconfig/lxdialog/textbox.o

HOSTCC

scripts/kconfig/lxdialog/util.o

HOSTCC

scripts/kconfig/lxdialog/yesno.o

HOSTCC

scripts/kconfig/mconf.o

SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC

scripts/kconfig/zconf.tab.o

HOSTLD

scripts/kconfig/mconf

scripts/kconfig/mconf Kconfig

File systems --->


DOS/FAT/NT Filesystems --->
<M> NTFS file system support
[*]
NTFS debugging support
[*]
NTFS write support
< Save >

#
# using defaults found in /boot/config-3.10.0-121.el7.x86_64
#

*** End of the configuration.


*** Execute 'make' to start the build or try 'make help'.

# make
PS 2 22

# make all
CHK

include/config/kernel.release

CHK

include/generated/uapi/linux/version.h

CHK

include/generated/utsrelease.h

CALL

scripts/checksyscalls.sh

CHK

include/generated/compile.h

CERTS

kernel/x509_certificate_list

- Including cert signing_key.x509


AS

kernel/system_certificates.o

LD

kernel/built-in.o

CHK

include/generated/uapi/linux/version.h

LINK

vmlinux

LD

vmlinux.o

MODPOST vmlinux.o
GEN

.version

CHK

include/generated/compile.h

UPD

include/generated/compile.h

CC

init/version.o

LD

init/built-in.o

KSYM

.tmp_kallsyms1.o

KSYM

.tmp_kallsyms2.o

LD

vmlinux

SORTEX

vmlinux

SYSMAP

System.map

TEST

posttest

Succeed: decoded and checked 1687902 instructions


TEST

posttest

arch/x86/tools/insn_sanity: Success: decoded and checked


1000000 random instructions with 0 errors (seed:0xf34ca351)
VOFFSET arch/x86/boot/voffset.h

OBJCOPY arch/x86/boot/compressed/vmlinux.bin
GZIP

arch/x86/boot/compressed/vmlinux.bin.gz

MKPIGGY arch/x86/boot/compressed/piggy.S
AS

arch/x86/boot/compressed/piggy.o

LD

arch/x86/boot/compressed/vmlinux

ZOFFSET arch/x86/boot/zoffset.h
AS

arch/x86/boot/header.o

CC

arch/x86/boot/version.o

LD

arch/x86/boot/setup.elf

OBJCOPY arch/x86/boot/setup.bin
OBJCOPY arch/x86/boot/vmlinux.bin
BUILD

arch/x86/boot/bzImage

Setup is 17104 bytes (padded to 17408 bytes).

System is 5024 kB
CRC 9f1e1866
Kernel: arch/x86/boot/bzImage is ready (#2)
Building modules, stage 2.
MODPOST 2162 modules

# make modules_install
# make install
sh ./arch/x86/boot/install.sh 3.16.1 arch/x86/boot/bzImage \
System.map "/boot"

# shutdown -r 0

# uname -r
3.16.1

Insert NTFS
# fdisk -l | grep sd
Disk /dev/sda: 128.8 GB, 128849018880 bytes, 251658240 sectors
/dev/sda1

/dev/sda2

2048
1026048

1026047

512000

251658239

125316096

83 Linux
8e Linux

LVM
Disk /dev/sdb: 21.5 GB, 21474836480 bytes, 41943040 sectors
Disk /dev/sdc: 2003 MB, 2003828736 bytes, 3913728 sectors
/dev/sdc1

835328

HPFS/NTFS/exFAT

# mount /dev/sdc1 /mnt


# findmnt /mnt

3913727

1539200

TARGET SOURCE
/mnt

FSTYPE OPTIONS

/dev/sdc1 ntfs

# ls /mnt

rw,relatime,uid=0,gid=0,...

%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Linux NTFS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#
#
#
#
#

wget ftp://172.16.7.9/soft/ntfs-3g*
rpm -ivh ntfs-3g-2013.1.13-5.el7.x86_64.rpm
mount.ntfs /dev/sdc1 /mnt
cp /etc/fstab /mnt
ll /mnt/fstab

-rwxrwxrwx. 1 root root 541 Aug 18 14:05 /mnt/fstab

Вам также может понравиться