无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
楼主: 2011niumao
打印 上一主题 下一主题

[教程] 从 固定VHD与只读squashfs引导LINUX, UBUNTU ARCH Fedora Opensuse Mageia五种

    [复制链接]
181#
发表于 2015-11-14 16:57:05 | 只看该作者
2011niumao 发表于 2015-11-14 10:53
从代码看不出什么毛病./dev/sda2没有挂载上,如果vhd文件在第二个主分区,挂载不上的原因就不好说了.

1. ...

按3操作,出现:

1042.jpg (183.6 KB, 下载次数: 287)

1042.jpg

点评

我检查了一下教程。发现在编译安装ntfs-3g那一段有个笔误。三个命令应该是 原教程最后一句丢掉了 install,只写了 sudo make 。请注意改正。 因为没有install 就只是编译好了但没有安装。也许这个就是找不到 ntfs  详情 回复 发表于 2015-11-15 13:42
这个信息说明 ntfs-3g 没有安装好或者没有被塞入到 initramfs 里面。需要重新手工编译安装 ntfs-3g 并重新制作dracut.  详情 回复 发表于 2015-11-14 20:48
回复

使用道具 举报

182#
发表于 2015-11-14 20:16:29 | 只看该作者
多谢lz !做好了


title UBUNTU vhd
root   (hd0,1)
kernel /kan/vmlinuz-3.13.0-32-generic root=/dev/sda2 vloop=/kan/u.vhd  vlooppart=p1
initrd /kan/initrd.img-3.13.0-32-generic

在uuid和vlooppart上面用的时间比较长
我的vhd 只有3G vhd mbr分区,grub4dos引导

点评

谢谢反馈  详情 回复 发表于 2015-11-14 20:40
回复

使用道具 举报

183#
发表于 2015-11-14 20:19:14 | 只看该作者
有时间自己做个vmlinuz和initrd.img  
回复

使用道具 举报

184#
 楼主| 发表于 2015-11-14 20:40:34 | 只看该作者
ee1 发表于 2015-11-14 20:16
多谢lz !做好了

谢谢反馈
回复

使用道具 举报

185#
 楼主| 发表于 2015-11-14 20:46:06 | 只看该作者
mac3000 发表于 2015-11-14 16:54
本人菜鸟,不懂英文,楼主写的1不知如何操作
按2下载后,前面的错误跑过了,但启动到这里不动了:


第二方法,这个反应是正常的。因为Mageia设计的是自动探测显卡类型并且企图安装显卡专有驱动。
但可能网络没有准备好所以等待死机。此时需要按住 Alt PrintScreen 两个键,再依次敲击 r e i s u b 六个键来安全重启。在VBOX中查看启动信息,命令是
  1. journalctl -a -b -1 > tt
复制代码
然后打开tt看提示需要安装什么就装什么。再次重启就可以了。

点评

文件如下,楼主看看要安装那些东西? -- Logs begin at 六 2015-11-07 15:01:17 CST, end at 一 2015-11-16 07:05:34 CST. -- 11月 16 07:01:38 localhost systemd-journal[400]: Runtime journal is using 8.  详情 回复 发表于 2015-11-16 01:28
回复

使用道具 举报

186#
 楼主| 发表于 2015-11-14 20:48:02 | 只看该作者
本帖最后由 2011niumao 于 2015-11-14 21:01 编辑
mac3000 发表于 2015-11-14 16:57
按3操作,出现:unknown filesystem type ntfs-3g

第三个方法是手工启动方法。这个信息说明 ntfs-3g 没有安装好或者没有被塞入到 initramfs 里面。
这样 sda2作为 ntfs分区是没有挂载成功,vhd文件就不能被识别,自然找不到根设备导致启动失败。
需要重新手工编译安装 ntfs-3g 并重新制作dracut.

从图片上看 那个根目录Mageia是/sysroot 不是叫/root .这样手工启动命令也改为以下
  1. mkdir /host
  2. mount -t ntfs-3g -o rw /dev/sda2 /host
  3. kpartx -av /host/mageia/mageia.vhd
  4. mount -t ext4 -o rw /dev/mapper/loop0p1 /sysroot
  5. systemctl switch-root /sysroot /sbin/init
复制代码


回复

使用道具 举报

187#
 楼主| 发表于 2015-11-15 13:42:15 | 只看该作者
mac3000 发表于 2015-11-14 16:57
按3操作,出现:

我检查了一下教程。发现在编译安装ntfs-3g那一段有个笔误。三个命令应该是
  1. ./configure
  2. make
  3. sudo make install
复制代码
原教程最后一句丢掉了 install,只写了 sudo make  。请注意改正。
因为没有install 就只是编译好了但没有安装。也许这个就是找不到 ntfs-3g 的原因。抱歉笔误。
回复

使用道具 举报

188#
发表于 2015-11-16 00:26:20 | 只看该作者
本帖最后由 mac3000 于 2015-11-16 00:29 编辑
2011niumao 发表于 2015-11-15 13:42
我检查了一下教程。发现在编译安装ntfs-3g那一段有个笔误。三个命令应该是
原教程最后一句丢掉了 instal ...


笔误之前已注意

再次制作启动文件,涛声依旧
楼主参考一下代码:


