LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-28-2007, 07:01 AM   #1
Paul_M
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Rep: Reputation: 0
LILO no finding Ubuntu partition after Slackware 12 install


Hi everyone,

I've been using Ubuntu for quite some time and recently decided to try Slackware 12 to experience KDE as I've just been using GNOME. I then installed Slackware on a different partition. During the install I selected the option to install LILO in the MBR and now Ubuntu which is on a separate partition can't be picked up - and it was using grub which now seems to have been overwritten by LILO or something.

/dev/sda1 = Ubuntu (bootable flag on)
/dev/sda3 = Slackware

This is what I get from "fdisk -l":

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 183 6614 51665040 83 Linux
/dev/sda2 9356 9729 3004155 5 Extended
/dev/sda3 6615 9355 22017082+ 83 Linux
/dev/sda5 9356 9729 3004123+ 82 Linux swap

Partition table entries are not in disk order


And this is in my lilo.conf file:

#Slackware
image = /boot/vmlinuz
root = /dev/sda3
label = Slackware
read-only

#Ubuntu
other = /dev/sda1
label = Ubuntu
table = /dev/sda

When I try and boot ubuntu at startup then it freezes during boot time with error message: "request_module: runaway loop modprobe binfmt-i464c"

I've been fiddling around with Slackware for the last two weeks or so and feel VERY comfortable. I even considered wiping my Ubuntu partition but then the effor of backing everything up, well .. I don't feel like all of that now.

Any help is much appreciated

Last edited by Paul_M; 10-28-2007 at 07:03 AM. Reason: Few Corrections ..
 
Old 10-28-2007, 07:25 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,400

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
Try booting into Slackware, mounting the Ubuntu partition, and copying the Ubuntu /boot/vmlinuz and /boot/initrd to a directory (e.g. /boot/ubuntu) in your Slackware /boot directory.
Change the lines in the Ubuntu section of your lilo.conf to these:
Quote:
image = /boot/ubuntu/vmlinuz
initrd = /boot/ubuntu/initrd
root = /dev/sda1
label = Ubuntu
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
Run /sbin/lilo.

You may also need to look at having grub installed into the root partition of the Ubuntu partition, rather than the MBR.

Last edited by allend; 10-28-2007 at 07:29 AM.
 
Old 10-28-2007, 07:51 AM   #3
Paul_M
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by allend View Post
Try booting into Slackware, mounting the Ubuntu partition, and copying the Ubuntu /boot/vmlinuz and /boot/initrd to a directory (e.g. /boot/ubuntu) in your Slackware /boot directory.
Change the lines in the Ubuntu section of your lilo.conf to these:

Run /sbin/lilo.

You may also need to look at having grub installed into the root partition of the Ubuntu partition, rather than the MBR.
That did trick, thanks you very much

I got a warning when running /sbin/lilo saying "LDA32 addressing assumed" or something like that .. Is that something I should try and fix or is it not that important?
 
Old 10-28-2007, 07:59 AM   #4
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,400

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
Add this line to the global section of your lilo.conf to clear the warning message.
Any moderately modern hard disk will support lba32 addressing.
Quote:
lba32 # Allow booting past 1024th cylinder with a recent BIOS
 
Old 10-28-2007, 10:08 AM   #5
Paul_M
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks alot allend. Everything seems to be working fine now
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DSL lilo install to partition instead of MBR johngreenwood DamnSmallLinux 2 11-23-2006 09:18 PM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
Install Grub/Lilo at the First Sector of the Boot Partition?? ckamheng Linux - General 2 08-21-2004 09:35 AM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-28-2003 11:16 PM


All times are GMT -5. The time now is 03:56 AM.

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