LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AryaLinux (https://www.linuxquestions.org/questions/aryalinux-120/)
-   -   Build Issue (https://www.linuxquestions.org/questions/aryalinux-120/build-issue-4175579764/)

JaguarAnon 05-14-2016 04:25 AM

Build Issue
 
Hi

Excellent work on the script.

One issue. I have a grub install error at the end of script 4.

"Installing for i386-pc platform
grub-install: warning: File system 'ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists."

The error then terminates the script.

I am using aryalinux-builder-x86_64-2016.04.iso in virtualbox with a 64 bit processor with two cores allocated. All other scripts worked without issue.

Thanks

chandrakant 05-14-2016 05:18 PM

Try rebooting the VM into the live media. Once you are at the desktop, open up the terminal and then:

sudo su
cd
cd scripts
./enteral.sh

Enter the partition details. This would put you in the chroot.

Now:

cd /sources
./4.sh

The build should pick up from where it dropped off. See if that gets you through. I have intiated a build process in a VM as of now. Would take a while till I reach 4.sh. Please let me know if that solved the problem. In case not, then in the next few hours I would surely be ready with some answers.

Regards :-)

chandrakant 05-15-2016 01:05 AM

Also next time you reboot the vm could you pls share the disk structure you've got by doing:

fdisk -l <device being used for build>

JaguarAnon 05-15-2016 03:32 AM

Thank you for the reply. I am sure it is something I am doing. I am thinking I may have set up the partitions incorrectly.

I performed the first suggestion and I came across the same error.

"Installing for i386-pc platform
grub-install: warning: File system 'ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists."

fdisk gives me-

Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 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

chandrakant 05-15-2016 03:56 AM

Why does fdisk not show partitions or is it that you did not type it in here. While you created partitions did you set the partition type? I mean at the fdisk prompt pressing t and then l to get a listing of types and then setting the type. Also, I cannot see if your partition table is gpt or msdos. Can you post the complete output of fdisk /dev/sda..

chandrakant 05-16-2016 01:39 AM

I came through 4.sh without an issue and even the installation of grub happened without a glitch. So I could not exactly reproduce your issue. I however did some research as to why would the issue occur on the first place and here is what I found:

1. One of the reasons why this might happen is when you use fdisk to modify the partition table in some way - change flags, fs types or add/remove partitions and the do a grub-install. The partition changes only get reflected once a reboot happens and so a reboot is needed. Only then grub-install would work.
2. Another reason why this failure can happen is when you create a partition with a given type label and create a filesystem of different type on it. So check if the fs type for your partition is 83. If not change the type using fdisk.

JaguarAnon 05-16-2016 03:26 PM

Sorry for delayed response. My fault I didn't set up my partitions correctly.

Started from scratch and everything went without a hitch.

Thanks for all your help and now installing on one of my main computers.

chandrakant 05-16-2016 08:14 PM

Excellent!

Most welcome..


All times are GMT -5. The time now is 04:15 AM.