WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132, 微信: whycan_cn (哇酷网/挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-07-17 14:02:38

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Debian 9.9 文件系统制作

0. 准备工作:

sudo apt install qemu-user-static -y
sudo apt install debootstrap -y
mkdir rootfs

1. debootstrap

debootstrap --foreign --verbose --arch=armhf  stretch rootfs http://ftp2.cn.debian.org/debian

2.

cd rootfs
   mount --bind /dev dev/
   mount --bind /sys sys/
   mount --bind /proc proc/
   mount --bind /dev/pts dev/pts/
   cd ..

3.

 
cp /usr/bin/qemu-arm-static rootfs/usr/bin/
   chmod +x rootfs/usr/bin/qemu-arm-static

4. 解压   

    LC_ALL=C LANGUAGE=C LANG=C chroot rootfs /debootstrap/debootstrap --second-stage --verbose

可以在这个时候

   LC_ALL=C LANGUAGE=C LANG=C chroot rootfs

   安装任何东西
5.

passwd 设置root密码
   apt-cache clean #删除安装包 
   exit
   rm rootfs/usr/bin/qemu-arm-static
   unmount all point 2 did.   ---- but all documents not mention this.

6. 在rootfs下面 运行 tar cvzf ../debian9.9.rootfs.gz .
    可以生成包,任意解压到文件系统即可

modify /etc/apt/sourc.list
deb [url]http://ftp2.cn.debian.org/debian[/url] stretch main
modify /etc/ssh/sshd_config
PermitRootLogin yes

最近编辑记录 powerpan (2019-07-17 14:50:56)

离线

#2 2019-07-17 14:12:08

firstman
会员
注册时间: 2019-04-06
累计积分: 191

Re: Debian 9.9 文件系统制作

一直想跑 debian, 但是没有动手, 试一试楼主的流程, 顺便围观。

离线

#3 2019-07-17 14:13:34

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,550

Re: Debian 9.9 文件系统制作

楼主的日志:

insmod KOs/88x2bu.ko 
[   95.796041] RTW: module init start
[   95.799457] RTW: rtl88x2bu v5.6.1.2_32629.20190321_COEX20180928-6a6a
[   95.805879] RTW: build time: Jul 16 2019 10:47:09
[   95.810579] RTW: rtl88x2bu BT-Coex version = COEX20180928-6a6a
[   95.816534] RTW: rtw_inetaddr_notifier_register
[   95.821178] RTW: 
[   95.821178] usb_endpoint_descriptor(0):
[   95.826970] RTW: bLength=7
[   95.829675] RTW: bDescriptorType=5
[   95.833070] RTW: bEndpointAddress=84
[   95.836656] RTW: wMaxPacketSize=512
[   95.840139] RTW: bInterval=0
[   95.843014] RTW: RT_usb_endpoint_is_bulk_in = 4
[   95.847547] RTW: 
[   95.847547] usb_endpoint_descriptor(1):
[   95.853285] RTW: bLength=7
[   95.855999] RTW: bDescriptorType=5
[   95.859394] RTW: bEndpointAddress=5
[   95.862876] RTW: wMaxPacketSize=512
[   95.866369] RTW: bInterval=0
[   95.869245] RTW: RT_usb_endpoint_is_bulk_out = 5
[   95.873864] RTW: 
[   95.873864] usb_endpoint_descriptor(2):
[   95.879601] RTW: bLength=7
[   95.882303] RTW: bDescriptorType=5
[   95.885707] RTW: bEndpointAddress=6
[   95.889188] RTW: wMaxPacketSize=512
[   95.892669] RTW: bInterval=0
[   95.895554] RTW: RT_usb_endpoint_is_bulk_out = 6
[   95.900164] RTW: 
[   95.900164] usb_endpoint_descriptor(3):
[   95.905910] RTW: bLength=7
[   95.908612] RTW: bDescriptorType=5
[   95.912007] RTW: bEndpointAddress=87
[   95.915585] RTW: wMaxPacketSize=64
[   95.918992] RTW: bInterval=3
[   95.921867] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[   95.927528] RTW: 
[   95.927528] usb_endpoint_descriptor(4):
[   95.933266] RTW: bLength=7
[   95.935978] RTW: bDescriptorType=5
[   95.939373] RTW: bEndpointAddress=8
[   95.942855] RTW: wMaxPacketSize=512
[   95.946347] RTW: bInterval=0
[   95.949221] RTW: RT_usb_endpoint_is_bulk_out = 8
[   95.953841] RTW: nr_endpoint=5, in_num=2, out_num=3
[   95.953841] 
[   95.960185] RTW: USB_SPEED_HIGH
[   95.963324] RTW: CHIP TYPE: RTL8822B
[   95.978806] RTW: [HALMAC]11692M
[   95.978806] HALMAC_MAJOR_VER = 1
[   95.978806] HALMAC_PROTOTYPE_VER = 5
[   95.978806] HALMAC_MINOR_VER = 14
[   95.978806] HALMAC_PATCH_VER = 15
[   95.997203] RTW: rtw_hal_config_rftype RF_Type is 2 TotalTxPath is 2
[   96.003579] RTW: Chip Version Info: CHIP_8822B_Normal_Chip_UMC_D_CUT_2T2R_RomVer(3)
[   96.011316] RTW: config_chip_out_EP OutEpQueueSel(0x07), OutEpNumber(3)
[   96.019238] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   96.542093] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_LOGICAL_EFUSE
[   96.548715] RTW: HW EFUSE
[   96.551340] RTW: 0x000: 29 81 00 3C  09 00 A1 00  94 07 64 04  00 00 A3 00  
[   96.558438] RTW: 0x010: 2E 2E 2F 2E  2E 2E 2E 2E  2F 2E 2E 02  00 00 FF FF  
[   96.565528] RTW: 0x020: FF FF 1C 20  1C 20 20 20  1C 1E 1D 1E  1F 1D 20 21  
[   96.572599] RTW: 0x030: 02 00 FF FF  00 FF 00 00  FF FF 2E 2E  2E 2D 2D 2D  
[   96.579684] RTW: 0x040: 2E 2E 2E 2D  2D 02 00 00  FF FF FF FF  23 21 21 23  
[   96.586762] RTW: 0x050: 25 25 22 26  21 25 25 23  25 25 02 00  FF FF 00 FF  
[   96.593839] RTW: 0x060: 00 00 FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.600904] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.607980] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.615057] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.622122] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.629207] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 0D 1F 00  FF FF FF FF  
[   96.636291] RTW: 0x0C0: FF 29 00 10  00 E6 00 00  00 FF 03 FF  FF FF FF FF  
[   96.643357] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.650433] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.657510] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.664586] RTW: 0x100: DA 0B 2C B8  C1 67 02 54  C9 DF 56 26  74 09 03 52  
[   96.671651] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63  
[   96.678727] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF  
[   96.685804] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.692869] RTW: 0x140: 33 0A 1F 01  00 00 21 0F  FF FF FF FF  FF FF FF FF  
[   96.699943] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.707018] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.714094] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.721159] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.728235] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.735311] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.742383] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.749458] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.756535] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.763601] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.770677] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.777753] RTW: 0x200: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.784829] RTW: 0x210: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.791894] RTW: 0x220: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.798968] RTW: 0x230: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.806047] RTW: 0x240: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.813111] RTW: 0x250: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.820186] RTW: 0x260: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.827261] RTW: 0x270: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.834338] RTW: 0x280: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.841403] RTW: 0x290: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.848483] RTW: 0x2A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.855560] RTW: 0x2B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.862625] RTW: 0x2C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.869701] RTW: 0x2D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.876777] RTW: 0x2E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.883853] RTW: 0x2F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   96.890923] RTW: EEPROM ID = 0x8129
[   96.894419] RTW: EEPROM Version = 0
[   96.897946] RTW: EEPROM Regulatory=0x01
[   96.901777] RTW: EEPROM Board Type=0x01
[   96.905623] RTW: EEPROM Enable BT-coex, ant_num=2
[   96.910322] RTW: hal_com_config_channel_plan chplan:0x7F
[   96.915638] RTW: EEPROM crystal_cap=0x0d
[   96.919555] RTW: EEPROM ThermalMeter=0x1f
[   96.923557] RTW: EEPROM Customer ID=0xe6
[   96.927485] RTW: EEPROM SupportRemoteWakeup=0
[   96.931836] RTW: EEPROM PAType_2G is 0x0, ExternalPA_2G = 0
[   96.937403] RTW: EEPROM PAType_5G is 0x0, external_pa_5g = 0
[   96.943053] RTW: EEPROM LNAType_2G is 0x0, ExternalLNA_2G = 0
[   96.948807] RTW: EEPROM LNAType_5G is 0x0, external_lna_5g = 0
[   96.954643] RTW: EEPROM TypeGPA = 0x0
[   96.958300] RTW: EEPROM TypeAPA = 0x0
[   96.961956] RTW: EEPROM TypeGLNA = 0x0
[   96.965709] RTW: EEPROM TypeALNA = 0x0
[   96.969452] RTW: EEPROM rfe_type=0x3
[   96.973031] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   96.992269] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   96.998956] RTW: EEPROM efuse[0x3D7]=0xf2
[   97.002972] RTW: EEPROM efuse[0x3D8]=0xf3
[   97.007024] RTW: EEPROM USB Switch=1
[   97.010596] RTW: EEPROM VID = 0x0BDA, PID = 0xB82C
[   97.034700] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[   97.040826] RTW: SetHwReg: bMacPwrCtrlOn=1
[   97.047324] RTW: rtl8822b_fw_dl fw source from array
[   97.144465] RTW: _rtw_hal_set_fw_rsvd_page((null)) Get [ NOR ] RsvdPageNUm  ==>
[   97.151799] RTW: LocPsPoll: 4
[   97.154825] RTW: LocNullData: 5
[   97.157972] RTW: LocQosNull: 6
[   97.161042] RTW: LocBTQosNull: 7
[   97.164303] RTW: _rtw_hal_set_fw_rsvd_page((null)) Get [ NOR ] RsvdPageNUm <==
[   97.185576] RTW: rtl8822b_fw_dl Download Firmware from array success
[   97.191948] RTW: NIC FW Version:27 SubVersion:6 FW size:153152
[   97.200582] RTW: SetHwReg: bMacPwrCtrlOn=0
[   97.214333] RTW: hal_read_mac_hidden_rpt OK! (1, 20ms), fwdl:1, id:0x19
[   97.220976] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   97.227232] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   97.233928] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   97.239592] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   97.246276] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   97.252866] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   97.259552] RTW: rtw_hal_read_chip_info in 1240 ms
[   97.264404] RTW: init_channel_set((null)) ChannelPlan ID:0x7f, ch num:37
[   97.272292] RTW: init_mlme_default_rate_set: support CCK
[   97.277681] RTW: init_mlme_default_rate_set: support OFDM
[   97.284187] RTW: NR_RECVBUFF: 8
[   97.287342] RTW: MAX_RECVBUF_SZ: 32768
[   97.291090] RTW: NR_PREALLOC_RECV_SKB: 8
[   97.296262] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   97.304334] RTW: IQK FW offload:enable
[   97.308100] RTW: init_phydm_cominfo: fab_ver=1 cut_ver=3
[   97.313435] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   97.322582] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[   97.331190] RTW: default power by rate loaded
[   97.335668] RTW: can't get autopm:
[   97.339075] RTW: rtw_macaddr_cfg mac addr:54:c9:df:56:26:74
[   97.344667] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   97.352809] RTW: rtw_wiphy_alloc(phy0)
[   97.356589] RTW: rtw_wdev_alloc(padapter=c93b9000)
[   97.361382] RTW: rtw_wiphy_register(phy0)
[   97.365420] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   97.371728] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[   97.377859] RTW: rtw_ndev_init(wlan0) if1 mac_addr=54:c9:df:56:26:74
[   97.384559] RTW: rtw_ndev_notifier_call(wlan0) state:16
[   97.390805] RTW: cfg80211_rtw_get_txpower
[   97.394911] RTW: rtw_ndev_notifier_call(wlan0) state:5
[   97.400225] usbcore: registered new interface driver rtl88x2bu
[   97.406104] RTW: module init ret=0
root@LicheePi:~/nfs# ifconfig wlan0 up
[  102.758895] RTW: rtw_ndev_notifier_call(wlan0) state:13
[  102.764245] RTW: _netdev_open(wlan0) , bup=0
[  102.768516] RTW: rtl8822b_hal_init fw source from array
[  102.789699] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[  102.795703] RTW: SetHwReg: bMacPwrCtrlOn=1
[  102.901093] RTW: _rtw_hal_set_fw_rsvd_page(wlan0) Get [ NOR ] RsvdPageNUm  ==>
[  102.908369] RTW: LocPsPoll: 4
[  102.911349] RTW: LocNullData: 5
[  102.914529] RTW: LocQosNull: 6
[  102.917592] RTW: LocBTQosNull: 7
[  102.920819] RTW: _rtw_hal_set_fw_rsvd_page(wlan0) Get [ NOR ] RsvdPageNUm <==
[  102.943702] RTW: rtw_start_drv_threads(wlan0) enter
[  102.948638] RTW: rtw_start_drv_threads(wlan0) start RTW_CMD_THREAD
[  103.885956] RTW: rtl8822b_hal_init Download Firmware from array success
[  103.892591] RTW: NIC FW Version:27 SubVersion:6 FW size:153152
[  103.923336] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[  103.946032] RTW: ERROR rtl8822b_c2h_handler_no_io: C2H(9) enqueue FAIL!
[  103.954266] RTW: rtl8822b_init_misc: AMPDU agg retry with new/break when rate fall back: true / true
[  103.965202] RTW: rtl8822bu_init in 1200ms
[  103.969225] RTW: rtw_hal_set_macaddr_port wlan0- hw port(0) mac_addr =54:c9:df:56:26:74
[  103.978334] RTW: rtw_hal_get_macaddr_port wlan0- hw port(0) mac_addr =54:c9:df:56:26:74
[  103.986401] RTW: wlan0- hw port(0) mac_addr =54:c9:df:56:26:74
[  103.992846] RTW: [HW_VAR_ENABLE_RX_BAR] 0x6A2=0x100
[  104.022329] RTW: set_opmode_port0(wlan0): hw_port(0) mode=2
[  104.028948] RTW: MAC Address = 54:c9:df:56:26:74
[  104.033578] RTW: rtw_cfg80211_init_wiphy:rf_type=2
[  104.038391] RTW: [HT] HAL Support LDPC = 0x03
[  104.042816] RTW: [HT] HAL Support STBC = 0x01
[  104.047211] RTW: [HT] HAL Support LDPC = 0x03
[  104.051562] RTW: [HT] HAL Support STBC = 0x01
[  104.055932] RTW: [VHT] Support LDPC = 0x03
[  104.060028] RTW: [VHT] Support STBC = 0x03
[  104.064135] RTW: [VHT] Support Beamformee
[  104.068138] RTW: [VHT] Support MU-MIMO STA
[  104.072264] RTW: rtw_build_vht_cap_ie, line818, Set MAX MPDU len = 11454 bytes
[  104.079495] RTW: [VHT] Declare supporting RX LDPC
[  104.084214] RTW: [VHT] Declare supporting SGI 80MHz
[  104.089083] RTW: [VHT] Declare supporting TX STBC
[  104.093783] RTW: [VHT] Declare supporting RX STBC = 1
[  104.098837] RTW: [VHT] Declare supporting SU Bfee
[  104.103533] RTW: [VHT] Declare supporting MU Bfee
[  104.108252] RTW: -871x_drv - drv_open, bup=1
[  104.112622] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  104.118578] RTW: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[  104.125375] RTW: rtw_ndev_notifier_call(wlan0) state:1
root@LicheePi:~/nfs# [  106.178746] RTW: ==>rtw_ps_processor .fw_state(8)
[  106.190581] RTW: ==>ips_enter cnts:1
[  106.194205] RTW: nolinked power save enter
[  106.198310] RTW: ===> rtw_ips_pwr_down...................
[  106.203709] RTW: ====> rtw_ips_dev_unload...
[  106.209702] RTW: usb_read_port_cancel
[  106.216590] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.229335] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.242336] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.254959] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.267582] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.280204] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.292828] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.305452] RTW: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  106.314800] RTW: usb_write_port_cancel
[  106.318611] RTW: ==> rtl8822bu_deinit
[  106.324352] RTW: SetHwReg: bMacPwrCtrlOn=0
[  106.338074] RTW: rtl8822bu_deinit <==
[  106.342821] RTW: <=== rtw_ips_pwr_down..................... in 140ms

看起来并没有奔溃?

离线

#4 2019-07-17 14:51:51

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Re: Debian 9.9 文件系统制作

崩溃是别的问题导致的,因为没有挂boot,所以没有更新到zImage

离线

#5 2019-07-17 14:53:33

firstman
会员
注册时间: 2019-04-06
累计积分: 191

Re: Debian 9.9 文件系统制作

4. 解压   
    LC_ALL=C LANGUAGE=C LANG=C chroot rootfs /debootstrap/debootstrap --second-stage --verbose


I: Configuring apt-utils...
I: Configuring mount...
I: Configuring libfdisk1:armhf...
I: Configuring util-linux...
I: Configuring e2fsprogs...
I: Configuring udev...
I: Configuring sysvinit-utils...
I: Configuring systemd...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking systemd-sysv...
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
root@ubuntu:/opt/debian#

请教楼主, 这个错误怎么解决?

离线

#6 2019-07-17 15:22:59

Gentlepig
会员
注册时间: 2018-10-24
累计积分: 237

Re: Debian 9.9 文件系统制作

这是在v3s上跑?还是在f1c100s上跑?

离线

#7 2019-07-17 15:29:59

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Re: Debian 9.9 文件系统制作

firstman 说:

4. 解压   
请教楼主, 这个错误怎么解决?


