LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-18-2011, 07:54 PM   #1
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Rep: Reputation: 49
Does anyone know how to dual-boot Puppy 525 using LILO?


Hello:

I'm trying to install Puppy 525 on my Slackware 13.37 PC as a dual-boot using LILO.

Puppy is living, all on it's own, in sda6, a 6 GiB partition. It got there by using the Puppy Universal Installer and selecting a 'Full' install, not a 'Frugal' install.

I cannot find 'LILO' type instructions, only 'GRUB' type instructions.

Has anyone succeeded in doing a hard drive install of Puppy with the LILO boot loader?

Any suggestions would be appreciated.

Edit: I'll probably regret it, but I used Puppy's GRUB installer.

Last edited by Robert.Thompson; 07-18-2011 at 08:22 PM.
 
Old 07-18-2011, 08:24 PM   #2
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 13 , MacPup,Linux-Lite 2.0, SaliX
Posts: 2,793
Blog Entries: 18

Rep: Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895
Take a look see through This.

http://www.google.com/cse?cx=0159956...pupsearch.html
 
1 members found this post helpful.
Old 07-19-2011, 02:00 AM   #3
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 605
Blog Entries: 2

Rep: Reputation: 92
It is very easy to use lilo to boot up Puppy Linux. What I did was mount the puppy CD and copy its contents into /home/Puppy52 (/home is the mount point of my second hard drive partition). I also copied various .sfs files that I wanted puppy to mount when running.

I then edited lilo.conf to include the following:
Code:
# Linux bootable partition config begins
image = /home/Puppy52/vmlinuz
initrd=/home/Puppy52/initrd.gz
  root = /dev/sda2
  label = PuppyLinux_5.2
