Jump to content

fc3 and MDK 10 on one box (using LILO)


 Share

Recommended Posts

the command is not "lilo" but "lilo -v" ;)

do you still get errors after running it? lilo tells you usually what line/what stuff you entered there ain't correct. in case you son't have a clue, post your lilo.conf here and we will take a look at it.

Link to comment
Share on other sites

Tried your suggestion, Arctic, and same response.

 

Lilo.conf as follows :

 

timeout=100

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hdb8

initrd=/boot/initrd.img

append="devfs=mount acpi=ht resume=/dev/hdb9 splash=silent"

vga=788

read-only

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hdb8

initrd=/boot/initrd.img

append="devfs=mount splash=silent acpi=ht resume=/dev/hdb9"

read-only

other=/dev/hda1

label="windows"

table=/dev/hda

other=/dev/fd0

label="floppy"

unsafe

image=/boot/vmlinuz

label="failsafe"

root=/dev/hdb8

initrd=/boot/initrd.img

append="failsafe splash=silent acpi=ht resume=/dev/hdb9 devfs=nomount"

read-only

other=/dev/hdc1

label=Fedora

 

Another thing that I just thought of, is that hdc is a drive that I recently popped into the system (as a FAT drive), and then reformatted to ext3 when I installed Fedora. I haven't mounted the /boot partition in MDK yet. Should I mount this under something like /dev/fd3?

 

I have also included fstab.

 

/dev/hdb8 / ext3 defaults 1 1

none /dev/pts devpts mode=0620 0 0

/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0

none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0

none /mnt/hd supermount dev=/dev/ide/host0/bus1/target0/lun0/part1,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0

/dev/hdc1 /mnt/hdc1 vfat defaults 0 0

/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

/dev/hdb1 /mnt/win_c2 ntfs umask=0,nls=iso8859-15,ro 0 0

/dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

/dev/hdb5 /mnt/win_d2 ntfs umask=0,nls=iso8859-15,ro 0 0

/dev/hda6 /mnt/win_e vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

/dev/hdb6 /mnt/win_e2 ntfs umask=0,nls=iso8859-15,ro 0 0

/dev/hda7 /mnt/win_f vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

/dev/hdb7 /mnt/win_f2 ntfs umask=0,nls=iso8859-15,ro 0 0

/dev/hda8 /mnt/win_g vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

none /proc proc defaults 0 0

/dev/hdb9 swap swap defaults 0 0

 

Thanks again for your replies.

 

Regards,

Horty.

Link to comment
Share on other sites

Rather than trying to chain load bootloaders(which is what you are doing), just configure lilo to find fc-3's initrd and vmlinuz through the /mnt/hdc1 like so:

 

image=/mnt/hdc1/boot/vmlinuz-xxxx
label="fedora"
root=/dev/hdc3
initrd=/mnt/hdc1/boot/initrd.img-xxxx
append="acpi=ht resume=/dev/hdb9"
read-only

 

Where the "xxxx" will correspond to the version numbers in fedora's /boot directory for initrd and vmlinuz.

Edited by pmpatrick
Link to comment
Share on other sites

Horty, my example code has an error. hdc1 is not where your fedora root is located since it's a vfat partition. You have to create an entry in your fstab for the fedora root partition and go through that mount point to get to your fedora vmlinuz and initrd. Also, your original chainload lilo has an error. If you installed grub when you did the fedora installed it would have been installed on the mbr of hdc so you need to tell lilo where to find it by including a table=hdc line like so:

 

other=/dev/hdxx
label=Fedora 
table=/dev/hdc

 

where "xx" corresponds to the location of your fedora root partition.

 

Either way should work but I prefer not to chainload boot loaders if I don't have to.

Edited by pmpatrick
Link to comment
Share on other sites

Thanks for your help, pmpatrick. I've just managed to get the time to try your suggestions, and it worked. I can boot up Fedora.

 

Funny thing is, I got Mandrake to recognise the Fedora boot partition using MCC / diskdrake, and I could browse the partition using Konqueror, but when I next booted into Mandrake, the boot process halted with a message to effect that it couldn't recognise the drive format.

I had to edit fstab and delete the code relating to hdc in order for Mandrake to boot again.

 

Ah well. Thanks again for your help.

 

Horty

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...