LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-03-2004, 07:34 PM   #1
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Rep: Reputation: 30
Dual Boot Mandrake & Mepis


I've installed Mepis on my slave drive - hdb.
Root partition is on hdb1.
I've (tried) to configure lilo to point to the root partition of Mepis (hdb1) but I still cant get it to boot. I partially used info in the Mepis Grub conf file to setup lilo, but when it comes to booting Mepis I get this error:
Kernel panic: No init found. Try passing init= option to the kernel.
Here's my lilo config file.
Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda
default="linux"
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
	label="linux"
	root=/dev/hda1
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht splash=silent"
	vga=788
	read-only
image=/boot/vmlinuz
	label="linux-nonfb"
	root=/dev/hda1
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht"
	read-only
image=/boot/vmlinuz-2.6.3-7mdk
	label="263-7"
	root=/dev/hda1
	initrd=/boot/initrd-2.6.3-7mdk.img
	append="devfs=mount acpi=ht splash=silent"
	read-only
image=/boot/vmlinuz-smp
	label="linux-smp"
	root=/dev/hda1
	initrd=/boot/initrd-smp.img
	append="devfs=mount acpi=ht splash=silent"
	read-only
image=/boot/vmlinuz
	label="failsafe"
	root=/dev/hda1
	initrd=/boot/initrd.img
	append="failsafe acpi=ht devfs=nomount"
	read-only
image=/boot/vmlinuz-2.6.7
        label="Mepis"
        root=/dev/hdb1
        initrd=/boot/grub/initrd.mepis
        read-only
Bit lost on what to do next - I can post any other necessary files if required.
Any help much appreciated.

Last edited by pongmaster; 09-03-2004 at 08:23 PM.
 
Old 09-03-2004, 10:08 PM   #2
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Mint 16
Posts: 393

Rep: Reputation: 32
If you boot your first MDK CD like your doing an install pick upgrade, Nothing will really get changed but it will detect the other Linux installation and set grub for you.
 
Old 09-04-2004, 07:37 AM   #3
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Original Poster
Rep: Reputation: 30
Nope, didn't work.
Mandrake uses lilo as standard - it just tried to re-install the lilo config that I already had.
Any more suggestions?
 
Old 09-04-2004, 08:16 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Did you run /sbin/lilo what did it say?
 
Old 09-04-2004, 09:43 AM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Which method did you use to make Mepis's kernel etc accesible to LILO before running /sbin/lilo from Mandrake?
 
Old 09-04-2004, 09:57 AM   #6
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by comprookie2000
Did you run /sbin/lilo what did it say?
Ah, yes, now I get an error message. Initially I was using drakboot to configure lilo, but running it from the console gives errors:
Code:
# /sbin/lilo
Added linux *
Added linux-nonfb
Added 263-7
Added linux-smp
Added failsafe
Fatal: open /boot/grub/initrd.mepis is not a directory
#
Quote:
Which method did you use to make Mepis's kernel etc accesible to LILO before running /sbin/lilo from Mandrake?
I didn't realise I had to - I've never tried to boot two different distro's before. If this is the case, I didn't do anything to Mepis' Kernel. I just installed it on the slave drive, installed Mepis' bootloader on the root partition and booted back into Mandrake to edit lilo.
I honestly thought it would be as easy as that - it looks like I was mistaken.
must do more
 
Old 09-04-2004, 10:15 AM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Do this:

Go into Mandrake - su to root user in Konsole and:

Create mount point:

Code:
mkdir /mnt/mepis
Then mount Mepis's root partition - (presuming it's on ext3 - substiute if different)

Code:
mount -t ext3 -o rw /dev/hdb1 /mnt/mepis
Now Mepis's root partition is mounted, have a quick check of the PATH's to the kernel and initrd file - they should be like the entry below - ie ( have a look in /mnt/mepis/boot....... etc etc and see if those files are there - if not then post back if you're not sure)

Then use a text editor as root user in Konsole still to edit /etc/lilo.conf

Code:
kedit /etc/lilo.conf
Then edit the Mepis entry to : (having checked the PATH's first of course)

Code:
image=/mnt/mepis/boot/vmlinuz-2.6.7
        label="Mepis"
        root=/dev/hdb1
        initrd=/mnt/mepis/boot/grub/initrd.mepis
        read-only
Then Save the /etc/lilo.conf file

Then type:

Code:
/sbin/lilo
and reboot.

Last edited by Skyline; 09-04-2004 at 11:00 AM.
 
Old 09-04-2004, 04:51 PM   #8
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Original Poster
Rep: Reputation: 30
That did it, thanks Skyline.
 
  


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
dual boot w/ XP & mandrake 10.2: won't boot either dandelvec33 Mandriva 12 04-12-2005 08:40 AM
Dual Boot WinXP & Mandrake 10 darkjedi8359 Mandriva 7 01-15-2005 07:04 AM
fedora & mandrake dual boot? greythorne Mandriva 2 12-13-2004 10:07 PM
Dual Boot w/ Two Drives - XP & Mandrake 9.2 Novus Linux - General 6 12-12-2003 04:18 AM
Dual Boot with XP & Mandrake 9.1?? brandon23 Linux - Newbie 4 10-23-2003 12:57 PM


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