Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

grub loader can't detect Bliss OS | Shell

+2
−0

While this is about grub loader, this is likely to be a question of OS related. If it doesn't belong to this site than I will remove it.


I had installed Bliss in sda2.

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *      1026048 209615761 208589714  99.5G  7 HPFS/NTFS/exFAT    #Windows
/dev/sda2       209616896 272531455  62914560    30G  7 HPFS/NTFS/exFAT    #Bliss OS
/dev/sda3       272533504 273694719   1161216   567M 27 Hidden NTFS WinRE
/dev/sda4       274749438 625141759 350392322 167.1G  5 Extended
/dev/sda5       274749440 623142911 348393472 166.1G 83 Linux   #Solus
/dev/sda6       623144960 625141759   1996800   975M 82 Linux swap / Solaris    #Swap

blkid output :

/dev/sda2: LABEL="Android-x86" UUID="d2dd0ee3-f78d-4671-ac42-237ad172c0c4" TYPE="ext4" PARTUUID="cdead0a2-02"

I had made changes in /etc/grub.d/40_custom : Shell Script : sudo gedit /etc/grub.d/40_custom :

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Android-x86" {
set root='(hd0,2)'
linux /android-11.13-r3/kernel quiet root=/dev/ram0             androidboot.hardware=generic_x86 acpi_sleep=s3_bios,s3_mode SRC=/android-11.13-r3
initrd /android-11.13-r3/initrd.img}

I have pasted above code in grub. Then, I executed following code

sudo chmod +x /etc/grub.d/40_custom

sudo update-grub

After executing update-grub I got some error :

Generating grub configuration file ... WARNING: Failed to connect to lvmetad. Falling back to device scanning. Found Windows 10 (loader) on /dev/sda1 done

Here's the picture of Bliss OS

bliss os

I am adding some link of dual booting Bliss OS.

  1. How to I use Androidx86 ubuntu dualboot? (askubuntu)

  2. adding android x86 to grub-how? (linuxquestions.org)

enter image description here Error : enter image description here

Note : This is earlier picture I took.

error : file/android-11.13-r3/kernel not found

linux /android-11.13/kernel quiet root=/dev/ram0 androidboot.hardware=generic_x86 acpi_sleep=s3_bios,s3_mode SRC=/android-11.13
initrd /android-11.13/initrd.img}

I am trying above code currently although I get same error.

Note : I am not a shell programmer I just wrote that code following above link

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+0
−0

kernel

I noticed that the error was

error : file/android-11.13-r3/kernel not found

So, I decided to find kernel location in Solus(A Linux distro). There's a way to copy path of any file in Linux. Click on a file than copy(Ctrl+C). Then, I found the following path.

x-special/nautilus-clipboardcopyfile:///run/media/istiak/Android-x86/bliss-x86-11.13/kernel

I removed x-special/nautilus-clipboardcopyfile:///run/media/istiak/Android-x86/ from that path cause, Android-x86 is detected by /dev/sda2. So, I don't need complete path. I made some changes to /etc/grub.d/40_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Android-x86" {
set root='(hd0,2)'
linux /bliss-x86-11.13/kernel quiet root=/dev/ram0 androidboot.hardware=generic_x86 acpi_sleep=s3_bios,s3_mode SRC=/bliss-x86-11.13
initrd /bliss-x86-11.13/initrd.img}

Then, problem solved...! Now, you can use Android.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »