Nokia N900 >> Native Kali

如何從內部NAND開機


1. NAND的Partition 1格式化成FAT32
2. NAND的Partition 2格式化成ext3
3. NAND的Partition 3格式化成swap
4. 把Kali的rootfs複製到NAND的Partition 2
5. Bootmenu

$ sudo vim /etc/bootmenu.d/30-kali.item 
  ITEM_NAME="Kali Linux kali-rolling armhf 4.5.0-rc1+"
  ITEM_DEVICE="${INT_CARD}p1"
  ITEM_FSTYPE="fat"
  ITEM_KERNEL="/uImage-4.5.0-rc1+"
  ITEM_INITRD="/uInitrd-4.5.0-rc1+"
  ITEM_CMDLINE="root=/dev/mmcblk1p2 rootwait ro console=tty0 vram=12M ubi.mtd=5"

$ u-boot-update-bootmenu


返回上一頁