LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 05-14-2016, 04:25 AM   #1
JaguarAnon
LQ Newbie
 
Registered: May 2016
Posts: 3

Rep: Reputation: Disabled
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
 
Old 05-14-2016, 05:18 PM   #2
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
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 :-)
 
1 members found this post helpful.
Old 05-15-2016, 01:05 AM   #3
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
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>
 
1 members found this post helpful.
Old 05-15-2016, 03:32 AM   #4
JaguarAnon
LQ Newbie
 
Registered: May 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-15-2016, 03:56 AM   #5
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
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..
 
Old 05-16-2016, 01:39 AM   #6
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
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.
 
Old 05-16-2016, 03:26 PM   #7
JaguarAnon
LQ Newbie
 
Registered: May 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-16-2016, 08:14 PM   #8
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Excellent!

Most welcome..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maven build issue robin444 Programming 0 03-28-2014 12:45 PM
Android - Build Issue linux_newbie79 Linux - Software 1 01-06-2010 06:18 AM
Issue with RPM Build ??? ajeetraina Linux - Server 9 08-31-2007 08:10 AM
Glibc-2.3.6 build issue ---- wordexp.o not build Dhana_pal Linux - Software 0 12-27-2006 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration