Problem: upgrade to Krypton returns 16.1 after reboot
|
3rd Mar, 2017, 07:28 AM
Post: #9
|
|||
|
|||
RE: upgrade to Krypton returns 16.1 after reboot
Sure
1. Check if initramfs is used, it is required for auto-creatiion of swap partition File /boot/config.txt must look like this: Terminal cat /boot/config.txt initramfs initramfs.gz 0x1500000 kernel kernel.img ... ... If initramfs.gz 0x1500000 is commented out, you have to enable initramfs (can be done in xbian-config GUI) 2. Disable swap and delete existing swap partition Open ssh commection Terminal xbian@kmxbilr2 ~ $ sudo swapoff -a [sudo] password for xbian: xbian@kmxbilr2 ~ $ sudo fdisk /dev/mmcblk0 Welcome to fdisk (util-linux 2.25.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/mmcblk0: 14,7 GiB, 15720251392 bytes, 30703616 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x48fa040d Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 141311 139264 68M b W95 FAT32 /dev/mmcblk0p2 141312 30201855 30060544 14,3G 83 Linux /dev/mmcblk0p3 30201856 30703615 501760 245M 82 Linux swap / Solaris Command (m for help): d Partition number (1-3, default 3): 3 Partition 3 has been deleted. Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Das Gerät oder die Ressource ist belegt The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8). 3. Reboot Terminal sudo reboot 4. Check if swap partition has been created again Terminal xbian@kmxbilr2 ~ $ sudo fdisk -l [sudo] password for xbian: ... Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 2048 141311 139264 68M b W95 FAT32 /dev/mmcblk0p2 141312 30201855 30060544 14,3G 83 Linux /dev/mmcblk0p3 30201856 30703615 501760 245M 82 Linux swap / Solaris Disk /dev/zram0: 64 MiB, 67108864 bytes, 16384 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes xbian@kmxbilr2 ~ $ |
|||
« Next Oldest | Next Newest »
|