[root@localhost ntfs-3g_ntfsprogs-2015.3.14.fixed]# sh  configure

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for sed... (cached) /usr/bin/sed
checking for ldconfig... /sbin/ldconfig
checking Windows OS... no
checking fuse compatibility... internal
checking for pthread_create in -lpthread... yes
checking Solaris OS... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
configure: WARNING: ntfsprogs DCE compliant UUID generation code requires the uuid library.
checking hd.h usability... no
checking hd.h presence... no
checking for hd.h... no
configure: WARNING: ntfsprogs Windows compliant geometry code requires the hd library.
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking linux/major.h usability... yes
checking linux/major.h presence... yes
checking for linux/major.h... yes
checking linux/fd.h usability... yes
checking linux/fd.h presence... yes
checking for linux/fd.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking for inttypes.h... (cached) yes
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... no
checking for library containing getmntent... none required
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for basename... yes
checking for daemon... yes
checking for dup2... yes
checking for fdatasync... yes
checking for ffs... yes
checking for getopt_long... yes
checking for hasmntopt... yes
checking for mbsinit... yes
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for setxattr... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for utime... yes
checking for utimensat... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for fork... yes
checking for memcpy... yes
checking for random... yes
checking for snprintf... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/fuse-lite/Makefile
config.status: creating include/ntfs-3g/Makefile
config.status: creating libfuse-lite/Makefile
config.status: creating libntfs-3g/Makefile
config.status: creating libntfs-3g/libntfs-3g.pc
config.status: creating libntfs-3g/libntfs-3g.script.so
config.status: creating ntfsprogs/Makefile
config.status: creating ntfsprogs/mkntfs.8
config.status: creating ntfsprogs/ntfscat.8
config.status: creating ntfsprogs/ntfsclone.8
config.status: creating ntfsprogs/ntfscluster.8
config.status: creating ntfsprogs/ntfscmp.8
config.status: creating ntfsprogs/ntfscp.8
config.status: creating ntfsprogs/ntfsfix.8
config.status: creating ntfsprogs/ntfsinfo.8
config.status: creating ntfsprogs/ntfslabel.8
config.status: creating ntfsprogs/ntfsls.8
config.status: creating ntfsprogs/ntfsprogs.8
config.status: creating ntfsprogs/ntfsresize.8
config.status: creating ntfsprogs/ntfsundelete.8
config.status: creating ntfsprogs/ntfsdecrypt.8
config.status: creating ntfsprogs/ntfswipe.8
config.status: creating ntfsprogs/ntfstruncate.8
config.status: creating ntfsprogs/ntfsfallocate.8
config.status: creating src/Makefile
config.status: creating src/ntfs-3g.8
config.status: creating src/ntfs-3g.probe.8
config.status: creating src/ntfs-3g.usermap.8
config.status: creating src/ntfs-3g.secaudit.8
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
/usr/bin/rm: cannot remove 'libtoolT': No such file or directory
You can type now 'make' to build ntfs-3g.


[root@localhost ntfs-3g_ntfsprogs-2015.3.14.fixed]# make

make  all-recursive
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'
Making all in include
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
Making all in ntfs-3g
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/ntfs-3g'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/fuse-lite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/fuse-lite'
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
Making all in libfuse-lite
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libfuse-lite'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
Making all in ntfsprogs
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
Making all in src
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'


[root@localhost ntfs-3g_ntfsprogs-2015.3.14.fixed]# make install

Making install in include
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
Making install in ntfs-3g
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/ntfs-3g'
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/ntfs-3g'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/usr/local/include/ntfs-3g'
/usr/bin/install -c -m 644 acls.h attrib.h attrlist.h bitmap.h bootsect.h cache.h collate.h compat.h compress.h debug.h device.h device_io.h dir.h ea.h efs.h endians.h index.h inode.h ioctl.h layout.h lcnalloc.h logfile.h logging.h mft.h misc.h mst.h ntfstime.h object_id.h param.h realpath.h reparse.h runlist.h security.h support.h types.h unistr.h volume.h xattrs.h '/usr/local/include/ntfs-3g'
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/ntfs-3g'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/ntfs-3g'
Making install in fuse-lite
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/fuse-lite'
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/fuse-lite'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/fuse-lite'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include/fuse-lite'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/include'
Making install in libfuse-lite
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libfuse-lite'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libfuse-lite'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libfuse-lite'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libfuse-lite'
Making install in libntfs-3g
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
/usr/bin/mkdir -p '/usr/local/lib'
/bin/sh ../libtool   --mode=install /usr/bin/install -c   libntfs-3g.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libntfs-3g.so.86.0.0 /usr/local/lib/libntfs-3g.so.86.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libntfs-3g.so.86.0.0 libntfs-3g.so.86 || { rm -f libntfs-3g.so.86 && ln -s libntfs-3g.so.86.0.0 libntfs-3g.so.86; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libntfs-3g.so.86.0.0 libntfs-3g.so || { rm -f libntfs-3g.so && ln -s libntfs-3g.so.86.0.0 libntfs-3g.so; }; })
libtool: install: /usr/bin/install -c .libs/libntfs-3g.lai /usr/local/lib/libntfs-3g.la
libtool: install: /usr/bin/install -c .libs/libntfs-3g.a /usr/local/lib/libntfs-3g.a
libtool: install: chmod 644 /usr/local/lib/libntfs-3g.a
libtool: install: ranlib /usr/local/lib/libntfs-3g.a
libtool: finish: PATH="/usr/local/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make  install-exec-hook
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
if [ ! "/lib" -ef "/usr/local/lib" ]; then \
        /usr/bin/mv -f "//usr/local/lib"/libntfs-3g.so* "//lib";  \
fi
if [ ! "/lib" -ef "/usr/local/lib" ]; then \
        ln -s "/lib/libntfs-3g.so" "//usr/local/lib/libntfs-3g.so"; \
fi
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
/usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 libntfs-3g.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/libntfs-3g'
Making install in ntfsprogs
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
/usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ntfsfix ntfsinfo ntfscluster ntfsls ntfscat ntfscmp '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/ntfsfix /usr/local/bin/ntfsfix
libtool: install: /usr/bin/install -c .libs/ntfsinfo /usr/local/bin/ntfsinfo
libtool: install: /usr/bin/install -c .libs/ntfscluster /usr/local/bin/ntfscluster
libtool: install: /usr/bin/install -c .libs/ntfsls /usr/local/bin/ntfsls
libtool: install: /usr/bin/install -c .libs/ntfscat /usr/local/bin/ntfscat
libtool: install: /usr/bin/install -c .libs/ntfscmp /usr/local/bin/ntfscmp
/usr/bin/mkdir -p '/usr/local/sbin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c mkntfs ntfslabel ntfsundelete ntfsresize ntfsclone ntfscp '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/mkntfs /usr/local/sbin/mkntfs
libtool: install: /usr/bin/install -c .libs/ntfslabel /usr/local/sbin/ntfslabel
libtool: install: /usr/bin/install -c .libs/ntfsundelete /usr/local/sbin/ntfsundelete
libtool: install: /usr/bin/install -c .libs/ntfsresize /usr/local/sbin/ntfsresize
libtool: install: /usr/bin/install -c .libs/ntfsclone /usr/local/sbin/ntfsclone
libtool: install: /usr/bin/install -c .libs/ntfscp /usr/local/sbin/ntfscp
make  install-exec-hook
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
/usr/bin/install -c -d /sbin
ln -s -f /usr/local/sbin/mkntfs /sbin/mkfs.ntfs
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
/usr/bin/mkdir -p '/usr/local/share/man/man8'
/usr/bin/install -c -m 644 mkntfs.8 ntfsfix.8 ntfslabel.8 ntfsinfo.8 ntfsundelete.8 ntfsresize.8 ntfsprogs.8 ntfsls.8 ntfsclone.8 ntfscluster.8 ntfscat.8 ntfscp.8 ntfscmp.8 ntfswipe.8 ntfstruncate.8 ntfsdecrypt.8 ntfsfallocate.8 '/usr/local/share/man/man8'
make  install-data-hook
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
/usr/bin/install -c -d /usr/local/share/man/man8
ln -s -f mkntfs.8 /usr/local/share/man/man8/mkfs.ntfs.8
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/ntfsprogs'
Making install in src
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
/usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ntfs-3g.probe ntfs-3g.usermap ntfs-3g.secaudit '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/ntfs-3g.probe /usr/local/bin/ntfs-3g.probe
libtool: install: /usr/bin/install -c .libs/ntfs-3g.usermap /usr/local/bin/ntfs-3g.usermap
libtool: install: /usr/bin/install -c .libs/ntfs-3g.secaudit /usr/local/bin/ntfs-3g.secaudit
/usr/bin/mkdir -p '/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c ntfs-3g lowntfs-3g '/bin'
libtool: install: /usr/bin/install -c .libs/ntfs-3g /bin/ntfs-3g
libtool: install: /usr/bin/install -c .libs/lowntfs-3g /bin/lowntfs-3g
/usr/bin/mkdir -p "/sbin"
ln -s -f "/bin/ntfs-3g" "/sbin/mount.ntfs-3g"
ln -s -f "/bin/lowntfs-3g" "/sbin/mount.lowntfs-3g"
make  install-exec-hook
make[3]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
/sbin/ldconfig
make[3]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
/usr/bin/mkdir -p '/usr/local/share/man/man8'
/usr/bin/install -c -m 644 ntfs-3g.8 ntfs-3g.probe.8 ntfs-3g.usermap.8 ntfs-3g.secaudit.8 '/usr/local/share/man/man8'
ln -s -f ntfs-3g.8 "/usr/local/share/man/man8/mount.ntfs-3g.8"
ln -s -f ntfs-3g.8 "/usr/local/share/man/man8/mount.lowntfs-3g.8"
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed/src'
make[1]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'
make[2]: Entering directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/usr/local/share/doc/ntfs-3g'
/usr/bin/install -c -m 644 README '/usr/local/share/doc/ntfs-3g'
make[2]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'
make[1]: Leaving directory '/home/s/mydracut/ntfs-3g_ntfsprogs-2015.3.14.fixed'

点评

编译只要能通过,应该没有问题。看不出问题所在。很奇怪。 可以使用 查看其内容,看看是不是有ntfs-3g相关文件。  详情 回复 发表于 2015-11-16 08:53
回复

使用道具 举报

189#
发表于 2015-11-16 01:28:41 | 只看该作者
本帖最后由 mac3000 于 2015-11-16 01:31 编辑
2011niumao 发表于 2015-11-14 20:46
第二方法,这个反应是正常的。因为Mageia设计的是自动探测显卡类型并且企图安装显卡专有驱动。
但可能 ...


文件如下,楼主有空看看要安装哪些东西?


