LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496

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: 664

Rep: Reputation: 138Reputation: 138
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,442

Original Poster
Rep: Reputation: 76
@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: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
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: 664

Rep: Reputation: 138Reputation: 138
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
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
Question

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-23-2020 at 11:10 PM.
 
Old 10-17-2020, 09:58 AM   #22
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 10-23-2020, 11:00 PM   #23
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,068

Rep: Reputation: 148Reputation: 148
Question

Quote:
Originally Posted by ondoho View Post
I don't see any reasons why it shouldn't.
The thing is, it doesn't (for many reasons.)

Quote:
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.
Some other examples are appending 'androidboot.selinux=permissive,' 'acpi_sleep=s3_bios,s3_mode,' but the second might be for specific hardware. For android-9.0-r2 (x86) I've tried LILO (and GRUB2) with combinations of these and above append lines but nothing seems to work. As many say, it usually just starts printing dots until those fill up the entire screen then goes on & on. Android-x86 doesn't seem very documented, but alternatives have problems also, like KDE Plasma Mobile (unstable) and Ubuntu Touch/Unity (worst touch interface I've seen, basically unusable for me.) Anyone heard anything else on configuring Android-x86 with LILO (there's also a GRUB thread going on in recent months on this which at least if they solve it first might have the append options?)

Last edited by dchmelik; 10-23-2020 at 11:09 PM.
 
Old 10-24-2020, 07:21 AM   #24
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ Like I said, if you have a Linux command line that works under GRUB, I see no reason why the same command line shouldn't work under LILO.

Give us something to work with here.

That said, does it have to be LILO? There's also syslinux/extlinux (oops, that was mentioned already).

Last edited by ondoho; 10-24-2020 at 07:23 AM.
 
  


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 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 05:41 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