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

Post History

66%
+2 −0
Q&A grub loader can't detect Bliss OS | Shell

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...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user

Question shell linux
#1: Initial revision by (deleted user) · 2021-05-27T06:47:53Z (over 3 years ago)
grub loader can't detect Bliss OS | Shell
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.

<hr/>

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](https://software.codidact.com/uploads/6ojcDuJp1wbfRZREqf7Lwg39)

I am adding some link of dual booting Bliss OS.

 1. [How to I use Androidx86 ubuntu dualboot? (askubuntu)](https://askubuntu.com/questions/454863/how-to-i-use-androidx86-ubuntu-dualboot)

 2. [adding android x86 to grub-how? (linuxquestions.org)](https://www.linuxquestions.org/questions/linux-newbie-8/adding-android-x86-to-grub-how-4175680768/)

![enter image description here](https://i.stack.imgur.com/9NDxx.png)
Error : 
![enter image description here](https://i.stack.imgur.com/xRlRm.png)

Note : [This is earlier picture I took](https://i.stack.imgur.com/xRlRm.png). 

>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**