-- Logs begin at 六 2015-11-07 15:01:17 CST, end at 一 2015-11-16 07:05:34 CST. --
11月 16 07:01:38 localhost systemd-journal[400]: Runtime journal is using 8.0M (max allowed 278.5M, trying to leave 417.8M free of 2.7G available → current limit 278.5M).
11月 16 07:01:38 localhost systemd-journal[400]: Runtime journal is using 8.0M (max allowed 278.5M, trying to leave 417.8M free of 2.7G available → current limit 278.5M).
11月 16 07:01:38 localhost systemd-journald[80]: Received SIGTERM from PID 1 (systemd).
11月 16 07:01:38 localhost systemd-journal[400]: Journal started
11月 16 07:01:36 localhost systemd[1]: systemd 217 running in system mode. (+PAM +AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD +IDN )
11月 16 07:01:36 localhost systemd[1]: Detected architecture 'x86-64'.
11月 16 07:01:36 localhost systemd[1]: Set hostname to <localhost>.
11月 16 07:01:38 localhost systemd-sysctl[405]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
11月 16 07:01:38 localhost systemd-sysctl[405]: Overwriting earlier assignment of net/ipv4/icmp_ignore_bogus_error_responses in file '/etc/sysctl.d/99-sysctl.conf'.
11月 16 07:01:38 localhost systemd-sysctl[405]: Overwriting earlier assignment of net/ipv4/conf/all/log_martians in file '/etc/sysctl.d/99-sysctl.conf'.
11月 16 07:01:39 localhost fedora-loadmodules[394]: Loading modules: nvram evdev vboxguest vboxsf
11月 16 07:01:39 localhost systemd[1]: fedora-loadmodules.service: main process exited, code=exited, status=1/FAILURE
11月 16 07:01:39 localhost systemd[1]: Failed to start Load legacy module configuration.
11月 16 07:01:39 localhost systemd[1]: Unit fedora-loadmodules.service entered failed state.
11月 16 07:01:39 localhost systemd[1]: fedora-loadmodules.service failed.
11月 16 07:01:39 localhost systemd-fsck[403]: /dev/mapper/loop0p1: clean, 130464/524288 files, 1292716/2096226 blocks
11月 16 07:01:39 localhost systemd[1]: Started File System Check on Root Device.
11月 16 07:01:39 localhost systemd[1]: Starting Remount Root and Kernel File Systems...
11月 16 07:01:39 localhost systemd[1]: Started Setup Virtual Console.
11月 16 07:01:39 localhost systemd[1]: Starting Show Plymouth Boot Screen...
11月 16 07:01:39 localhost kernel: EXT4-fs (dm-0): re-mounted. Opts: acl
11月 16 07:01:39 localhost systemd[1]: Started Remount Root and Kernel File Systems.
11月 16 07:01:39 localhost systemd[1]: Starting Configure read-only root support...
11月 16 07:01:39 localhost systemd[1]: Starting Import network configuration from initramfs...
11月 16 07:01:39 localhost systemd[1]: Started Rebuild Hardware Database.
11月 16 07:01:39 localhost systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
11月 16 07:01:39 localhost systemd[1]: Started Rebuild Dynamic Linker Cache.
11月 16 07:01:39 localhost systemd[1]: Started First Boot Wizard.
11月 16 07:01:39 localhost systemd[1]: Started Create System Users.
11月 16 07:01:39 localhost systemd[1]: Starting Create Static Device Nodes in /dev...
11月 16 07:01:40 localhost systemd-journal[400]: Permanent journal is using 152.0M (max allowed 793.1M, trying to leave 1.1G free of 2.6G available → current limit 793.1M).
11月 16 07:01:40 localhost systemd-journal[400]: Time spent on flushing to /var is 313.341ms for 31 entries.
11月 16 07:01:39 localhost systemd[1]: Started Import network configuration from initramfs.
11月 16 07:01:40 localhost systemd[1]: Started Show Plymouth Boot Screen.
11月 16 07:01:40 localhost systemd[1]: Starting Forward Password Requests to Plymouth Directory Watch.
11月 16 07:01:40 localhost systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
11月 16 07:01:40 localhost systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
11月 16 07:01:40 localhost systemd[1]: Starting Paths.
11月 16 07:01:40 localhost systemd[1]: Reached target Paths.
11月 16 07:01:40 localhost systemd[1]: Started Create Static Device Nodes in /dev.
11月 16 07:01:40 localhost systemd[1]: Starting udev Kernel Device Manager...
11月 16 07:01:40 localhost systemd[1]: Starting Local File Systems (Pre).
11月 16 07:01:40 localhost systemd[1]: Reached target Local File Systems (Pre).
11月 16 07:01:41 localhost systemd-udevd[456]: starting version 217
11月 16 07:01:41 localhost udevadm[453]: settle: invalid option -- '/'
11月 16 07:01:42 localhost systemd[1]: Started udev Kernel Device Manager.
11月 16 07:01:42 localhost systemd[1]: Started udev Wait for Complete Device Initialization.
11月 16 07:01:42 localhost systemd[1]: Starting Wait for storage scan...
11月 16 07:01:42 localhost systemd[1]: Started Wait for storage scan.
11月 16 07:01:42 localhost systemd[1]: Started Initialize storage subsystems (RAID, LVM, etc.).
11月 16 07:01:42 localhost systemd[1]: Started Initialize storage subsystems (RAID, LVM, etc.).
11月 16 07:01:42 localhost systemd[1]: Starting Local File Systems.
11月 16 07:01:42 localhost systemd[1]: Reached target Local File Systems.
11月 16 07:01:42 localhost systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
11月 16 07:01:42 localhost systemd[1]: Started Relabel all filesystems, if necessary.
11月 16 07:01:42 localhost systemd[1]: Starting Reconfigure the system on administrator request...
11月 16 07:01:42 localhost systemd[1]: Started Mark the need to relabel after reboot.
11月 16 07:01:42 localhost systemd[1]: Starting Save boot dmesg content...
11月 16 07:01:42 localhost systemd[1]: Started Rebuild Journal Catalog.
11月 16 07:01:42 localhost systemd[1]: Started Update is Completed.
11月 16 07:01:42 localhost systemd[1]: Starting Create Volatile Files and Directories...
11月 16 07:01:42 localhost systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
11月 16 07:01:42 localhost systemd[1]: Started Create Volatile Files and Directories.
11月 16 07:01:42 localhost systemd[1]: Starting Network Time Synchronization...
11月 16 07:01:42 localhost systemd[1]: Starting Update UTMP about System Boot/Shutdown...
11月 16 07:01:42 localhost systemd[1]: Started Update UTMP about System Boot/Shutdown.
11月 16 07:01:42 localhost systemd[1]: Started Network Time Synchronization.
11月 16 07:01:42 localhost systemd[1]: Starting System Initialization.
11月 16 07:01:42 localhost systemd[1]: Reached target System Initialization.
11月 16 07:01:42 localhost systemd[1]: Starting D-Bus System Message Bus Socket.
11月 16 07:01:42 localhost systemd[1]: Listening on D-Bus System Message Bus Socket.
11月 16 07:01:42 localhost systemd[1]: Starting Sockets.
11月 16 07:01:42 localhost systemd[1]: Reached target Sockets.
11月 16 07:01:42 localhost systemd[1]: Starting Daily Cleanup of Temporary Directories.
11月 16 07:01:42 localhost systemd[1]: Started Daily Cleanup of Temporary Directories.
11月 16 07:01:42 localhost systemd[1]: Starting Timers.
11月 16 07:01:42 localhost systemd[1]: Reached target Timers.
11月 16 07:01:42 localhost systemd[1]: Starting Manage Sound Card State (restore and store)...
11月 16 07:01:42 localhost systemd[1]: Started Manage Sound Card State (restore and store).
11月 16 07:01:42 localhost systemd[1]: Started Restore Sound Card State.
11月 16 07:01:42 localhost systemd[1]: Started Save boot dmesg content.
11月 16 07:01:43 localhost alsactl[502]: alsactl 1.0.28 daemon started
11月 16 07:01:43 localhost alsactl[502]: /usr/sbin/alsactl: load_state:1729No soundcards found...
11月 16 07:01:44 localhost systemd-sysctl[536]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/51-alt-sysrq.conf'.
11月 16 07:01:44 localhost systemd-sysctl[536]: Overwriting earlier assignment of net/ipv4/icmp_ignore_bogus_error_responses in file '/etc/sysctl.d/99-sysctl.conf'.
11月 16 07:01:44 localhost systemd-sysctl[536]: Overwriting earlier assignment of net/ipv4/conf/all/log_martians in file '/etc/sysctl.d/99-sysctl.conf'.
11月 16 07:01:44 localhost mtp-probe[530]: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-3"
11月 16 07:01:44 localhost mtp-probe[530]: bus: 2, device: 2 was not an MTP device
11月 16 07:01:44 localhost mtp-probe[532]: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-5"
11月 16 07:01:44 localhost mtp-probe[532]: bus: 2, device: 3 was not an MTP device
11月 16 07:01:45 localhost service_harddrake[561]: ### Program is starting ###
11月 16 07:01:47 localhost service_harddrake[561]: running: dmidecode
11月 16 07:01:47 localhost service_harddrake[561]: modified file /etc/sysconfig/harddrake2/kernel
11月 16 07:01:47 localhost service_harddrake[561]: Autoconfiguring laptop tools since we switched between laptop and desktop systems
11月 16 07:01:47 localhost service_harddrake[561]: running: /sbin/chkconfig --list --type xinetd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/mountpoint -q /sys/fs/cgroup/systemd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/systemctl disable --no-reload apmd.service
11月 16 07:01:47 localhost service_harddrake[561]: running: /sbin/chkconfig --list --type xinetd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/mountpoint -q /sys/fs/cgroup/systemd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/systemctl enable --no-reload laptop-mode.service
11月 16 07:01:47 localhost service_harddrake[561]: running: /sbin/chkconfig --list --type xinetd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/mountpoint -q /sys/fs/cgroup/systemd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/systemctl disable --no-reload numlock.service
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/mountpoint -q /sys/fs/cgroup/systemd
11月 16 07:01:47 localhost service_harddrake[561]: running: /bin/systemctl --no-block stop numlock.service
11月 16 07:01:47 localhost systemd[1]: Stopped LSB: Locks NumLock key at init runlevel change.
11月 16 07:01:47 localhost service_harddrake[561]: modified file /etc/sysconfig/harddrake2/xorg
11月 16 07:01:47 localhost service_harddrake[561]: copied recursively /etc/X11/xorg.conf to /etc/X11/xorg.conf.mga1447628505
11月 16 07:01:47 localhost service_harddrake[561]: modified file /etc/X11/xorg.conf
11月 16 07:01:47 localhost service_harddrake[561]: switch X.org driver from 'vboxvideo' to 'ati' (The graphics card 'Advanced Micro Devices, Inc. [AMD/ATI]|Wrestler [Radeon HD 6320]' is no longer supported by driver 'vboxvideo')
11月 16 07:01:47 localhost service_harddrake[561]: removed files/directories /etc/ld.so.conf.d/nvidia.conf
11月 16 07:01:47 localhost service_harddrake[561]: removed files/directories /etc/ld.so.conf.d/nvidia_legacy.conf
11月 16 07:01:47 localhost service_harddrake[561]: removed files/directories /etc/ld.so.conf.d/ati.conf
11月 16 07:01:47 localhost service_harddrake[561]: running: update-alternatives --set gl_conf /etc/ld.so.conf.d/GL/standard.conf
11月 16 07:01:47 localhost service_harddrake[561]: dmraid::init failed
11月 16 07:01:47 localhost service_harddrake[561]: HDIO_GETGEO on /dev/sda succeeded: heads=255 sectors=63 cylinders=38913 start=0
11月 16 07:01:47 localhost service_harddrake[561]: An error occurred while getting the geometry of block device /dev/sdb: 找不到介质
11月 16 07:01:47 localhost service_harddrake[561]: An error occurred while getting the geometry of block device /dev/sdc: 找不到介质
11月 16 07:01:47 localhost service_harddrake[561]: id2hd: 0x821a821a=>sda
11月 16 07:01:47 localhost service_harddrake[561]: id2edd: 0x821a821a=>/sys/firmware/edd/int13_dev80
11月 16 07:01:47 localhost service_harddrake[561]: geometry_from_edd sda 0x821a821a: 38913/255/63
11月 16 07:01:47 localhost service_harddrake[561]: test_for_bad_drives(/dev/sda on sector #62)
11月 16 07:01:48 localhost service_harddrake[561]: running: blkid -o udev -p /dev/sda
11月 16 07:01:48 localhost service_harddrake[561]: running: blkid -o udev -p /dev/sda
11月 16 07:01:49 localhost service_harddrake[561]: found a dos partition table on /dev/sda at sector 0
11月 16 07:01:49 localhost service_harddrake[561]: guess_geometry_from_partition_table sda: 38913/255/63
11月 16 07:01:49 localhost service_harddrake[561]: is_geometry_valid_for_the_partition_table failed for (sda2, 107683839): 1023,254,62 vs 1023,2,18 with geometry 38913/255/63
11月 16 07:01:49 localhost service_harddrake[561]: running: udevadm settle
11月 16 07:01:50 localhost service_harddrake[561]: running: blkid -o udev -p /dev/sda1
11月 16 07:01:50 localhost service_harddrake[561]: blkid gave: ntfs-3g 48A8D92BA8D91870 System_Reserved
11月 16 07:01:50 localhost service_harddrake[561]: running: blkid -o udev -p /dev/sda2
11月 16 07:01:50 localhost service_harddrake[561]: blkid gave: ntfs-3g 98E847D3E847AE76 windws
11月 16 07:01:50 localhost service_harddrake[561]: running: blkid -o udev -p /dev/sda3
11月 16 07:01:50 localhost service_harddrake[561]: blkid gave: ntfs-3g A882F26C82F23DFE Soft
11月 16 07:01:50 localhost service_harddrake[561]: running: blkid -o udev -p /dev/sda4
11月 16 07:01:50 localhost service_harddrake[561]: blkid gave: ntfs-3g 000E3DF600021C18 New
11月 16 07:01:50 localhost service_harddrake[561]: argh... the fstab given is useless, it doesn't contain '/'
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/gfxmenu)
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/initrd.img)
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/vmlinuz)
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/initrd.img)
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/vmlinuz)
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/initrd.img)
11月 16 07:01:50 localhost service_harddrake[561]: ERROR: unknown device /dev/sda1 (computed from (hd0,0)/boot/vmlinuz)
11月 16 07:01:50 localhost service_harddrake[561]: launched command: /sbin/display_driver_helper --check-loaded
11月 16 07:01:50 localhost service_harddrake[561]: launched command: udevadm trigger --subsystem-match=pci --attr-match=class=0x03*
11月 16 07:01:50 localhost service_harddrake[561]: removed SATA_STORAGE: Intel Corporation|82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
11月 16 07:01:50 localhost service_harddrake[561]: added SATA_STORAGE: Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
11月 16 07:01:50 localhost service_harddrake[561]: modified file /etc/modprobe.conf
11月 16 07:01:50 localhost service_harddrake[561]: to put in /etc/modprobe.preload nvram, evdev
11月 16 07:01:50 localhost service_harddrake[561]: modified file /etc/modprobe.preload
11月 16 07:01:50 localhost service_harddrake[561]: removed USB_CONTROLLER: Intel Corporation|7 Series/C210 Series Chipset Family USB xHCI Host Controller
11月 16 07:01:50 localhost service_harddrake[561]: added USB_CONTROLLER: Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
11月 16 07:01:50 localhost service_harddrake[561]: added USB_CONTROLLER: Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB EHCI Controller
11月 16 07:01:50 localhost service_harddrake[561]: setting probeall usb-interface to xhci_hcd xhci_pci ehci_pci ohci_pci
11月 16 07:01:50 localhost service_harddrake[561]: setting probeall usb-interface to xhci_hcd xhci_pci ehci_pci ohci_pci
11月 16 07:01:50 localhost service_harddrake[561]: setting probeall usb-interface to xhci_hcd xhci_pci ehci_pci ohci_pci
11月 16 07:01:50 localhost service_harddrake[561]: setting probeall usb-interface to xhci_hcd xhci_pci ehci_pci ohci_pci
11月 16 07:01:50 localhost service_harddrake[561]: modified file /etc/modprobe.conf
11月 16 07:01:50 localhost service_harddrake[561]: to put in /etc/modprobe.preload nvram, evdev
11月 16 07:01:50 localhost service_harddrake[561]: modified file /etc/modprobe.preload
11月 16 07:01:50 localhost service_harddrake[561]: removed DVDROM: sr0
11月 16 07:01:50 localhost service_harddrake[561]: removed VIDEO: InnoTek Systemberatung GmbH|VirtualBox Graphics Adapter
11月 16 07:01:50 localhost service_harddrake[561]: added VIDEO: Advanced Micro Devices, Inc. [AMD/ATI]|Wrestler [Radeon HD 6320]
11月 16 07:01:50 localhost service_harddrake[561]: automatic XFree configuration
11月 16 07:01:50 localhost service_harddrake[561]: running: /sbin/modprobe evdev
11月 16 07:01:50 localhost service_harddrake[561]: running: /sbin/modprobe -n evdev
11月 16 07:01:50 localhost service_harddrake[561]: running: /sbin/modprobe usbhid
11月 16 07:01:50 localhost service_harddrake[561]: running: /sbin/modprobe -n usbhid
11月 16 07:01:50 localhost service_harddrake[561]: running: udevadm info --query env --path /devices/platform/i8042/serio1/input/input2
11月 16 07:01:50 localhost service_harddrake[561]: input/by-id/usb-noserial-event-mouse missing
11月 16 07:01:50 localhost service_harddrake[561]: removed files/directories /etc/X11/xinit.d/mouse_buttons
11月 16 07:01:50 localhost service_harddrake[561]: removed files/directories /etc/X11/xinit.d/xpad
11月 16 07:01:50 localhost service_harddrake[561]: running: monitor-edid -v --perl --try-in-console
11月 16 07:01:51 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     x11-driver-video-fglrx
11月 16 07:01:53 localhost service_harddrake[561]: 正在检查综合文件 [/var/lib/urpmi/synthesis.hdlist.Core Release.cz]
11月 16 07:01:53 localhost service_harddrake[561]: 正在检查综合文件 [/var/lib/urpmi/synthesis.hdlist.Nonfree Release.cz]
11月 16 07:01:53 localhost service_harddrake[561]: those kernel module packages can be installed: dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:53 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     radeon-firmware
11月 16 07:01:53 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     x11-driver-video-ati x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:53 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:53 localhost service_harddrake[561]: installing packages x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:54 localhost urpmi[634]: called with: --allow-medium-change --auto --no-verify-rpm --expect-install x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:02:14 localhost kernel: blk_update_request: I/O error, dev loop0, sector 5941856
11月 16 07:02:14 localhost kernel: blk_update_request: I/O error, dev loop0, sector 5941888