# Linux bootable partition config ends
(don't forget to run lilo afterwards ).
 
1 members found this post helpful.
Old 07-19-2011, 10:22 AM   #4
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Well, things do not seem to be working out.

The Grub boot loader launches Slackware or Puppy with no problem.

I did a 'Full' install of Puppy to sda6, not a 'Frugal' install.

When I try the LILO the boot loader, Slackware launches but Puppy does not.

Here is the Grub Menu.lst - this works:
Code:
<snip>
# Linux bootable partition config begins
  title Puppy Linux (on /dev/sda6)
  root (hd0,5)
  kernel /boot/vmlinuz root=/dev/sda6 ro vga=normal
# Linux bootable partition config ends
<snip>
Here is my latest lilo.conf - this does not work:
Code:
<snip>
# Linux bootable partition config begins
  image = /boot/vmlinuz
  initrd =/boot/initrd.gz
  root = /dev/sda6
  label = Puppy
  read-only
# Linux bootable partition config ends
<snip>
Here is the output from running lilo:
Code:
root@lenovo:~# lilo
Warning: LBA32 addressing assumed
Added Linux_G *
Added Linux
Warning: The initial RAM disk is too big to fit between the kernel and
   the 15M-16M memory hole.  It will be loaded in the highest memory as
   though the configuration file specified "large-memory" and it will
   be assumed that the BIOS supports memory moves above 16M.
Added Puppy ?
2 warnings were issued.
root@lenovo:~#
Any suggestions would be appreciated.
 
Old 07-19-2011, 10:32 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,074
Blog Entries: 52

Rep: Reputation: Disabled
Is Puppy's grub on /dev/sda6? If so, try this in Slack's lilo.conf:
Code:
other = /dev/sda6
  label = Puppy
 
1 members found this post helpful.
Old 07-19-2011, 10:37 AM   #6
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by brianL View Post
Is Puppy's grub on /dev/sda6? If so, try this in Slack's lilo.conf:
Code:
other = /dev/sda6
  label = Puppy
No, Puppy's grub is on /dev/sda1. This is also where lilo.conf is living.

Thanks,
 
Old 07-19-2011, 10:48 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,074
Blog Entries: 52

Rep: Reputation: Disabled
If lilo is in the MBR, grub should be in /dev/sda6 to chainload it.
 
1 members found this post helpful.
Old 07-19-2011, 10:53 AM   #8
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by brianL View Post
If lilo is in the MBR, grub should be in /dev/sda6 to chainload it.
Thanks brianL.

I'm off to 'Puppyland' to re-install grub on /dev/sda6!

See you later, probably.

Edit:

Yikes! How do I launch my Puppy?

Can I use Slackware to install my existing GRUB boot loader?

Last edited by Robert.Thompson; 07-19-2011 at 10:59 AM.
 
Old 07-19-2011, 11:19 AM   #9
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Double 'YIKES'!!

I seem to be digging a large hole, in sand, for myself.

I re-installed my original lilo.conf but got this msg when I ran lilo:
Code:
root@lenovo:~# lilo
Warning: LBA32 addressing assumed
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
  display of 256 colors.  Boot loader will fall back to TEXT only operation.
Added Linux_G *
Added Linux
3 warnings were issued.
root@lenovo:~#
Does anyone know what I should do?

Thanks,
 
Old 07-19-2011, 11:23 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,074
Blog Entries: 52

Rep: Reputation: Disabled
Code:
Warning: LBA32 addressing assumed
That's not serious. Put lba32 somewhere in the global options in lilo.conf.
Code:
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
  display of 256 colors.  Boot loader will fall back to TEXT only operation.
No idea about them.
 
1 members found this post helpful.
Old 07-19-2011, 12:04 PM   #11
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Well, I re-ran liloconfig & installed lilo to the MBR and ran lilo.

A reboot didn't give me the lilo menu.

I had to boot into 'huge' as suggested in the error msg displayed, and, here I am.

This is my lilo.conf as a result of running liloconfig:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/root
  label = Linux
  read-only
# Linux bootable partition config ends
It looks good to me but it does not seem to get executed.

Edit: Ran # lilo -v -t -b /dev/sda1 and got:

Code:
root@lenovo:~# lilo -v -t -b /dev/sda1
LILO version 22.8 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 03:08:28 on Mar 27 2011

Warning: Ignoring entry 'boot'
Reading boot sector from /dev/sda1
Warning: Partition 1 on /dev/sda is not marked Active.
Warning: Unable to determine video adapter in use in the present system.
Using BITMAP secondary loader
Calling map_insert_data
Mapping bitmap file /boot/slack.bmp
Warning: Video adapter does not support VESA BIOS extensions needed for
  display of 256 colors.  Boot loader will fall back to TEXT only operation.
Calling map_insert_file

Boot image: /boot/vmlinuz -> vmlinuz-huge-smp-2.6.37.6-smp
Added Linux *

The boot sector and the map file have *NOT* been altered.
4 warnings were issued.
root@lenovo:~#

Last edited by Robert.Thompson; 07-19-2011 at 01:14 PM.
 
Old 07-19-2011, 12:09 PM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,074
Blog Entries: 52

Rep: Reputation: Disabled
Try changing:
Code:
root = /dev/root
to:
Code:
root = /dev/sda1
If Slack's on /dev/sda1, that is.
 
1 members found this post helpful.
Old 07-19-2011, 12:38 PM   #13
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by brianL View Post
Try changing:
Code:
root = /dev/root
to:
Code:
root = /dev/sda1
If Slack's on /dev/sda1, that is.
Hi Brian:

It is on /dev/sda1 - stupid me!

Unfortunately, I still do not get the LILO menu on a reboot.
 
Old 07-19-2011, 12:41 PM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,074
Blog Entries: 52

Rep: Reputation: Disabled
Mmm, I don't know what's gone wrong there.
 
Old 07-19-2011, 01:16 PM   #15
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit
Posts: 578

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by brianL View Post
Mmm, I don't know what's gone wrong there.
Hi Brian:

Could it be:

Warning: Partition 1 on /dev/sda is not marked Active.

as displayed above?

Last edited by Robert.Thompson; 07-19-2011 at 01:22 PM. Reason: typo
 
  


Reply

Tags
puppy


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
Getting a minimal install of Puppy 525 ubume2 Puppy 4 06-04-2011 07:56 PM
using lilo to boot Slackware and puppy linux wufo Slackware 4 01-02-2010 06:22 PM
lilo to boot puppy - kernel panic emamarro Linux - Newbie 1 10-18-2008 02:06 PM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 06:36 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration