LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-06-2016, 07:30 PM   #16
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,065

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939

Quote:
So the installer when it runs the grub program writes the bootloader not to the MBR but to the same partition I chose?
If you mean the Android Grub, I don't know what it does. Based on my experience with it, I expect it tries to install to the partition because it definitely didn't overwrite the MBR. When I installed Android and selected to install Grub there was no option as to where to install. When trying to chainload it from another system with Grub, it failed so I had to install Grub from another system which then worked to chainload it from both Grub Legacy and Lilo. I have an Ubuntu install and ran update-grub from it and it detected the other operating systems on the same drive but not Android.

Almost all Linux systems I have used will give you the option of where to install during the operating system installation. You can install to the MBR or to the root or boot partition where the system boot files are. Not sure why that happened as it is obviously possible to boot it from Grub2.
 
Old 06-07-2016, 12:30 AM   #17
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 660

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by stf92 View Post
Well, a friend of mine, who does not know anything about computers, has Android 4.4.2 on it's tablet. I wanted to install that OS in my notebook to get familiar with it and be able to help my friend. So, anotther OS won't do.
you would have a much easier task with syslinux than lilo.

heere my easy howto http://www.linuxquestions.org/questi...ks-4175581486/
even with menus syslinux
 
Old 06-07-2016, 09:44 AM   #18
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,363

Original Poster
Rep: Reputation: 71
@yancek:
When I installed Android 4.4.2 it let me choose the partition for the OS but wrote the MBR. I know it because when I booted I was led to a grub menu. I had to run lilo to restore the MBR. But then of course I lost the capacity to boot Android. There is a way to do dual boot Android and Slackware Linux: using grub, say grub2. Another one, as I am told, is using syslinux but, here, I'm afraid I would have to learn a lot of things first. I don't think using grub to do the job can be that difficult, though I don't know how to do it. I can boot android with a grub.cfg written by myself but I couldn't make it to boot linux too (dual boot) which is odd.
 
Old 06-07-2016, 01:13 PM   #19
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,065

Rep: Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939Reputation: 1939
If your install of Android had Grub on it's partition then the Lilo entry I posted above (post number 8) should have worked. If it doesn't I really don't know why not as it did work for me.

Another member posted an entry above to boot Android from Grub2 which worked for him so if you are planning to install Grub2 on Slackware and boot Android with it, you might take a look at that example and modify it to suit your system.

Or you could put Grub from Android in the MBR again and use a chainload entry to boot Slackware.
 
Old 06-07-2016, 04:04 PM   #20
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 660

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by yancek View Post
If you are referring to the suggestion above to use 'Syslinux', it is another bootloader and not an operating system. Syslinux is used on most CD/DVD and installation media to boot them.

If you have the default Grub Legacy installed to the boot sector of the android partition, the 'other' entry I posted above should work. At least it worked on my system.
try to explain him that SYSLINUX is the most reliable boot loader, far more reliable/older/stable/better than grub.
 
Old 10-17-2020, 06:13 AM   #21
dchmelik
Member
 
Registered: Nov 2008
Location: USA
Distribution: OpenSolaris Unix, FreeBSD Unix, Slackware GNU/Linux, OpenBSD Unix, FreeDOS
Posts: 474

Rep: Reputation: 53
Has anyone got that to work yet?

I installed FreeBSD Unix, Slackware GNU/Linux, Android-x86 Linux 9.2. The first two boot each other (and every other OS I used) fine. Chainloading, LILO says for Android there's no valid boot signature on that partition...

Someone got it to at least partially work, described on on a questions website. If another thread could be started, I'd consider using an alternative used by Slackware... it installs LILO for users/programmers but in classic boot mode uses syslinux... please don't reply about that here (without agreement of original poster) any more than GRUB... really hate things getting off-topic because the topic is about LILO, and I love LILO...

Last edited by dchmelik; 10-17-2020 at 07:06 AM.
 
Old 10-17-2020, 09:58 AM   #22
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,503
Blog Entries: 9

Rep: Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466Reputation: 4466
Quote:
Originally Posted by dchmelik View Post
Has anyone got that to work yet?
I don't see any reasons why it shouldn't.
Post #1 contains totally normal linux & initrd command lines, I'm sure those can be applied to grub, LiLo, syslinux etc. equally.
That said, this is 4 years old and android_x86's boot command might have changed meanwhile.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO ERROR #1 - Lilo boot loader not installing in VectorLinux 7.0 Light edition. Vexe VectorLinux 4 02-09-2013 09:41 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
lilo and openmosix was just installed and was added to lilo boot menu but.. kublador Linux - Software 0 06-18-2003 01:59 AM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:56 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