包没下载完,就开始解压了

离线

#8 2019-07-17 15:30:04

firstman
会员
注册时间: 2019-04-06
累计积分: 191

Re: Debian 9.9 文件系统制作

Gentlepig 说:

这是在v3s上跑?还是在f1c100s上跑?

f1c100s可能不行,内存太少。

离线

#9 2019-07-17 15:30:48

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Re: Debian 9.9 文件系统制作

Gentlepig 说:

这是在v3s上跑?还是在f1c100s上跑?

armhf,armv7指令的,我用于S3但不限于S3

离线

#10 2019-07-17 15:30:58

firstman
会员
注册时间: 2019-04-06
累计积分: 191

Re: Debian 9.9 文件系统制作

我怎么感觉是 /debootstrap/debootstrap  这个路径错误?

离线

#11 2019-07-17 22:20:10

Hu187
会员
注册时间: 2019-02-18
累计积分: 39

Re: Debian 9.9 文件系统制作

我在蚂蚁矿机主控板上跑起来了,没加--verbose。使用内置工具进行第二阶段定制。

离线

#12 2019-07-17 22:20:41

Hu187
会员
注册时间: 2019-02-18
累计积分: 39

Re: Debian 9.9 文件系统制作

我在蚂蚁矿机主控板上跑起来了,没加--verbose。使用内置工具进行第二阶段定制。

