无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: 2011yaya2007777
打印 上一主题 下一主题

支持含有碎片的文件仿真

    [复制链接]
271#
 楼主| 发表于 2014-7-10 14:56:11 | 只看该作者
应该是
git remote add grub4dos git@github.com:chenall/grub4dos.git

问题依旧
回复

使用道具 举报

272#
发表于 2014-7-10 14:58:11 | 只看该作者

这个命令应该在你的GRUB4DOS源码目录下执行
回复

使用道具 举报

273#
 楼主| 发表于 2014-7-10 14:59:43 | 只看该作者
是这里
This branch is 0 commits ahead and 0 commits behind master    Pull Request   Compare
有2个按钮。
右边大按钮是 “ pull request”,不是“compare & pull request”
回复

使用道具 举报

274#
 楼主| 发表于 2014-7-10 15:03:36 | 只看该作者
这个命令应该在你的GRUB4DOS源码目录下执行

已经执行同步了。就是没有"compare & pull request"大按钮。
回复

使用道具 举报

275#
发表于 2014-7-10 15:08:43 | 只看该作者
2011yaya2007777 发表于 2014-7-10 15:03
已经执行同步了。就是没有"compare & pull request"大按钮。

有修改了代码,并且git push之后才会出现这个大按钮的.

同步的话主要是为了从上游代码库中下载代码回来(比如我修改了代码,你同步一下就可以了)
回复

使用道具 举报

276#
发表于 2014-7-10 15:14:41 | 只看该作者
另外如果没有看到那个 compare & pull request 大按钮,点击版本库号左边的那个也行的,看#266
回复

使用道具 举报

277#
 楼主| 发表于 2014-7-10 15:15:59 | 只看该作者
以上提交只是在本地修改,现在可以推送到服务器上,
直接
git pull就行了.

上面的代码提交之后打开github项目页面
https://github.com/yaya/grub4dos

应该可以看到compare & pull request的按钮,

那 git pull 是否应当是 git push?
执行 git push 后,看到大按钮了!
回复

使用道具 举报

278#
发表于 2014-7-10 15:18:16 | 只看该作者
本帖最后由 chenall 于 2014-7-10 15:19 编辑
2011yaya2007777 发表于 2014-7-10 15:15
那 git pull 是否应当是 git push?
执行 git push 后,看到大按钮了!


git pull从github上下载代码回来

git push是上传代码.

不好意思啊,我前面的贴子又写错了...
回复

使用道具 举报

279#
发表于 2014-7-10 15:18:36 | 只看该作者
新版本我这里测试native  xp;native03PE 正常启动,没有发现问题。
回复

使用道具 举报

280#
发表于 2014-7-10 15:24:40 | 只看该作者
OK,看到了,我已经收到并且合并了代码..
回复

使用道具 举报

281#
发表于 2014-7-10 15:41:15 | 只看该作者
yaya请执行一次以下命令,这样方便在代码记录中看到提交者信息.

    git config --global user.name "Your Name"
    git config --global user.email you@example.com
回复

使用道具 举报

282#
 楼主| 发表于 2014-7-10 15:52:07 | 只看该作者
执行了
回复

使用道具 举报

283#
 楼主| 发表于 2014-7-11 10:26:28 | 只看该作者
还想问一下,执行同步(更新)代码功能,保持和主项目代码一致。
        cd grub4dos
        git fetch grub4dos
        git rebase grub4dos/0.4.6
后,是更新了我在https://github.com/yaya2007的分支库,还是更新了本地grub4dos源文件,还是2者都更新了?

哦,看到本地grub4dos源文件更新了,似乎https://github.com/yaya2007没有更新。
回复

使用道具 举报

284#
发表于 2014-7-11 10:35:02 | 只看该作者
2011yaya2007777 发表于 2014-7-11 10:26
还想问一下,执行同步(更新)代码功能,保持和主项目代码一致。
        cd grub4dos
        git fetch grub4dos

这个同步只是更新了本地库.

你还需要再git push推送一下https://github.com/yaya2007才会更新.
回复

使用道具 举报

285#
 楼主| 发表于 2014-7-11 12:26:53 | 只看该作者