点评

install后面说明需要安装 x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5  详情 回复 发表于 2015-11-16 08:30
回复

使用道具 举报

190#
 楼主| 发表于 2015-11-16 08:30:12 | 只看该作者
本帖最后由 2011niumao 于 2015-11-16 08:33 编辑
mac3000 发表于 2015-11-16 01:28
文件如下,楼主有空看看要安装哪些东西?

hose kernel module packages can be installed: dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:53 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     radeon-firmware
11月 16 07:01:53 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     x11-driver-video-ati x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:53 localhost service_harddrake[561]: running: /bin/rpm -q --qf %{name}
                                                     x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:53 localhost service_harddrake[561]: installing packages x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
11月 16 07:01:54 localhost urpmi[634]: called with: --allow-medium-change --auto --no-verify-rpm --expect-install x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5

第一句最后一句,install后面说明需要安装 x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
  1. sudo urpmi x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8-desktop-3.mga5
复制代码

点评

安装后,进入系统登陆界面,但奇怪鼠标 键盘都无作用  详情 回复 发表于 2015-11-16 14:47
回复

使用道具 举报

191#
 楼主| 发表于 2015-11-16 08:53:29 | 只看该作者
mac3000 发表于 2015-11-16 00:26
笔误之前已注意

再次制作启动文件,涛声依旧

