LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva > Conectiva
User Name
Password
Conectiva This forum is for the discussion of Conectiva Linux.

Notices


Reply
  Search this Thread
Old 07-11-2003, 06:10 AM   #1
freenet
LQ Newbie
 
Registered: Jun 2003
Location: France
Distribution: CRUX 1.1 essential then Conectiva 9.0
Posts: 18

Rep: Reputation: 0
dual boot linux


I installed conectiva 9 on /dev/hda4
then I also installed another distri on /dev/hda2
My second distri use lilo, I edited it in order to add conectiva as
image=/boot/vmlinuz-2.4.21-28872cl
label=conectiva
root=/dev/hda4
initrd=/boot/initrd-2.4.21-28872cl.img
read-only

But when i do lilo it returns an error "Fatal : ...."

How do I do to have a dual boot ?

regards,
 
Old 07-11-2003, 08:12 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You need to have the second partition mounted, then change patch in lilo.conf to refer to its kernel.

You may use this set of commands:
mkdir /mnt/connectiva
mount -t ext3 /dev/hda4 /mnt/connectiva
edit lilo.conf: the fragment you posted should look this way:

image=/mnt/connectiva/boot/vmlinuz-2.4.21-28872cl
label=conectiva
root=/dev/hda4
initrd=/mnt/connectiva/boot/initrd-2.4.21-28872cl.img
read-only

Remember to change the filesystem type in 'mount' line if you're using a different filesystem. When you make the changes, run lilo again. It should work nice now.
 
Old 07-11-2003, 01:57 PM   #3
freenet
LQ Newbie
 
Registered: Jun 2003
Location: France
Distribution: CRUX 1.1 essential then Conectiva 9.0
Posts: 18

Original Poster
Rep: Reputation: 0
thank you mara, it works well now.
 
Old 09-21-2005, 08:27 AM   #4
DR.Joint
LQ Newbie
 
Registered: Apr 2004
Location: netherlands
Distribution: mandrake, slackware
Posts: 3

Rep: Reputation: 0
Talking Many Thanks

Very Helpfull Thanks for this still 3 years later.

Dual booting Mandriva LE 2005 and Fedora Core 3

last installed Mandriva on /dev/sdb with lilo on MBR /dev/sda

in Mandriva I mounted as followed:

> mount -t auto /dev/sda1 /mnt/FC3boot

/dev/sda1 is FC3 /boot
/dev/sda2 is FC3 /
/dev/sdb1 is Mandriva LE 2005 /

I added the following to /etc/lilo.conf

> vi lilo.conf

-------------------------------------------------------------------------------------------
# basic mandriva LE 2005 settings lilo.conf
# to add or edit text first press (i) or (insert) button
default="linux"
boot=/dev/sda
map=/boot/map
keytable=/boot/us-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/sdb1
initrd=/boot/initrd.img
append="resume=/dev/sda3 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfs"
root=/dev/sdb1
initrd=/boot/initrd.img
append="resume=/dev/sda3"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/sdb1
initrd=/boot/initrd.img
append="failsafe resume=/dev/sda3 devfs=nomount"
read-only
# added two types of Fedora Core 3
image=/mnt/FC3boot/vmlinuz-2.6.9-1.667smp
label="Fedora-Core3smp
root=/dev/sda2
initrd=/tmp/FC3boot/initrd-2.6.9-1.667smp.img
read-only
image=/mnt/FC3boot/vmlinuz-2.6.9-1.667
label="Fedora-Core3
root=/dev/sda2
initrd=/tmp/FC3boot/initrd-2.6.9-1.667.img
read-only
# When finished editing press esc to go to commands again
# type (:wq) and enter
------------------------------------------------------------------------------------------
# to activate changes run lilo
> lilo

I was now ready and rebooted into Fedora Core 3 smp

Many thanks,

ps. Mandriva does support my sound and 1000 Mbit networkcard on my asus p5ad2e Premium FC3 Doesn't from installation on.
 
  


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
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 10:52 AM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM

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

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