dev@grub4dos_dev:/mnt/.31/home/dev/grub4dos$ git push
Counting objects: 12, done.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1011 bytes, done.
Total 6 (delta 4), reused 0 (delta 0)
To git@github.com:yaya2007/grub4dos.git
   cefbfae..b1553f3  0.4.6 -> 0.4.6
dev@grub4dos_dev:/mnt/.31/home/dev/grub4dos$
观察github.com/yaya2007的ChangeLog_GRUB4DOS.txt,没有更改。

再次:
dev@grub4dos_dev:/mnt/.31/home/dev/grub4dos$ git push
Everything up-to-date
dev@grub4dos_dev:/mnt/.31/home/dev/grub4dos$
也没有更新
回复

使用道具 举报

286#
发表于 2014-7-11 14:00:15 | 只看该作者
2011yaya2007777 发表于 2014-7-11 12:26
dev@grub4dos_dev:/mnt/.31/home/dev/grub4dos$ git push
Counting objects: 12, done.
Compressing obje ...

github上默认的分支版本是master也就是0.4.5
你可以设置一下默认版本为0.4.6

https://github.com/yay2007/grub4dos/settings

设置"Default branch"改为0.4.6就可以直接看到了.

不改的话直接在源码界面上切换一直分支版本也行的。


回复

使用道具 举报

287#
 楼主| 发表于 2014-7-11 14:02:17 | 只看该作者
知道了。谢谢指导。
回复

使用道具 举报

288#
发表于 2014-7-11 14:02:40 | 只看该作者
另外如果你不需要0.4.5的代码是可以直接删除的,这样会比较省事,避免分心.

执行以下命令就会删除服务器上的master分支.这样就只有0.4.6代码了.

git push origin :master
回复

使用道具 举报

289#
发表于 2014-7-15 12:59:08 | 只看该作者
本帖最后由 jack95 于 2014-7-15 13:02 编辑

gcc: 4.8x
os: centos 7
编译:
请chenall 帮忙看看我那里没有弄好,谢谢

