How to change root_dev for kernel 188.8.131.52?
I'm trying to update the kernel in 1 of my drives from 184.108.40.206 to the latest stable 220.127.116.11 release. It seems that some changes happened.
First, there's arch/i386/boot has been replaced by arch/x86/boot. Also the boot sector file bootsect no longer exists, and the build command's syntax has changed to reflect this.
I have previously been able to build an uncompressed kernel whose rootdev is /dev/sda1 with the following script:
However, I'm unable to do this even after changing the directory names, because the file "setup" doesn't exist. How do I change the rootdev then?
echo "Builds uncompressed Image here with root device as /dev/sda1"
mknod /dev/sda1 b 8 1
objcopy -O binary -R .note -R .comment -S vmlinux tmppiggy
tools/build -b bootsect setup ../../../tmppiggy /dev/sda1 > ../../../Image_sda
echo "The uncompressed image can only boot from /dev/sda1 and is called Image_sda"