LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1191|回复: 7

请求帮助:自制安装盘,加入自制deb包,但是安装过程中报kernel not avaliable

[复制链接]
发表于 2008-1-12 18:38:26 | 显示全部楼层 |阅读模式
preseed如下:
d-i    languagechooser/language-name-fb    select    English
d-i    languagechooser/language-name    select    English
d-i    countrychooser/shortlist-en    select    US
d-i    console-keymaps-at/keymap    select    us

d-i    debian-installer/locale    select    en_US.UTF-8
d-i console-tools/archs select at
d-i netcfg/choose_interface select auto
d-i netcfg/disable_dhcp boolean false
#d-i netcfg/get_nameservers string unassigned-nameservers
#d-i netcfg/get_ipaddress string unassigned-ipaddress
#d-i netcfg/get_netmask string unassigned-netmask
#d-i netcfg/get_gateway string unassigned-gateway
#d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string boss
d-i netcfg/get_domain string  boss
d-i netcfg/wireless_wep string

d-i    mirror/bad    error
d-i    mirror/codename    string
d-i    mirror/country    string
d-i    mirror/http/countries    select    US
d-i    mirror/http/directory    string    /debian/
d-i    mirror/http/hostname    string
d-i    mirror/http/mirror    select    ftp.debian.org
d-i    mirror/http/proxy    string
d-i    mirror/noarch    error
d-i    mirror/protocol    select    http
d-i    mirror/suite    select

"/config/preseed.cfg" 81L, 3971C                        d-i pkgsel/include string apache2,php5,telnetd,telnet,ssh,ftpd,gcc,g++,gdb,make,ftp,cvs,cvsd,vim,libncurses5-dev autoconf,automake,libtool,bzip2,unzip,patch,php5-mysql,php5-curl,php5-gd,tt
#tasksel tasksel/first multiselect standard

d-i preseed/late_command    string /cdrom/tools/boss/config.sh

popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i cdrom-detect/eject boolean true
d-i finish-install/reboot_in_progress note
 楼主| 发表于 2008-1-12 18:39:37 | 显示全部楼层
其中tt是自己制作的deb包,请问自制软件包加入debian-installer的时候需要其他操作吗?

不胜感激:)
回复 支持 反对

使用道具 举报

发表于 2008-1-12 22:35:22 | 显示全部楼层
你用来定制的基础版是什么?

我也做过定制,用的是etch的netinst.iso,基本上没有遇到“kernel not avaliable”类似错误。添加自己编译或收集的deb包也没问题。

需要注意的是“d-i pkgsel/include string ”命令行部分所指定的软件包,其所依赖的其他软件包必须包含在你定制的ISO上,如有缺失“d-i pkgsel/include string”将会失败。

另外,preseed中这个部分:
---------------------
"/config/preseed.cfg" 81L, 3971C d-i pkgsel/include string apache2,php5,telnetd,telnet,ssh,ftpd,gcc,g++,gdb,make,ftp,cvs,cvsd,vim,libncurses5-dev autoconf,automake,libtool,bzip2,unzip,patch,php5-mysql,php5-curl,php5-gd,tt
---------------------
内容确实是这样吗,格式应该是错的吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-13 09:25:07 | 显示全部楼层
Post by sunnyseckt;1806281
你用来定制的基础版是什么?

我也做过定制,用的是etch的netinst.iso,基本上没有遇到“kernel not avaliable”类似错误。添加自己编译或收集的deb包也没问题。

需要注意的是“d-i pkgsel/include string ”命令行部分所指定的软件包,其所依赖的其他软件包必须包含在你定制的ISO上,如有缺失“d-i pkgsel/include string”将会失败。

另外,preseed中这个部分:
---------------------
"/config/preseed.cfg" 81L, 3971C d-i pkgsel/include string apache2,php5,telnetd,telnet,ssh,ftpd,gcc,g++,gdb,make,ftp,cvs,cvsd,vim,libncurses5-dev autoconf,automake,libtool,bzip2,unzip,patch,php5-mysql,php5-curl,php5-gd,tt
---------------------
内容确实是这样吗,格式应该是错的吧?



十分感谢楼上的兄弟,我自制的软件包没有依赖,都是独立的,这点我还是有意识的。
我用的是etch的netinstall版,不清楚是为了什么,楼上的兄弟自制的软件包是用什么工具,我是手工自己创建的debian包,然后加入的control文件压缩而成,用dpkg -i安装没问题,你呢?


另外:"/config/preseed.cfg" 81L, 3971C d-i pkgsel/include string apache2,php5,telnetd,telnet,ssh,ftpd,gcc,g++,gdb,make,ftp,cvs,cvsd,vim,libncurses5-dev autoconf,automake,libtool,bzip2,unzip,patch,php5-mysql,php5-curl,php5-gd,tt


:"/config/preseed.cfg" 81L, 3971C ============》 这是从vi拷贝过来的,这是vi的提示:)

regards.
回复 支持 反对

使用道具 举报

发表于 2008-1-13 10:25:01 | 显示全部楼层
install log发上来
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-13 12:02:12 | 显示全部楼层
Post by freeflying;1806415
install log发上来


根本就安装不完,报的错误是:
not available kernel found ,apt source ......

意思是说找不到合适的内核,如果想继续安装的话需要手工加入内核。

楼上的兄弟,错误信息在公司的电脑上,暂时不能贴上来,抱歉。
回复 支持 反对

使用道具 举报

发表于 2008-1-13 12:06:11 | 显示全部楼层
Post by rokin;1806441
根本就安装不完,报的错误是:
not available kernel found ,apt source ......

意思是说找不到合适的内核,如果想继续安装的话需要手工加入内核。

楼上的兄弟,错误信息在公司的电脑上,暂时不能贴上来,抱歉。

log在/var/log/syslog 里,安装不完也是有log的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-13 12:17:20 | 显示全部楼层
恩哼,谢谢楼上的兄弟给我思路,我回去好好看看。
回复 支持 反对

使用道具 举报

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

本版积分规则

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