返回列表 發帖

【角色茶桌】—— GRUB4DOS

本帖最後由 角色 於 2011-9-4 18:39 編輯

因为我们经常会用到Windows去edit东西,所以特别开一幅帖子来特别讨论GRUB4DOS。

GRUB4DOS的安装方法。
http://themudcrab.com/acronis_grub4dos.php#tagIntroduction

GRUB4DOS Homepage
https://gna.org/projects/grub4dos/

GRUB4DOS的常用指令
README_GRUB4DOS.zip (38.12 KB)

角色

本帖最後由 角色 於 2011-9-10 18:04 編輯

因为你安装了某些软件,然后那个软件更改了你的MBR信息,你不能执行你所要德GRUB menu.lst,那么你可以怎样做呢?

1)首先,你要有启动手指,怎样做?请你看 MultiBootISOs链接

2)假设你的常用的grub menu.lst在 /dev/sda6, 那么在hard drive里就是第六个partition,那么就是(hdx,5), where x is the hard drive number after boot. 如果用手指boot时,手指是(hd1,x),而hard drive就是(hd2,x)。如果用直接用hard drive boot,那么启动的hard drive就是(hd1,x)了


2)然后把手指boot起,进入grub里
grub > root (hd2,5)
grub > setup (hd2)
grub > quit

3)那么你就可以再次启动,那么你的启动hard drive的MBR就会指向(hd1,5),之后你就会看到你常用的启动menu了。


角色

TOP

备用帖子002

TOP

备用帖子003

TOP

备用帖子004

TOP

备用帖子005

TOP

在使用grub4dos的installer(grubinst_gui)看不见我插入的手指?

如果你是用Windows 7(估计Vista)也一样,你要用管理员身份去运行grubinst_gui,然后才能看到你插入的手指,一般hd0是指你本身的hard drive,而hd1是指你的手指。

角色

TOP

安装install方式,都不能手指上的menu.lst boot起,是用MENU.LST还是用menu.lst呢?

角色

TOP

你用什么installer呢?

角色

TOP

我就是用下面的link的installer去安装grub4dos,但是不成功。我的手指是transcend jetflash500,一买来就安装,没有再format过,不是知道是否这个原因?

http://themudcrab.com/acronis_grub4dos.php#tagIntroduction

TOP

谢谢bubblestar兄的feedbacks,我还以为你用我说过的link去安装grub4dos。

但是我记的你以前也用过我说的link安装过,你能成功,但是我从来没有成功过,那个你说的手指的种类问题。不管怎样,你说的MultiBootISOs,我好像也用过,而我在Sandisk上安装过,而且非常成功。

好,我现在就去安装,看看是否能再Transcend Jetflash 500上安装成功?

角色

TOP

如果你说MultiBootISOs,现在改为YUMI (Multiboot USB Creator,Windows)

http://www.pendrivelinux.com/yumi-multiboot-usb-creator

角色

TOP

本帖最後由 角色 於 2011-9-4 20:38 編輯

刚才我用YUMI去install CentOS 5.6的ISO,看看YUMI是否能变成一个CDROM,然后去安装CentOS 5.6,但是不成功,安装中途,CentOS安装软件发现手指不是CDROM,它不像Virtual ROM (Zalman ZM-VE200),可以彻底看成ROM去安装软件。

角色

TOP

终于我Bootable的grub4dos,终于bubblestar兄提议的MultiBootISOs,做成了,下一步就是把自己常用的ISO(当然是经过测试的ISO),不然分分钟不成功。

角色

TOP

安装MultiBootISOs的files图片:

2011-9-4 21-33-19.png

The cotents of menu.lst
  1. default 0
  2. timeout 30
  3. color NORMAL HIGHLIGHT HELPTEXT HEADING
  4. splashimage=/splash.xpm.gz
  5. foreground=FFFFFF
  6. background=000000

  7. # Suggested by Erhan Sohail
  8. title Boot First Hard Drive (HDD)
  9. map (hd0) (hd1)
  10. map (hd1) (hd0)
  11. map --hook
  12. chainloader (hd0)+1
  13. rootnoverify (hd0)

  14. title Restart
  15. reboot

  16. title Shutdown
  17. halt

  18. title --- Custom MultiBoot Entries ---
  19. root

  20. title Parted Magic (Partition Tools)
  21. find --set-root /pmagic.iso
  22. map --heads=0 --sectors-per-track=0 /pmagic.iso (hd32)
  23. map --hook
  24. root (hd32)
  25. kernel /pmagic/bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us iso_filename=/pmagic.iso
  26. initrd /pmagic/initramfs
  27. map --unmap=0:0xff
複製代碼
角色

TOP

返回列表