离线

#13 2019-07-17 22:36:01

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Re: Debian 9.9 文件系统制作

Hu187 说:

我在蚂蚁矿机主控板上跑起来了,没加--verbose。使用内置工具进行第二阶段定制。

verbose就是输出信息而已

离线

#14 2019-07-17 22:46:37

metro
会员
注册时间: 2019-03-09
累计积分: 67

Re: Debian 9.9 文件系统制作

我也在矿渣上跑起来了,不过没用qemu装软件,而是直接在板上操作,似乎可以正常工作。。尝试用mksquashfs压缩了一下,可以放到256M的NAND里,不过还没试过直接用squashfs的速度如何 tongue

离线

#15 2019-07-18 08:28:41

还能这么玩
会员
注册时间: 2019-04-14
累计积分: 119

Re: Debian 9.9 文件系统制作

请教各位, 这样制作的 debian 只是一个根文件系统吗? 比起其他的系统有什么优势?

离线

#16 2019-07-18 19:18:13

ippen
会员
注册时间: 2018-07-22
累计积分: 276

Re: Debian 9.9 文件系统制作

这样做出来的是一个最小版本的Debian,好处是可以用debian的包管理系统,坏处是资源占用比buildroot多,体积大

离线

#17 2019-07-18 21:33:02

迪卡
会员
注册时间: 2018-11-02
累计积分: 269

Re: Debian 9.9 文件系统制作

占用内存多少呀,看看V3S  64MB够不够啊

离线

#18 2019-07-19 09:03:52

firstman
会员
注册时间: 2019-04-06
累计积分: 191

Re: Debian 9.9 文件系统制作

按楼主的教程, 又失败一次,

还是卡在

I: Unpacking libxapian30:armhf...
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)

W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)

接着换一个网址再试,

debootstrap --foreign --verbose --arch=armhf stretch rootfs http://ftp.de.debian.org/debian

仍然一样, 换一台服务器继续,

还是用楼主提供的服务器地址, 就正常了。

看来服务器这个坑还挺大的.

离线

#19 2019-07-19 09:53:12

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,550

Re: Debian 9.9 文件系统制作

mkdir /opt/rootfs -p

apt-get install debootstrap -y
apt-get install qemu-user-static -y

cd /opt/
#debootstrap --foreign --verbose --arch=armhf  stretch rootfs http://ftp2.cn.debian.org/debian 
debootstrap --foreign --verbose --arch=armhf stretch rootfs http://ftp.de.debian.org/debian


###挂载###
mount --bind /dev   /opt/rootfs/dev/
mount --bind /sys   /opt/rootfs/sys/
mount --bind /proc   /opt/rootfs/proc/
mount --bind /dev/pts /opt/rootfs/dev/pts/

cp /usr/bin/qemu-arm-static /opt/rootfs/usr/bin/
chmod +x /opt/rootfs/usr/bin/qemu-arm-static
   
###解压###
LC_ALL=C LANGUAGE=C LANG=C chroot rootfs /debootstrap/debootstrap --second-stage --verbose

###可以在这个时候, 安装任何东西###
LC_ALL=C LANGUAGE=C LANG=C chroot rootfs

###删除qemu-arm-static, 深藏功与名###
rm rootfs/usr/bin/qemu-arm-static

###卸载###
umount /opt/rootfs/dev/
umount /opt/rootfs/sys/
umount /opt/rootfs/proc/
umount /opt/rootfs/dev/pts/

cd /opt/rootfs/
tar cvzf ../debian9.9.rootfs.gz .

把楼主一楼的教程总结了一下 ^_^

Ubuntu16.04 可以完成,
两台 Ubuntu14.04 都是和楼上一样的错误.

离线

#20 2019-07-19 10:24:21

Jmhh247
会员
注册时间: 2018-12-21
累计积分: 172

Re: Debian 9.9 文件系统制作

真不错,学习。

离线

#21 2019-07-19 15:08:57

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,550

Re: Debian 9.9 文件系统制作

root@test4:~# cat /etc/issue
Debian GNU/Linux 9 \n \l

root@test4:~#
root@test4:~#
root@test4:~#
root@test4:~# apt-get install apache2
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils bzip2 file libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libexpat1 libicu57 libldap-2.4-2
  libldap-common liblua5.2-0 libmagic-mgc libmagic1 libnghttp2-14 libperl5.24
  libsasl2-2 libsasl2-modules libsasl2-modules-db libxml2 mime-support openssl
  perl perl-modules-5.24 rename sgml-base ssl-cert xml-core xz-utils
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
  bzip2-doc libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
  libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql
  ca-certificates perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make sgml-base-doc openssl-blacklist debhelper
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bzip2 file libapr1
  libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libexpat1 libicu57
  libldap-2.4-2 libldap-common liblua5.2-0 libmagic-mgc libmagic1
  libnghttp2-14 libperl5.24 libsasl2-2 libsasl2-modules libsasl2-modules-db
  libxml2 mime-support openssl perl perl-modules-5.24 rename sgml-base
  ssl-cert xml-core xz-utils
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.2 MB of archives.
After this operation, 77.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]

感谢楼主, 我的命令行 debian 跑起来了!

离线

#22 2019-07-21 23:32:42

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Re: Debian 9.9 文件系统制作

firstman 说:

按楼主的教程, 又失败一次,

还是卡在
3

I: Unpacking libxapian30:armhf...
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)

W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package archive is at fault)

接着换一个网址再试,

debootstrap --foreign --verbose --arch=armhf stretch rootfs http://ftp.de.debian.org/debian

仍然一样, 换一台服务器继续,

还是用楼主提供的服务器地址, 就正常了。

看来服务器这个坑还挺大的.


出现错误继续之前的一步直到没错就行,不用换服务器,偶尔出错而已

离线

#23 2019-07-21 23:35:15

powerpan
会员
注册时间: 2019-05-05
累计积分: 14

Re: Debian 9.9 文件系统制作

还能这么玩 说:

请教各位, 这样制作的 debian 只是一个根文件系统吗? 比起其他的系统有什么优势?

兼容性好,可以apt-get不用啥都diy
比如蓝牙4就得9以上的版本了,当然自己编译一定行就是麻烦点

离线

#24 2019-07-21 23:35:43

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,550

Re: Debian 9.9 文件系统制作

我当时 Ubuntu 14.04 测试每次必出错,  而且服务器是搬瓦工的 vps,
在本地电脑也测试过, 版本也是 14.04.

可能和14.04 有点点关系.

离线

#25 2019-10-11 23:13:21

xgui
会员
注册时间: 2019-09-07
累计积分: 198

Re: Debian 9.9 文件系统制作

root@whycan-MacBookAir:/opt/rootfs# debootstrap --foreign --verbose --arch=armhf  stretch rootfs http://ftp2.cn.debian.org/debian
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving InRelease 
I: Retrieving Release 
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1 
I: Found additional base dependencies: dmsetup gnupg-agent libapparmor1 libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libksba8 liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libunistring0 libxtables12 pinentry-curses xxd 
I: Checking component main on http://ftp2.cn.debian.org/debian...
I: Retrieving libacl1 2.2.52-3+b1
I: Validating libacl1 2.2.52-3+b1
I: Retrieving adduser 3.115
I: Validating adduser 3.115
I: Retrieving libapparmor1 2.11.0-3+deb9u2
I: Validating libapparmor1 2.11.0-3+deb9u2
I: Retrieving apt 1.4.9
I: Validating apt 1.4.9
I: Retrieving apt-utils 1.4.9
I: Validating apt-utils 1.4.9
I: Retrieving libapt-inst2.0 1.4.9
I: Validating libapt-inst2.0 1.4.9
I: Retrieving libapt-pkg5.0 1.4.9
I: Validating libapt-pkg5.0 1.4.9
I: Retrieving libattr1 1:2.4.47-2+b2
I: Validating libattr1 1:2.4.47-2+b2
I: Retrieving libaudit-common 1:2.6.7-2
I: Validating libaudit-common 1:2.6.7-2
I: Retrieving libaudit1 1:2.6.7-2
I: Validating libaudit1 1:2.6.7-2
I: Retrieving base-files 9.9+deb9u11
I: Validating base-files 9.9+deb9u11
I: Retrieving base-passwd 3.5.43
I: Validating base-passwd 3.5.43
I: Retrieving bash 4.4-5
I: Validating bash 4.4-5
I: Retrieving libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u5
I: Validating libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u5
I: Retrieving libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u5
I: Validating libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u5
I: Retrieving bsdmainutils 9.0.12+nmu1
I: Validating bsdmainutils 9.0.12+nmu1
I: Retrieving libbz2-1.0 1.0.6-8.1
I: Validating libbz2-1.0 1.0.6-8.1
I: Retrieving libdebconfclient0 0.227
I: Validating libdebconfclient0 0.227
I: Retrieving coreutils 8.26-3
I: Validating coreutils 8.26-3
I: Retrieving cpio 2.11+dfsg-6
I: Validating cpio 2.11+dfsg-6
I: Retrieving cron 3.0pl1-128+deb9u1
I: Validating cron 3.0pl1-128+deb9u1
I: Retrieving libcryptsetup4 2:1.7.3-4
I: Validating libcryptsetup4 2:1.7.3-4
I: Retrieving dash 0.5.8-2.4
I: Validating dash 0.5.8-2.4
I: Retrieving libdb5.3 5.3.28-12+deb9u1
I: Validating libdb5.3 5.3.28-12+deb9u1
I: Retrieving debconf 1.5.61
I: Validating debconf 1.5.61
I: Retrieving debconf-i18n 1.5.61
I: Validating debconf-i18n 1.5.61
I: Retrieving debian-archive-keyring 2017.5+deb9u1
I: Validating debian-archive-keyring 2017.5+deb9u1
I: Retrieving debianutils 4.8.1.1
I: Validating debianutils 4.8.1.1
I: Retrieving diffutils 1:3.5-3
I: Validating diffutils 1:3.5-3
I: Retrieving dmidecode 3.0-4
I: Validating dmidecode 3.0-4
I: Retrieving dpkg 1.18.25
I: Validating dpkg 1.18.25
I: Retrieving e2fslibs 1.43.4-2
I: Validating e2fslibs 1.43.4-2
I: Retrieving e2fsprogs 1.43.4-2
I: Validating e2fsprogs 1.43.4-2
I: Retrieving libcomerr2 1.43.4-2
I: Validating libcomerr2 1.43.4-2
I: Retrieving libss2 1.43.4-2
I: Validating libss2 1.43.4-2
I: Retrieving libelf1 0.168-1
I: Validating libelf1 0.168-1
I: Retrieving findutils 4.6.0+git+20161106-2
I: Validating findutils 4.6.0+git+20161106-2
I: Retrieving gcc-6-base 6.3.0-18+deb9u1
I: Validating gcc-6-base 6.3.0-18+deb9u1
I: Retrieving libgcc1 1:6.3.0-18+deb9u1
I: Validating libgcc1 1:6.3.0-18+deb9u1
I: Retrieving libstdc++6 6.3.0-18+deb9u1
I: Validating libstdc++6 6.3.0-18+deb9u1
I: Retrieving libgdbm3 1.8.3-14
I: Validating libgdbm3 1.8.3-14
I: Retrieving libc-bin 2.24-11+deb9u4
I: Validating libc-bin 2.24-11+deb9u4
I: Retrieving libc6 2.24-11+deb9u4
I: Validating libc6 2.24-11+deb9u4
I: Retrieving multiarch-support 2.24-11+deb9u4
I: Validating multiarch-support 2.24-11+deb9u4
I: Retrieving libgmp10 2:6.1.2+dfsg-1
I: Validating libgmp10 2:6.1.2+dfsg-1
I: Retrieving gnupg 2.1.18-8~deb9u4
I: Validating gnupg 2.1.18-8~deb9u4
I: Retrieving gnupg-agent 2.1.18-8~deb9u4
I: Validating gnupg-agent 2.1.18-8~deb9u4
I: Retrieving gpgv 2.1.18-8~deb9u4
I: Validating gpgv 2.1.18-8~deb9u4
I: Retrieving libgnutls30 3.5.8-5+deb9u4
I: Validating libgnutls30 3.5.8-5+deb9u4
I: Retrieving grep 2.27-2
I: Validating grep 2.27-2
I: Retrieving gzip 1.6-5+b1
I: Validating gzip 1.6-5+b1
I: Retrieving hostname 3.18+b1
I: Validating hostname 3.18+b1
I: Retrieving ifupdown 0.8.19
I: Validating ifupdown 0.8.19
I: Retrieving init 1.48
I: Validating init 1.48
I: Retrieving init-system-helpers 1.48
I: Validating init-system-helpers 1.48
I: Retrieving iproute2 4.9.0-1+deb9u1
I: Validating iproute2 4.9.0-1+deb9u1
I: Retrieving iptables 1.6.0+snapshot20161117-6
I: Validating iptables 1.6.0+snapshot20161117-6
I: Retrieving libip4tc0 1.6.0+snapshot20161117-6
I: Validating libip4tc0 1.6.0+snapshot20161117-6
I: Retrieving libip6tc0 1.6.0+snapshot20161117-6
I: Validating libip6tc0 1.6.0+snapshot20161117-6
I: Retrieving libiptc0 1.6.0+snapshot20161117-6
I: Validating libiptc0 1.6.0+snapshot20161117-6
I: Retrieving libxtables12 1.6.0+snapshot20161117-6
I: Validating libxtables12 1.6.0+snapshot20161117-6
I: Retrieving iputils-ping 3:20161105-1
I: Validating iputils-ping 3:20161105-1
I: Retrieving isc-dhcp-client 4.3.5-3+deb9u1
I: Validating isc-dhcp-client 4.3.5-3+deb9u1
I: Retrieving isc-dhcp-common 4.3.5-3+deb9u1
I: Validating isc-dhcp-common 4.3.5-3+deb9u1
I: Retrieving kmod 23-2
I: Validating kmod 23-2
I: Retrieving libkmod2 23-2
I: Validating libkmod2 23-2
I: Retrieving libassuan0 2.4.3-2
I: Validating libassuan0 2.4.3-2
I: Retrieving libbsd0 0.8.3-1
I: Validating libbsd0 0.8.3-1
I: Retrieving libcap-ng0 0.7.7-3+b1
I: Validating libcap-ng0 0.7.7-3+b1
I: Retrieving libcap2 1:2.25-1
I: Validating libcap2 1:2.25-1
I: Retrieving libestr0 0.1.10-2
I: Validating libestr0 0.1.10-2
I: Retrieving libfastjson4 0.99.4-1
I: Validating libfastjson4 0.99.4-1
I: Retrieving libffi6 3.2.1-6
I: Validating libffi6 3.2.1-6
I: Retrieving libgcrypt20 1.7.6-2+deb9u3
I: Validating libgcrypt20 1.7.6-2+deb9u3
I: Retrieving libgpg-error0 1.26-2
I: Validating libgpg-error0 1.26-2
I: Retrieving libidn11 1.33-1
I: Validating libidn11 1.33-1
I: Retrieving libidn2-0 0.16-1+deb9u1
I: Validating libidn2-0 0.16-1+deb9u1
I: Retrieving libksba8 1.3.5-2
I: Validating libksba8 1.3.5-2
I: Retrieving liblocale-gettext-perl 1.07-3+b1
I: Validating liblocale-gettext-perl 1.07-3+b1
I: Retrieving liblogging-stdlog0 1.0.5-2+b2
I: Validating liblogging-stdlog0 1.0.5-2+b2
I: Retrieving liblognorm5 2.0.1-1.1+b1
I: Validating liblognorm5 2.0.1-1.1+b1
I: Retrieving libmnl0 1.0.4-2
I: Validating libmnl0 1.0.4-2
I: Retrieving libnetfilter-conntrack3 1.0.6-2
I: Validating libnetfilter-conntrack3 1.0.6-2
I: Retrieving libnfnetlink0 1.0.1-3
I: Validating libnfnetlink0 1.0.1-3
I: Retrieving libpipeline1 1.4.1-2
I: Validating libpipeline1 1.4.1-2
I: Retrieving libpsl5 0.17.0-3
I: Validating libpsl5 0.17.0-3
I: Retrieving libseccomp2 2.3.1-2.1+deb9u1
I: Validating libseccomp2 2.3.1-2.1+deb9u1
I: Retrieving libselinux1 2.6-3+b3
I: Validating libselinux1 2.6-3+b3
I: Retrieving libsemanage-common 2.6-2
I: Validating libsemanage-common 2.6-2
I: Retrieving libsemanage1 2.6-2
I: Validating libsemanage1 2.6-2
I: Retrieving libsepol1 2.6-2
I: Validating libsepol1 2.6-2
I: Retrieving libtasn1-6 4.10-1.1+deb9u1
I: Validating libtasn1-6 4.10-1.1+deb9u1
I: Retrieving libtext-charwidth-perl 0.04-7+b6
I: Validating libtext-charwidth-perl 0.04-7+b6
I: Retrieving libtext-iconv-perl 1.7-5+b4
I: Validating libtext-iconv-perl 1.7-5+b4
I: Retrieving libtext-wrapi18n-perl 0.06-7.1
I: Validating libtext-wrapi18n-perl 0.06-7.1
I: Retrieving libunistring0 0.9.6+really0.9.3-0.1
I: Validating libunistring0 0.9.6+really0.9.3-0.1
I: Retrieving logrotate 3.11.0-0.1
I: Validating logrotate 3.11.0-0.1
I: Retrieving lsb-base 9.20161125
I: Validating lsb-base 9.20161125
I: Retrieving dmsetup 2:1.02.137-2
I: Validating dmsetup 2:1.02.137-2
I: Retrieving libdevmapper1.02.1 2:1.02.137-2
I: Validating libdevmapper1.02.1 2:1.02.137-2
I: Retrieving liblz4-1 0.0~r131-2+b1
I: Validating liblz4-1 0.0~r131-2+b1
I: Retrieving mawk 1.3.3-17+b3
I: Validating mawk 1.3.3-17+b3
I: Retrieving nano 2.7.4-1
I: Validating nano 2.7.4-1
I: Retrieving libncurses5 6.0+20161126-1+deb9u2
I: Validating libncurses5 6.0+20161126-1+deb9u2
I: Retrieving libncursesw5 6.0+20161126-1+deb9u2
I: Validating libncursesw5 6.0+20161126-1+deb9u2
I: Retrieving libtinfo5 6.0+20161126-1+deb9u2
I: Validating libtinfo5 6.0+20161126-1+deb9u2
I: Retrieving ncurses-base 6.0+20161126-1+deb9u2
I: Validating ncurses-base 6.0+20161126-1+deb9u2
I: Retrieving ncurses-bin 6.0+20161126-1+deb9u2
I: Validating ncurses-bin 6.0+20161126-1+deb9u2
I: Retrieving netbase 5.4
I: Validating netbase 5.4
I: Retrieving libhogweed4 3.3-1+b2
I: Validating libhogweed4 3.3-1+b2
I: Retrieving libnettle6 3.3-1+b2
I: Validating libnettle6 3.3-1+b2
I: Retrieving libnewt0.52 0.52.19-1+b1
I: Validating libnewt0.52 0.52.19-1+b1
I: Retrieving whiptail 0.52.19-1+b1
I: Validating whiptail 0.52.19-1+b1
I: Retrieving libnpth0 1.3-1
I: Validating libnpth0 1.3-1
I: Retrieving libssl1.1 1.1.0k-1~deb9u1
I: Validating libssl1.1 1.1.0k-1~deb9u1
I: Retrieving libssl1.0.2 1.0.2s-1~deb9u1
I: Validating libssl1.0.2 1.0.2s-1~deb9u1
I: Retrieving libp11-kit0 0.23.3-2
I: Validating libp11-kit0 0.23.3-2
I: Retrieving libpam-modules 1.1.8-3.6
I: Validating libpam-modules 1.1.8-3.6
I: Retrieving libpam-modules-bin 1.1.8-3.6
I: Validating libpam-modules-bin 1.1.8-3.6
I: Retrieving libpam-runtime 1.1.8-3.6
I: Validating libpam-runtime 1.1.8-3.6
I: Retrieving libpam0g 1.1.8-3.6
I: Validating libpam0g 1.1.8-3.6
I: Retrieving libpcre3 2:8.39-3
I: Validating libpcre3 2:8.39-3
I: Retrieving perl-base 5.24.1-3+deb9u5
I: Validating perl-base 5.24.1-3+deb9u5
I: Retrieving pinentry-curses 1.0.0-2
I: Validating pinentry-curses 1.0.0-2
I: Retrieving libpopt0 1.16-10+b2
I: Validating libpopt0 1.16-10+b2
I: Retrieving libprocps6 2:3.3.12-3+deb9u1
I: Validating libprocps6 2:3.3.12-3+deb9u1
I: Retrieving procps 2:3.3.12-3+deb9u1
I: Validating procps 2:3.3.12-3+deb9u1
I: Retrieving libreadline7 7.0-3
I: Validating libreadline7 7.0-3
I: Retrieving readline-common 7.0-3
I: Validating readline-common 7.0-3
I: Retrieving rsyslog 8.24.0-1
I: Validating rsyslog 8.24.0-1
I: Retrieving sed 4.4-1
I: Validating sed 4.4-1
I: Retrieving sensible-utils 0.0.9+deb9u1
I: Validating sensible-utils 0.0.9+deb9u1
I: Retrieving login 1:4.4-4.1
I: Validating login 1:4.4-4.1
I: Retrieving passwd 1:4.4-4.1
I: Validating passwd 1:4.4-4.1
I: Retrieving libslang2 2.3.1-5
I: Validating libslang2 2.3.1-5
I: Retrieving libsqlite3-0 3.16.2-5+deb9u1
I: Validating libsqlite3-0 3.16.2-5+deb9u1
I: Retrieving libsystemd0 232-25+deb9u12
I: Validating libsystemd0 232-25+deb9u12
I: Retrieving libudev1 232-25+deb9u12
I: Validating libudev1 232-25+deb9u12
I: Retrieving systemd 232-25+deb9u12
I: Validating systemd 232-25+deb9u12
I: Retrieving systemd-sysv 232-25+deb9u12
I: Validating systemd-sysv 232-25+deb9u12
I: Retrieving udev 232-25+deb9u12
I: Validating udev 232-25+deb9u12
I: Retrieving sysvinit-utils 2.88dsf-59.9
I: Validating sysvinit-utils 2.88dsf-59.9
I: Retrieving tar 1.29b-1.1
I: Validating tar 1.29b-1.1
I: Retrieving tasksel 3.39
I: Validating tasksel 3.39
I: Retrieving tasksel-data 3.39
I: Validating tasksel-data 3.39
I: Retrieving tzdata 2019b-0+deb9u1
I: Validating tzdata 2019b-0+deb9u1
I: Retrieving libustr-1.0-1 1.0.4-6
I: Validating libustr-1.0-1 1.0.4-6
I: Retrieving bsdutils 1:2.29.2-1+deb9u1
I: Validating bsdutils 1:2.29.2-1+deb9u1
I: Retrieving libblkid1 2.29.2-1+deb9u1
I: Validating libblkid1 2.29.2-1+deb9u1
I: Retrieving libfdisk1 2.29.2-1+deb9u1
I: Validating libfdisk1 2.29.2-1+deb9u1
I: Retrieving libmount1 2.29.2-1+deb9u1
I: Validating libmount1 2.29.2-1+deb9u1
I: Retrieving libsmartcols1 2.29.2-1+deb9u1
I: Validating libsmartcols1 2.29.2-1+deb9u1
I: Retrieving libuuid1 2.29.2-1+deb9u1
I: Validating libuuid1 2.29.2-1+deb9u1
I: Retrieving mount 2.29.2-1+deb9u1
I: Validating mount 2.29.2-1+deb9u1
I: Retrieving util-linux 2.29.2-1+deb9u1
I: Validating util-linux 2.29.2-1+deb9u1
I: Retrieving vim-common 2:8.0.0197-4+deb9u3
I: Validating vim-common 2:8.0.0197-4+deb9u3
I: Retrieving vim-tiny 2:8.0.0197-4+deb9u3
I: Validating vim-tiny 2:8.0.0197-4+deb9u3
I: Retrieving xxd 2:8.0.0197-4+deb9u3
I: Validating xxd 2:8.0.0197-4+deb9u3
I: Retrieving wget 1.18-5+deb9u3
I: Validating wget 1.18-5+deb9u3
I: Retrieving libxapian30 1.4.3-2+deb9u3
I: Validating libxapian30 1.4.3-2+deb9u3
I: Retrieving liblzma5 5.2.2-1.2+b1
I: Validating liblzma5 5.2.2-1.2+b1
I: Retrieving zlib1g 1:1.2.8.dfsg-5
I: Validating zlib1g 1:1.2.8.dfsg-5
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting libacl1...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting libbz2-1.0...
I: Extracting libdebconfclient0...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting libdb5.3...
I: Extracting debconf...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fslibs...
I: Extracting e2fsprogs...
I: Extracting libcomerr2...
I: Extracting libss2...
I: Extracting findutils...
I: Extracting gcc-6-base...
I: Extracting libgcc1...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting multiarch-support...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init-system-helpers...
I: Extracting libcap-ng0...
I: Extracting libgcrypt20...
I: Extracting libgpg-error0...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting lsb-base...
I: Extracting liblz4-1...
I: Extracting mawk...
I: Extracting libncursesw5...
I: Extracting libtinfo5...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre3...
I: Extracting perl-base...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting login...
I: Extracting passwd...
I: Extracting libsystemd0...
I: Extracting libudev1...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting libustr-1.0-1...
I: Extracting bsdutils...
I: Extracting libblkid1...
I: Extracting libfdisk1...
I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...

安装的包挺全的。

离线

#26 2019-10-13 12:38:48

nuvoton
会员
注册时间: 2019-06-17
累计积分: 43

Re: Debian 9.9 文件系统制作

2019-10-13_12-36-48屏幕截图.png

https://www.linuxquestions.org/questions/debian-26/how-to-install-debian-using-debootstrap-4175465295/

apt-get install gdm3 gnome

想把 X 桌面弄上去, 为什么要接近3G的空间啊, 哭.


请教给位大神, 有没有精简的桌面呢?

离线

#27 2019-10-13 13:34:34

awfans
会员
注册时间: 2018-04-03
累计积分: 219

Re: Debian 9.9 文件系统制作

http://zero.lichee.pro/%E8%B4%A1%E7%8C%AE/article%201.html

rootfs-minX.tar.gz debian(包含桌面系统)

这个带桌面的 debian 压缩后才 200M 左右, 怎么做到的?

离线

#28 2019-11-20 18:36:38

kernelpanic
会员
注册时间: 2019-11-08
累计积分: 20

Re: Debian 9.9 文件系统制作

谢谢分享,我可以打包出可启动的debian。

不过我登录名和密码怎么输入都不正确。

离线

#29 2019-11-20 18:38:23

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,550

Re: Debian 9.9 文件系统制作

kernelpanic 说:

谢谢分享,我可以打包出可启动的debian。

不过我登录名和密码怎么输入都不正确。

密码可以重置的,在电脑 chroot 之后输入 passwd root,然后输入两次密码就可以了。

离线

#30 2019-11-20 18:40:56

jimmy
Moderator
注册时间: 2017-10-29
累计积分: 290

Re: Debian 9.9 文件系统制作

kernelpanic 说:

谢谢分享,我可以打包出可启动的debian。

不过我登录名和密码怎么输入都不正确。

请教如何产生可以启动到 debian桌面?

离线

#31 2019-11-20 19:10:15

kernelpanic
会员
注册时间: 2019-11-08
累计积分: 20

Re: Debian 9.9 文件系统制作

jimmy 说:

请教如何产生可以启动到 debian桌面?

我是没安装桌面的, 你要桌面的话需要安装桌面相关的:看看的帖子有这个,  apt-get install gdm3 gnome   不过我没验证过,我连屏幕都没有。

离线

#32 2019-11-20 19:12:45

kernelpanic
会员
注册时间: 2019-11-08
累计积分: 20

Re: Debian 9.9 文件系统制作

晕哥 说:

密码可以重置的,在电脑 chroot 之后输入 passwd root,然后输入两次密码就可以了。

晕哥, 我有改过密码, 还是有问题。
我新增了一个用户 mike, 用 mike 登录可以进入, つ﹏⊂

离线

#33 2019-11-20 19:23:32

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,550

Re: Debian 9.9 文件系统制作

那奇怪了, 我可以改root的密码, 并且用root登录.

离线

页脚