./../../Tools/split_bootimg_pl boot.img
Page size: 16384 (0x00004000)
Kernel size: 6359048 (0x00610808)
Ramdisk size: 1183649 (0x00120fa1)
Second size: 116736 (0x0001c800)
Board name:
Command line:
Writing boot.img-kernel ... complete.
Writing boot.img-ramdisk.gz ... complete.
Writing boot.img-second.gz ... complete.
-rw-r--r-- 1 root root 6359048 Jan 17 16:44 boot.img-kernel
-rw-r--r-- 1 root root 1183649 Jan 17 16:44 boot.img-ramdisk.gz
-rw-r--r-- 1 root root 116736 Jan 17 16:44 boot.img-second.gz ===== <resource.img>
i see the script uses this as a resource.img if it finds the file guess somethings changed in the init or something.
update:
forget the above. Here is what happened and let it be a lesson to me I should have known better. I went to install a image and hit y for sdc and it wiped my linux( yea I know it was a stupid mistake). I reinstalled mint. Now i assumed it was all working because of last time.
I found out what the problem was thought. If your using mint 17 or ubuntu 14.04 update the cpio package at the very least. I just installed all the other updates after I got it working. The problem in linux mint 17.1 was the cpio package like i said.
This next fix also applies to ubunti 14.04 if your having problems the automounting system plays havock sometimes with this script so disable it as your normal user name. Just put the following in the terminal.
gsettings set org.cinnamon.desktop.media-handling automount-open false
gsettings set org.cinnamon.desktop.media-handling automount false
Before plugging in and sdcard. it mainly effects a card thats already been written already. The loopbacks in the script dont unmount propetly and neither does sdcard .It somehow flashes the system.img loopback mount instead if /dev/sdX. Anyway the above gets rid of that problem. Hope this helps some people.
Comment