编译只要能通过,应该没有问题。看不出问题所在。很奇怪。
可以使用
  1. lsinitrd dracut-mageia-kloop
复制代码
查看其内容,看看是不是有ntfs-3g相关文件。
回复

使用道具 举报

192#
 楼主| 发表于 2015-11-16 09:02:45 | 只看该作者
  1. sudo dracut  -i /home/niumao/mydracut/10-vhdmount-kloop.sh /lib/dracut/hooks/pre-mount/10-vhdmount-kloop.sh  --no-hostonly  --install " blkid kpartx  partx ntfs-3g fusermount  mount.fuse mount.ntfs-3g vgscan vgchange lvm  "   --add-drivers  "fuse loop  dm-mod "  -o " plymouth btrfs crypt  cifs dmraid mdraid multipath fcoe fcoe-uefi iscsi nfs nbd"   /home/niumao/dracut-mageia-kloop  内核版本
复制代码

是不是由于vmlinuz dracut版本不一致导致不能挂载?经历过这种错误。不过提示是fuse找不到,启动失败。和你的提示不一样。可以使用上面命令,在最后加上内核版本。
( ls /lib/modules/ 里面的子目录名称).

点评

在最后加上内核版本,仍然无法启动。 下载楼主分享的文件 mageia-kloop.zip 4.1.12-desktop-1.mga5.zip 已成功启动,自己就不折腾了。  详情 回复 发表于 2015-11-20 19:24
回复

使用道具 举报

193#
发表于 2015-11-16 14:47:45 | 只看该作者
2011niumao 发表于 2015-11-16 08:30
第一句最后一句,install后面说明需要安装 x11-driver-video-fglrx dkms-fglrx fglrx-kernel-3.19.8- ...

安装后,进入系统登陆界面,但奇怪鼠标 键盘都无作用

点评

也可以在kloop连接下载ubuntu的内核引导文件,用他们引导Mageia. 从以往的测试看,效果很好.  详情 回复 发表于 2015-11-20 19:07
缺少驱动。到第一楼KLOOP链接下载4.1.12-desktop-1.mga5.zip。 以root身份解压到/lib/modules下面。 这个是和新近上传mageia内核统一版本的。  详情 回复 发表于 2015-11-16 20:58
回复

使用道具 举报

194#
 楼主| 发表于 2015-11-16 20:58:22 | 只看该作者
mac3000 发表于 2015-11-16 14:47
安装后,进入系统登陆界面,但奇怪鼠标 键盘都无作用

缺少驱动。到第一楼KLOOP链接下载4.1.12-desktop-1.mga5.zip。
以root身份解压到/lib/modules下面。

这个是和新近上传mageia内核统一版本的。

点评

下载 解压后,启动成功。 谢谢楼主。  详情 回复 发表于 2015-11-20 19:13
回复

使用道具 举报

195#
 楼主| 发表于 2015-11-20 19:07:15 | 只看该作者
mac3000 发表于 2015-11-16 14:47
安装后,进入系统登陆界面,但奇怪鼠标 键盘都无作用

也可以在kloop连接下载ubuntu的内核引导文件,用他们引导Mageia.
从以往的测试看,效果很好.
回复

使用道具 举报

196#
发表于 2015-11-20 19:13:34 | 只看该作者
本帖最后由 mac3000 于 2015-11-20 19:14 编辑
2011niumao 发表于 2015-11-16 20:58
缺少驱动。到第一楼KLOOP链接下载4.1.12-desktop-1.mga5.zip。
以root身份解压到/lib/modules下面。


下载 解压后,启动成功。
谢谢楼主分享。
回复

使用道具 举报

197#
发表于 2015-11-20 19:24:26 | 只看该作者
2011niumao 发表于 2015-11-16 09:02
是不是由于vmlinuz dracut版本不一致导致不能挂载?经历过这种错误。不过提示是fuse找不到,启动失败。和 ...

在最后加上内核版本,仍然无法启动。

下载楼主分享的文件
mageia-kloop.zip
4.1.12-desktop-1.mga5.zip
已成功启动,自己就不折腾了。

点评

已经折腾很多了.就是Mageia费事.  发表于 2015-11-20 22:41
回复

使用道具 举报

198#
发表于 2015-11-23 16:04:35 | 只看该作者
反馈
Mint 和 Ubuntu 的安装界面一模一样,
按照 Kloop 的 Ubuntu 教程制作 Mint 17.2启动文件,
成功启动。
楼主可以将Mint也加入教程中了。
回复

使用道具 举报

199#
发表于 2015-11-23 16:33:42 | 只看该作者
网上看到
Ubuntu 是基于Debian 的
Kloop肯定也能启动Debian啦
楼主能否有空做个Debian 8 的Kloop启动教程出来?

点评

谢谢反馈.应该不用单独写出教程.Debian Mint都可以参照UBUNTU教程制作. centos可以参考Fedora制作.  详情 回复 发表于 2015-11-23 18:55
回复

使用道具 举报

200#
 楼主| 发表于 2015-11-23 18:55:18 | 只看该作者
本帖最后由 2011niumao 于 2015-11-23 18:56 编辑
mac3000 发表于 2015-11-23 16:33
网上看到
Ubuntu 是基于Debian 的
Kloop肯定也能启动Debian啦


谢谢反馈.应该不用单独写出教程.Debian Mint都可以参照UBUNTU教程制作.
centos可以参考Fedora制作.
Debian有人作过.centos我作过,也成功的.
回复

使用道具 举报

201#
发表于 2015-11-24 20:51:30 | 只看该作者
hi,使用kloop方法设置14.04没有问题,但是15.10有错误,如下:


其中/root我查看/scripts/init-bottom中的脚本,看到是一个宏,进入后pwd发现是存放ubuntu文件夹所在的分区

点评

1510我这里是成功的。只是修改local的方式需要修正一下。 请检查一下你的引导参数,是否会多一个空格什么的。 一楼KLOOP链接今天刚上传一个LIVE-UBUNTU 1510. 在KLOOP子目录ubuntu510-LIVE里面。 可以从哪里下  详情 回复 发表于 2015-11-24 21:51
回复

使用道具 举报

202#
 楼主| 发表于 2015-11-24 21:51:20 | 只看该作者
东风唯笑 发表于 2015-11-24 20:51
hi,使用kloop方法设置14.04没有问题,但是15.10有错误,如下:


1510我这里是成功的。只是修改local的方式需要修正一下。
请检查一下你的引导参数,是否会多一个空格什么的。

一楼KLOOP链接今天刚上传一个LIVE-UBUNTU 1510. 在KLOOP子目录ubuntu1510-LIVE里面。
可以从哪里下载我制作好的4.2.0-19版本的内核文件,使用它们引导看看。

如果引导成功,可以在 /run/initramfs/script子目录内看到local的内容。
回复

使用道具 举报

203#
发表于 2015-12-5 18:38:32 | 只看该作者
大神ubuntu是成功了,但是安装CentOS-7-x86_64-DVD-1503-01.iso这个系统,木有/lib/dracut/hooks/pre-mount/10-vhdmount.sh这个文件啊,这个怎么搞....

点评

这个文件是自己制作dracut时候加入进去的阿.你需要把制作dracut命令的参数中的路径 /home/niumao/mydracut中的 niumao 更改为你自己的用户名.  详情 回复 发表于 2015-12-6 10:02
回复

使用道具 举报

204#
 楼主| 发表于 2015-12-6 10:02:04 | 只看该作者
crown2kiss 发表于 2015-12-5 18:38
大神ubuntu是成功了,但是安装CentOS-7-x86_64-DVD-1503-01.iso这个系统,木有/lib/dracut/hooks/pre-mount ...

这个文件是自己制作dracut时候加入进去的阿.你需要把制作dracut命令的参数中的路径 /home/niumao/mydracut中的 niumao 更改为你自己的用户名.

点评

谢谢已经搞定centos7,单VHD文件就可以了,好厉害,不过ntfs文件不好挂载,特别是VHD所在分区  详情 回复 发表于 2015-12-7 10:18
回复

使用道具 举报

205#
发表于 2015-12-7 10:18:44 | 只看该作者
2011niumao 发表于 2015-12-6 10:02
这个文件是自己制作dracut时候加入进去的阿.你需要把制作dracut命令的参数中的路径 /home/niumao/mydracu ...

谢谢已经搞定centos7,单VHD文件就可以了,好厉害,不过ntfs文件不好挂载,特别是VHD所在分区

点评

恭喜。那个vhd文件所在分区应该已经挂载在 /host 下面了。  详情 回复 发表于 2015-12-7 10:52
回复

使用道具 举报

206#
 楼主| 发表于 2015-12-7 10:52:27 | 只看该作者
本帖最后由 2011niumao 于 2015-12-9 18:27 编辑
crown2kiss 发表于 2015-12-7 10:18
谢谢已经搞定centos7,单VHD文件就可以了,好厉害,不过ntfs文件不好挂载,特别是VHD所在分区


恭喜。那个vhd文件所在分区应该已经挂载在 /host 下面了。
如果没有/host,请手动建立一个.重启后可以看到其内是vhd所在分区.
回复

使用道具 举报

207#
发表于 2015-12-9 11:18:47 | 只看该作者
本帖最后由 againshi 于 2015-12-9 11:23 编辑

我按照kloop中的ubuntu步骤安装
前面都没有什么问题。
最后启动的时候报错
信息如下:
mount:mounting /dev/sda1 on /root failed:Invalid argument
Begin:Running /scripts/init-bottom ...mount:mounting /dev on /root/dev failed:No such file or directory
done.
mount:mounting /sys on /root/sys failed:No such file or directory
mount:mounting /proc on /root/proc failed:No such file or directory
Target filesystem doesn't have requested /sbin/init.
NO init found. Try passing init=bootarg
请问这个如何处理。

点评

请检查你的引导参数.kroot=/dev/mapper/loop0p5 ? 或者 kroot=/dev/mapper/loop0p1 看看是第五分区挂载根还是第一分区挂载根而定.如果还不行,可以贴一下你的引导菜单.  详情 回复 发表于 2015-12-9 18:22
回复

使用道具 举报

208#
 楼主| 发表于 2015-12-9 18:22:46 | 只看该作者
本帖最后由 2011niumao 于 2015-12-9 18:26 编辑
againshi 发表于 2015-12-9 11:18
我按照kloop中的ubuntu步骤安装
前面都没有什么问题。
最后启动的时候报错

错误是没有正确挂载根,还是把vhd文件所在分区当作根了.奇怪.

这里你的vhd采用了逻辑分区,一般不赞成使用逻辑分区,因为主分区可以分4个,够用的.也许是逻辑分区造成的挂载失败?
但是很久以前专门测试过,逻辑分区是可以的.还有可能是引导参数错误.

请检查你的引导参数kroot.应该是 kroot=/dev/mapper/loop0p5  ?  或者 kroot=/dev/mapper/loop0p1  看看是第五分区挂载根还是第一分区挂载根而定.
如果还不行,可以贴一下你的引导菜单.

点评

恩。我找到原因了。vhd的路径有空格。按照你原来的参数启动起来了。 但是进入login界面一输入密码就死机。但是在vbox中没有任何问题。因为已经进入桌面,我不知道该如何排错了。这种情况该怎么办。 ubuntu不黑屏就  详情 回复 发表于 2015-12-10 10:36
回复

使用道具 举报

209#
发表于 2015-12-10 10:36:28 | 只看该作者
2011niumao 发表于 2015-12-9 18:22
错误是没有正确挂载根,还是把vhd文件所在分区当作根了.奇怪.

这里你的vhd采用了逻辑分区,一般不赞成使 ...

恩。我找到原因了。vhd的路径有空格。按照你原来的参数启动起来了。
但是进入login界面一输入密码就死机。但是在vbox中没有任何问题。因为已经进入桌面,我不知道该如何排错了。这种情况该怎么办。
ubuntu不黑屏就是死机,capslock和scrolllock这两个灯不停的闪烁,

点评

这个也不懂了。估计和显卡驱动有关,但是也只是猜测。 可以进入命令行界面的话,查看一下启动信息。 然后拿出来 bootlog 看看。或 删除 > 以后内容直接屏幕上看启动信息。  详情 回复 发表于 2015-12-10 10:42
回复

使用道具 举报

210#
 楼主| 发表于 2015-12-10 10:42:56 | 只看该作者
againshi 发表于 2015-12-10 10:36
恩。我找到原因了。vhd的路径有空格。按照你原来的参数启动起来了。
但是进入login界面一输入密码就死机 ...

这个也不懂了。估计和显卡驱动有关,但是也只是猜测。
可以进入命令行界面的话,查看一下启动信息。
  1. journalctl -a -b > bootlog
复制代码

然后拿出来 bootlog 看看。或 删除 > 以后内容直接屏幕上看启动信息。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-27 21:55

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表