veket官方网站论坛

veketx

 找回密码
 要注册
搜索
查看: 6328|回复: 36

[推荐] 增加veketx-26的引导

[复制链接]
发表于 2023-7-9 17:49 | 显示全部楼层 |阅读模式
我是直接修改引导文件添加上veketx-26的引导就能用了的。
veket的兼容就是好,从veket-20开始就不用重新安装,直接添加引导就行:
  1. ## start section veketx-26
  2. title veketx-26 (no save file)
  3. find --set-root --ignore-floppies /veketx-26/vmlinuz
  4. kernel /veketx-26/vmlinuz pfix=ram savefile=none psubdir=veketx-26
  5. initrd /veketx-26/initrd.gz
  6. #initrd /veketx-26/ucode.cpio /veketx-26/initrd.gz
  7. #boot

  8. title veketx-26
  9. find --set-root --ignore-floppies /veketx-26/vmlinuz
  10. kernel /veketx-26/vmlinuz pfix=fsck psubdir=veketx-26
  11. initrd /veketx-26/initrd.gz
  12. #initrd /veketx-26/ucode.cpio /veketx-26/initrd.gz
  13. #boot
  14. ## end section veketx-26
复制代码

添加之后我的整个文件是:
## start header
timeout=5
default=0
## end header

## start section veketx-26
title veketx-26 (no save file)
find --set-root --ignore-floppies /veketx-26/vmlinuz
kernel /veketx-26/vmlinuz pfix=ram savefile=none psubdir=veketx-26
initrd /veketx-26/initrd.gz
#initrd /veketx-26/ucode.cpio /veketx-26/initrd.gz
#boot

title veketx-26
find --set-root --ignore-floppies /veketx-26/vmlinuz
kernel /veketx-26/vmlinuz pfix=fsck psubdir=veketx-26
initrd /veketx-26/initrd.gz
#initrd /veketx-26/ucode.cpio /veketx-26/initrd.gz
#boot
## end section veketx-26

## start section veket-24
title veket-24 (no save file)
find --set-root --ignore-floppies /veket-24/vmlinuz
kernel /veket-24/vmlinuz pfix=ram savefile=none psubdir=veket-24
initrd /veket-24/initrd.gz
#initrd /veket-24/ucode.cpio /veket-24/initrd.gz
#boot


title veket-24
find --set-root --ignore-floppies /veket-24/vmlinuz
kernel /veket-24/vmlinuz pfix=fsck psubdir=veket-24
initrd /veket-24/initrd.gz
#initrd /veket-24/ucode.cpio /veket-24/initrd.gz
#boot
## end section veket-24

## start section veket-22
title veket-22 (no save file)
find --set-root --ignore-floppies /veket-22/vmlinuz
kernel /veket-22/vmlinuz pfix=ram savefile=none psubdir=veket-22
initrd /veket-22/initrd.gz
initrd /veket-22/ucode.cpio /veket-22/initrd.gz
boot


title veket-22
find --set-root --ignore-floppies /veket-22/vmlinuz
kernel /veket-22/vmlinuz pfix=fsck psubdir=veket-22
initrd /veket-22/initrd.gz
initrd /veket-22/ucode.cpio /veket-22/initrd.gz
boot
## end section veket-22

## start section veket_20
title veket 20
find --set-root --ignore-floppies /veket_20/vmlinuz
kernel /veket_20/vmlinuz pfix=fsck psubdir=veket_20
initrd /veket_20/initrd.gz
boot

title veket 20 (no save file)
find --set-root --ignore-floppies /veket_20/vmlinuz
kernel /veket_20/vmlinuz pfix=ram savefile=none psubdir=veket_20
initrd /veket_20/initrd.gz
boot

## end section veket_20

## start section veket_18
##title veket 18
##find --set-root --ignore-floppies /veket_18/vmlinuz
##kernel /veket_18/vmlinuz pfix=fsck psubdir=veket_18
##initrd /veket_18/initrd.gz
##boot

##title veket 18 (no save file)
##find --set-root --ignore-floppies /veket_18/vmlinuz
##kernel /veket_18/vmlinuz pfix=ram savefile=none psubdir=veket_18
##initrd /veket_18/initrd.gz
##boot
## end section veket_18

## start section veket_20.10
title veket 20.10
find --set-root --ignore-floppies /veket_20.10/vmlinuz
kernel /veket_20.10/vmlinuz pfix=fsck psubdir=veket_20.10
initrd /veket_20.10/initrd.gz
boot

title veket 20.10 (no save file)
find --set-root --ignore-floppies /veket_20.10/vmlinuz
kernel /veket_20.10/vmlinuz pfix=ram savefile=none psubdir=veket_20.10
initrd /veket_20.10/initrd.gz
boot
## end section veket_20.10






http://www.lucky8k.com/thread-133982-1-1.html
之前我安装22是通过增加引导完成的。
24我用同样的安装方法

注意了,17楼的网友tuice0liu是删除了
删了一下两行才正常进系统。

  1. initrd /veket-24/ucode.cpio /veket-24/initrd.gz
  2. boot
复制代码

但是我一直用这个的,大家留意下自己下载的iso是否有ucode.cpio这个文件,若是没可能要删除才正常
大家试过后留言反馈一下。
经测试,去掉ucode.cpio这个文件之后,是可以删除掉这两行的,修正了



首先在任意一个分区解压缩veket-24的iso,然后重命名为:veket-24
然后在原来的引导文件增加以下内容:
## start section veket-24
title veket-24 (no save file)
find --set-root --ignore-floppies /veket-24/vmlinuz
kernel /veket-24/vmlinuz pfix=ram savefile=none psubdir=veket-24
initrd /veket-24/initrd.gz



title veket-24
find --set-root --ignore-floppies /veket-24/vmlinuz
kernel /veket-24/vmlinuz pfix=fsck psubdir=veket-24
initrd /veket-24/initrd.gz

## end section veket-24

我是直接复制我的22引导文件内容,增加然后将所有的22修改为24来引导就好了。
我的完整引导文件内容是:
  1. ## start header
  2. timeout=5
  3. default=0
  4. ## end header

  5. ## start section veket-24
  6. title veket-24 (no save file)
  7. find --set-root --ignore-floppies /veket-24/vmlinuz
  8. kernel /veket-24/vmlinuz pfix=ram savefile=none psubdir=veket-24
  9. initrd /veket-24/initrd.gz



  10. title veket-24
  11. find --set-root --ignore-floppies /veket-24/vmlinuz
  12. kernel /veket-24/vmlinuz pfix=fsck psubdir=veket-24
  13. initrd /veket-24/initrd.gz
  14. ## end section veket-24

  15. ## start section veket-22
  16. title veket-22 (no save file)
  17. find --set-root --ignore-floppies /veket-22/vmlinuz
  18. kernel /veket-22/vmlinuz pfix=ram savefile=none psubdir=veket-22
  19. initrd /veket-22/initrd.gz
  20. initrd /veket-22/ucode.cpio /veket-22/initrd.gz
  21. boot


  22. title veket-22
  23. find --set-root --ignore-floppies /veket-22/vmlinuz
  24. kernel /veket-22/vmlinuz pfix=fsck psubdir=veket-22
  25. initrd /veket-22/initrd.gz
  26. initrd /veket-22/ucode.cpio /veket-22/initrd.gz
  27. boot
  28. ## end section veket-22

  29. ## start section veket_20
  30. title veket 20
  31. find --set-root --ignore-floppies /veket_20/vmlinuz
  32. kernel /veket_20/vmlinuz pfix=fsck psubdir=veket_20
  33. initrd /veket_20/initrd.gz
  34. boot

  35. title veket 20 (no save file)
  36. find --set-root --ignore-floppies /veket_20/vmlinuz
  37. kernel /veket_20/vmlinuz pfix=ram savefile=none psubdir=veket_20
  38. initrd /veket_20/initrd.gz
  39. boot

  40. ## end section veket_20
复制代码

发表于 2023-7-9 19:00 | 显示全部楼层
这个好
发表于 2023-7-9 21:16 | 显示全部楼层
学习了。
发表于 2023-7-15 14:18 | 显示全部楼层
小小更改一下就好。
发表于 2023-7-25 23:08 | 显示全部楼层
学习了。
您需要登录后才可以回帖 登录 | 要注册

本版积分规则

QQ|手机版|Archiver|veket官方网站论坛,veketx官方网站论坛,微器人 ( 粤ICP备 11052856 )

GMT+8, 2026-4-19 00:43

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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