|
发表于 2010-6-19 18:35:35
|
显示全部楼层
[sunshine@MagicLinux tmp_iso]$ mkisofs -V MagicLinux-2.5-1 -b boot/grub/grldr -c boot/grub/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -T -r -f -o MagicLinux-2.5.1.iso magic_iso
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using gb18030 (detected in locale settings)
Size of boot image is 4 sectors -> No emulation
genisoimage: Permission denied. Error opening boot image file 'magic_iso/boot/grub/grldr' for update. [sunshine@MagicLinux tmp_iso]$ ls magic_iso/boot/grub/grldr -l
-r--r--r-- 1 sunshine sunshine 235297 06-19 18:32 magic_iso/boot/grub/grldr [sunshine@MagicLinux tmp_iso]$ sudo mkisofs -V MagicLinux-2.5-1 -b boot/grub/grldr -c boot/grub/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -T -r -f -o MagicLinux-2.5.1.iso magic_iso
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using gb18030 (detected in locale settings)
Size of boot image is 4 sectors -> No emulation
40.16% done, estimate finish Sat Jun 19 18:34:39 2010
80.15% done, estimate finish Sat Jun 19 18:34:39 2010
Total translation table size: 7601
Total rockridge attributes bytes: 2948
Total directory bytes: 7132
Path table size(bytes): 50
Max brk space used 1b000
12481 extents written (24 MB)
[sunshine@MagicLinux tmp_iso]$ ls
magic_iso MagicLinux-2.5.1.iso
第一次没成功,第二次加了sudo提权,制作成功。
你那个命令应该去掉grub4dos_ROOT/
[ 本帖最后由 zy_sunshine 于 2010-6-19 18:42 编辑 ] |
|