[jack95@localhost grub4dos]$ make
./build
make[1]: 进入目录“/tmp/grub4dos-temp”
make[1]: *** 没有规则可以创建目标“clean”。 停止。
make[1]: 离开目录“/tmp/grub4dos-temp”
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 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 dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking for gcc... (cached) gcc
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 dependency style of gcc... (cached) gcc3
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether optimization for size works... yes
checking whether gcc has -fno-stack-protector... yes
checking whether gcc has -fno-reorder-functions... yes
checking whether -Wundef works... yes
checking whether -falign-loops works... yes
checking whether linker accepts `--build-id=none'... no
checking for objcopy... objcopy
checking if C symbols get an underscore after compilation... no
checking whether objcopy works for absolute addresses... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking if start is defined by the compiler... no
checking if _start is defined by the compiler... no
configure: error: Neither start nor _start is defined
make: *** [build_default] 错误 1

点评

估计是有一些需要的组件没有安装上去. 可以参考这里 http://chenall.net/post/grub4dos_dev/ 具体的可以查看一下编译目录下生成的那个log文件  详情 回复 发表于 2014-7-16 11:34
回复

使用道具 举报

290#
发表于 2014-7-16 09:53:59 | 只看该作者
chenall 发表于 2014-7-11 10:35
这个同步只是更新了本地库.

你还需要再git push推送一下https://github.com/yaya2007才会更新.

新版在XP下不能编译了,grub4dos_dev_2014-06-25   +   grub4dos-0.4.5c-2014-07-11源码

不管 grub4dos 放在colinux/还是grub4dos_dev/g4d_dev/home/dev/都报错

sshot-1.png (17.35 KB, 下载次数: 247)

sshot-1.png

sshot-2.png (16.23 KB, 下载次数: 241)

sshot-2.png
回复

使用道具 举报

291#
发表于 2014-7-16 11:34:02 | 只看该作者
jack95 发表于 2014-7-15 12:59
gcc: 4.8x
os: centos 7
编译:

估计是有一些需要的组件没有安装上去.

可以参考这里

http://chenall.net/post/grub4dos_dev/

具体的可以查看一下编译目录下生成的那个log文件
回复

使用道具 举报

292#
发表于 2014-7-16 11:34:53 | 只看该作者
527104427 发表于 2014-7-16 09:53
新版在XP下不能编译了,grub4dos_dev_2014-06-25   +   grub4dos-0.4.5c-2014-07-11源码

不管 grub4do ...

你的源码是如何下载的?看起来是权限错误.

建议使用git下载源码.

你可以试试清空掉然后重新下载.
回复

使用道具 举报

293#
发表于 2014-7-16 12:56:59 | 只看该作者
本帖最后由 chiannet 于 2014-7-16 13:07 编辑

怀疑20140709 0.46a GRLR usb --init功能有问题。



图一,UD启动fb菜单

图一,UD mbr


Conventional03PE是20140709 0.46a GRLR 改名而来,其内置菜单如下:
  1. echo Loading SKY Conventional 03PE...
  2. usb --init
  3. map (ud)/Sky_PE.ISO (0xfb) || map --mem (ud)/Sky_PE.ISO (0xfb)
  4. map --hook
  5. chainloader (0xfb)/AXPE/SETUPLDR.BIN
  6. boot
复制代码




若用USB 2.0 的U盘制作的UD,在图一处按下“F1”键,正常。

若用USB 3.0 的U盘制作的UD,在图一处按下“F1”键,运行结果如下,且UD引导被破坏,无法再次启动,需要重新制作UD。


图三、用USB 3.0的U盘制作的UD,使用上述内容0.46a grldr内置菜单后



回复

使用道具 举报

294#
发表于 2014-7-16 13:01:57 | 只看该作者
请yaya老大看看哪里出问题了?
回复

使用道具 举报

295#
发表于 2014-7-16 14:43:54 | 只看该作者
chenall 发表于 2014-7-16 11:34
你的源码是如何下载的?看起来是权限错误.

建议使用git下载源码.

用git下载可以了,原来是用IE下载的不行。
回复

使用道具 举报

296#
发表于 2014-7-16 16:32:11 | 只看该作者
chenall 发表于 2014-7-16 11:34
估计是有一些需要的组件没有安装上去.

可以参考这里

是用git下载,应该不是权限问题,我用root编译出现同样的问题。

点评

答非所问,请仔细看贴.  发表于 2014-7-16 18:28
回复

使用道具 举报

297#
 楼主| 发表于 2014-7-16 17:04:20 | 只看该作者
若用USB 3.0 的U盘制作的UD,在图一处按下“F1”键,运行结果如下,且UD引导被破坏,无法再次启动,需要重新制作UD。

是 usb 驱动惹的祸?用USB 3.0 的U盘,在命令行下执行 usb --init ,返回什么信息?然后重启,看看是否UD引导被破坏,无法再次启动。
如果无法启动,请把U盘前8Mb(含pbr)使用WinHex截出来。
回复

使用道具 举报

298#
发表于 2014-7-16 18:27:22 | 只看该作者
527104427 发表于 2014-7-16 14:43
用git下载可以了,原来是用IE下载的不行。

用IE下载,我估计你是直接下载的ZIP然后在WINDOWS下解压的吧.所以丢失了文件属性.

在LINUX下解压就不会有这个问题了.
回复

使用道具 举报

299#
发表于 2014-7-17 10:58:08 | 只看该作者
2011yaya2007777 发表于 2014-7-16 17:04
是 usb 驱动惹的祸?用USB 3.0 的U盘,在命令行下执行 usb --init ,返回什么信息?然后重启,看看是否UD ...

我这里是 飚王(SSK)锐锋 U盘32G USB3.0 ,因为是读卡器主控不能量产,UD一直启动正常。



回复

使用道具 举报

300#
发表于 2014-7-25 09:25:47 | 只看该作者
chenall 发表于 2014-6-25 11:21
汗,忘记贴链接了.
http://grub4dos.chenall.net/grub4dos_dev_2014-06-25.7z
看里面的 使用说明(readme). ...

@chenall,

你的这个 grub4dos_dev 已经无法下载了。是删除了?还是挪动到别处了?从你的 Blog 上也找不到下载它的链接了。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-21 21:14

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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