LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-26-2007, 10:32 AM   #1
fireedo
Member
 
Registered: Feb 2005
Location: Indonesia,Sidoarjo
Posts: 342

Rep: Reputation: 30
mandriva 2007 and Fedora 6 dual boot prob


I have installed mandriva 2007 on my hda ( I've got 2 hdd) and using LILO this is my "fdisk -l"
Quote:
[root@localhost hikmahtiar]# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1702 13671283+ 83 Linux
/dev/hda2 1703 14593 103546957+ 5 Extended
/dev/hda5 1703 13373 93747276 83 Linux
/dev/hda6 13374 13504 1052226 82 Linux swap / Solaris
/dev/hda7 13505 14593 8747361 b W95 FAT32

Disk /dev/hdb: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 957 7687071 83 Linux
/dev/hdb2 1857 3738 15117165 5 Extended
/dev/hdb3 958 1856 7221217+ 83 Linux
/dev/hdb5 1857 3738 15117133+ 83 Linux
and Fedora core 6 is installed on hdb, but I cant get my fedora core 6 booting via mandriva 2007....this is my "lilo.conf" (mandriva 2007)
Quote:
[root@localhost hikmahtiar]# cat /etc/lilo.conf
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="Mandriva"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
compact
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz
label="Mandriva"
root=/dev/hda1
initrd=/boot/initrd.img
append="resume=/dev/hda6 splash=silent"
vga=788
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda1
initrd=/boot/initrd.img
append="resume=/dev/hda6"
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe resume=/dev/hda6"
other=/dev/hdb1
label="Fedora"
map-drive=0x80
to=0x81
map-drive=0x81
and this is the output from "lilo -v" command
Quote:
[root@localhost hikmahtiar]# lilo -v
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 09:52:44 on May 23 2006

Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file

Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-5mdv
Mapping RAM disk /boot/initrd.img -> initrd-2.6.17-5mdv.img
Added Mandriva *

Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-5mdv
Mapping RAM disk /boot/initrd.img -> initrd-2.6.17-5mdv.img
Added linux-nonfb

Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-5mdv
Mapping RAM disk /boot/initrd.img -> initrd-2.6.17-5mdv.img
Added failsafe

Boot other: /dev/hdb1, on /dev/hdb, loader CHAIN
Added Fedora

Writing boot sector.
/boot/boot.0300 exists - no boot sector backup copy made.
and if I change my lilo.conf with this :
Quote:
other=/boot/vmlinuz-2.6.18-1.2798.fc6
label="Fedora"
root=/dev/hdb1
initrd=/boot/initrd-2.6.18-1.2798.fc6.img
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
then "lilo -v" output will be like this :
Quote:
[root@localhost hikmahtiar]# lilo -v
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 09:52:44 on May 23 2006

Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file

Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-5mdv
Mapping RAM disk /boot/initrd.img -> initrd-2.6.17-5mdv.img
Added Mandriva *

Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-5mdv
Mapping RAM disk /boot/initrd.img -> initrd-2.6.17-5mdv.img
Added linux-nonfb

Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-5mdv
Mapping RAM disk /boot/initrd.img -> initrd-2.6.17-5mdv.img
Added failsafe

Fatal: stat /boot/vmlinuz-2.6.18-1.2798.fc6: No such file or directory
can anyone help me?
thanx in advance
 
Old 01-31-2007, 07:59 PM   #2
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
add these lines to the bottom of your lilo.conf
and see if it works
root=/dev/hdb1
initrd=/boot/*name of initrd*
image=/boot/*name of vmlinuz*
and run lilo
 
Old 01-31-2007, 10:00 PM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
I have a triple boot here, Mandriva on /dev/hda5, Mandriva-One with Metisse on /dev/hda2, and WinXP on /dev/hda1. WinXP was installed first, then Mandriva, and finally Mandriva-One with Metisse recently.

When I installed Mandriva, I selected lilo for my boot loader, and placed it in the MBR to boot either WinXP or Mandriva.

When I installed Mandriva-One with Metisse, I had the boot loader placed on the Mandriva-One with Metisse '/' partition. Then I restarted into Mandriva, and added another 'other OS' (just like for Windows) pointing to /dev/hda2 and named it Mandriva-One, so my /etc/lilo.conf in the Mandriva installation looks like this:


Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="Mandriva"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
compact
prompt
nowarn
timeout=50
message=/boot/message
image=/boot/vmlinuz-2.6.17-8mdv
	label="Mandriva"
	root=/dev/hda5
	initrd=/boot/initrd-2.6.17-8mdv.img
	append="resume=/dev/hda6 splash=verbose"
	vga=788
other=/dev/hda2
	label="Mandriva-One"
other=/dev/hda1
	label="WindowsXP"
And my /etc/lilo.conf for Mandriva-One looks like this:

Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="MDV-1"
boot=/dev/hda2
map=/boot/map
menu-scheme=wb:bw:wb:bw
compact
nowarn
message=/boot/message
image=/boot/vmlinuz-2.6.17-5mdvlegacy
	label="MDV-1"
	root=/dev/hda2
	initrd=/boot/initrd-2.6.17-5mdvlegacy.img
	append=" splash=silent"
	vga=788
There may be a simple way to boot to either linux distribution from a single lilo installation, but I kept getting errors when I tried, so I took the easiest way out I could find, and this is the result. It works for me, and hopefully it will be of some help to you.
 
Old 02-01-2007, 04:44 PM   #4
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
wait... here's your problem...
lilo is trying to chain-load grub from fedora.
add those lines I told you about and get back.
NOTE: initrd is usually /boot/initrd.gz and vmlinuz /boot/vmlinuz
 
  


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
bootloader: can't load xp after deleting dual boot mandriva 2007 webazoid Linux - Software 2 12-29-2006 02:17 PM
Mandriva 2007 free mini. Locale prob. schnotty Linux - Desktop 0 12-23-2006 10:49 PM
Mandriva 2007 prob cannot detect wireless IPW3945ABG katy98 Mandriva 6 11-24-2006 01:16 AM
Dual Boot Ubuntu, Suse, Mandriva & Fedora rickbman Linux - Newbie 3 11-26-2005 04:05 PM
Can I dual boot XP and Fedora Core 4 as easy as with Mandriva? futurist Fedora - Installation 16 09-22-2005 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:02 AM.

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