Jump to content

About your BL-02 [solved]


Lando
 Share

Recommended Posts

You can set up lilo, or grub for that matter, to boot any distro you wish. It doesn't matter if there is a /boot partition or if boot is a directory in the root partition. As long as whichever distro is your primary (ie, the distro that lilo is loading from when you boot) has the other /boot partition(s) or root partitions if /boot is a directory and not a separate partition loaded and mounted on-boot in the fstab. I have done it with gentoo, mandrake(pre and post name change) and red hat all booting from the same lilo.

 

Unless, of course, I misunderstood your statement.

Link to comment
Share on other sites

 

Unless, of course, I misunderstood your statement.

 

You have get right . Below my attempt....

 

[root@localhost lando]# cat /etc/lilo.conf

default="linux"

boot=/dev/fd0

map=/boot/map

keytable=/boot/it-latin1.klt

menu-scheme=wb:bw:wb:bw

prompt

nowarn

timeout=100

message=/boot/message

image=/boot/vmlinuz

label="MANDRIVA"

root=/dev/hdb12

initrd=/boot/initrd.img

append=" acpi=ht resume=/dev/hdb11"

other=/dev/hda1

label="windows"

table=/dev/hda

image=/mnt/hdb7//boot/vmlinuz-2.6.3-7mdk

label="MANDRAKE"

root=/dev/hdb7

initrd=/mnt/hdb7//boot/initrd-2.6.3-7mdk.img

append="devfs=mount acpi=ht resume=/dev/hdb6"

read-only

 

[root@localhost lando]# lilo -t -v

 

LILO version 22.6.1 (test mode), Copyright © 1992-1998 Werner Almesberger

Development beyond version 21 Copyright © 1999-2004 John Coffman

Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

 

Reading boot sector from /dev/fd0

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.12-12mdk

Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

Added MANDRIVA

 

Boot other: /dev/hda1, on /dev/hda, loader CHAIN

Added windows

 

Boot image: /mnt/hdb7//boot/vmlinuz-2.6.3-7mdk

Fatal: open /mnt/hdb7//boot/vmlinuz-2.6.3-7mdk: No such file or directory

>>>>> OF Course there is this Kernel .... my doubts are on the directory.....

An attempt done to link Knoppix that have only the root partition was OK... :oops::oops::oops::oops:

 

PS- Of course /mnt/hdb7 is mounted ...........

Edited by Lando
Link to comment
Share on other sites

I'm not so sure the extra / is necessary

 

image=/mnt/hdb7//boot/vmlinuz-2.6.3-7mdk
label="MANDRAKE"
root=/dev/hdb7
initrd=/mnt/hdb7//boot/initrd-2.6.3-7mdk.img

 

If you remove it, everything should be fine.

 

Just to verify, you say /mnt/hdb7 is mounted, have you verified that the boot/ folder is there and the filenames are correct as well? Just a thought to make sure all bases are covered. If everything is right in terms of paths and filenames, this should work for your Mandrake entry:

 

image=/mnt/hdb7/boot/vmlinuz-2.6.3-7mdk
label="MANDRAKE"
root=/dev/hdb7
initrd=/mnt/hdb7/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hdb6"
read-only

 

Edit

 

I also notice that you have

default="linux"

In there, but no entry labeled "linux". You also have boot=/dev/fd0, which tells me that this is booting from a floppy, right?

Edited by liquidzoo
Link to comment
Share on other sites

Thanks for your reply. It still doesn't work also after your advices....

The log below shows the link to Knoppix working (no matter extra slash...) and Mandrake link not. SORRY if it is a bit long..

 

[root@localhost lando]# cat /etc/lilo.conf

 

boot=/dev/fd0

map=/boot/map

keytable=/boot/it-latin1.klt

menu-scheme=wb:bw:wb:bw

prompt

nowarn

timeout=100

message=/boot/message

image=/boot/vmlinuz

label="MANDRIVA"

root=/dev/hdb12

initrd=/boot/initrd.img

append=" acpi=ht resume=/dev/hdb11"

other=/dev/hda1

label="windows"

table=/dev/hda

image=/mnt/hdb9//boot/vmlinuz-2.4.27

label="KNOPPIX"

root=/dev/hdb9

initrd=/mnt/hdb9//boot/initrd.img-2.4.27

append="ramdisk_size=100000 init=/etc/init apm=power-off nomce quiet lang=it"

read-only

image=/mnt/hdb7/boot/vmlinuz-2.6.3-7mdk

label="MANDRAKE"

root=/dev/hdb7

initrd=/mnt/hdb7/boot/initrd-2.6.3-7mdk.img

append="devfs=mount acpi=ht resume=/dev/hdb6"

read-only

 

[root@localhost lando]# lilo -t -v

 

LILO version 22.6.1 (test mode), Copyright © 1992-1998 Werner Almesberger

Development beyond version 21 Copyright © 1999-2004 John Coffman

Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

 

Reading boot sector from /dev/fd0

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.12-12mdk

Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

Added MANDRIVA

 

Boot other: /dev/hda1, on /dev/hda, loader CHAIN

Added windows

 

Boot image: /mnt/hdb9//boot/vmlinuz-2.4.27

Mapping RAM disk /mnt/hdb9//boot/initrd.img-2.4.27

Added KNOPPIX

 

Boot image: /mnt/hdb7/boot/vmlinuz-2.6.3-7mdk

Fatal: open /mnt/hdb7/boot/vmlinuz-2.6.3-7mdk: No such file or directory

 

BELOW I TRY TO SEE IF /BOOT HAS ENTRIES........hdb7 is MANDRAKE root partition

 

[lando@localhost hdb7]$ ls -l
totale 160
drwxr-xr-x   2 root root  4096 giu  3  2004 bin/
drwxr-xr-x   2 root root  4096 giu  3  2004 boot/
drwxr-xr-x  25 root root 94208 dic 24 18:12 dev/
drwxr-xr-x  71 root root  4096 feb  3 05:05 etc/
-rw-r--r--   1 root root     0 feb  3 05:05 halt
drwxr-xr-x   3 root root  4096 gen 25 13:32 home/
drwxr-xr-x   2 root root  4096 giu  3  2004 initrd/
drwxr-xr-x  13 root root  4096 feb  3 04:59 lib/
drwxr-xr-x   2 root root  4096 lug  8  2004 merda/
drwxr-xr-x  11 root root  4096 gen  7 20:52 mnt/
drwxr-xr-x   2 root root  4096 gen  5  2004 opt/
drwxr-xr-x   2 root root  4096 giu  3  2004 proc/
drwx------  21 root root  4096 feb  3 05:05 root/
drwxr-xr-x   2 root root  4096 ago 23  2004 sbin/
drwxr-xr-x   2 root root  4096 gen  5  2004 sys/
drwxrwxrwt  28 root root  4096 feb  3 05:05 tmp/
drwxr-xr-x  15 root root  4096 dic 28 19:56 usr/
drwxr-xr-x  18 root root  4096 ago 23  2004 var/

[lando@localhost hdb7]$ cd /mnt/hdb7/boot
[lando@localhost boot]$ ls -l
total  0

 

The BOOT ENTRIES CAN BE SEEN....IN THE BOOT PARTITION hdb5 .....

 

[lando@localhost boot]$ cd /mnt/hdb5
[lando@localhost hdb5]$ ls -l
total  7928
-rw-r--r--  1 root root     512 lug 29  2004 boot.0200
-rw-r--r--  1 root root     512 giu  3  2004 boot.0300
lrwxrwxrwx  1 root root      17 feb  3 04:58 config -> config-2.6.3-7mdk
-rw-r--r--  1 root root   54087 mar 17  2004 config-2.6.3-7mdk
drwxr-xr-x  2 root root    4096 giu  2  2004 dev/
-rw-r--r--  1 root root    5032 feb 19  2004 diag1.img
-rw-r--r--  1 root root   16796 feb 19  2004 diag2.img
drwxr-xr-x  5 root root    4096 giu  2  2004 etc/
drwxr-xr-x  2 root root    4096 giu  3  2004 grub/
drwxr-xr-x  2 root root    4096 giu  2  2004 home/
-rw-r--r--  1 root root  104776 giu  3  2004 initrd-2.6.3-7mdk.img
-rw-r--r--  1 root root  104117 ago  4  2004 initrd-2.6.3-patch2.img
lrwxrwxrwx  1 root root      21 giu  3  2004 initrd.img -> initrd-2.6.3-7mdk.img
lrwxrwxrwx  1 root root      25 feb  3 04:59 kernel.h -> /boot/kernel.h-2.6.3-7mdk
-rw-r--r--  1 root root     537 giu  3  2004 kernel.h-2.6.3-7mdk
-rw-r--r--  1 root root     537 lug 31  2004 kernel.h-2.6.3-patch1
-rw-r--r--  1 root root     537 ago  4  2004 kernel.h-2.6.3-patch2
-rw-------  1 root root   75264 feb  1 04:26 map
lrwxrwxrwx  1 root root      15 giu  3  2004 message -> message-graphic
-rw-r--r--  1 root root  442273 feb 19  2004 message-graphic
-rw-r--r--  1 root root     116 giu  3  2004 message-text
drwxr-xr-x  4 root root    4096 giu  2  2004 mnt/
drwx------  4 root root    4096 giu  2  2004 root/
lrwxrwxrwx  1 root root      21 ott 30 01:49 System.map -> System.map-2.6.3-7mdk
-rw-r--r--  1 root root  898908 mar 17  2004 System.map-2.6.3-7mdk
-rw-r--r--  1 root root  910504 lug 30  2004 System.map.2.6.3-patch1
-rw-r--r--  1 root root  910504 ago  4  2004 System.map-2.6.3-patch2
drwxr-xr-x  2 root root    4096 giu  2  2004 tmp/
-rw-r--r--  1 root root     256 giu  3  2004 us.klt
drwxr-xr-x  4 root root    4096 giu  2  2004 var/
lrwxrwxrwx  1 root root      18 giu  3  2004 vmlinuz -> vmlinuz-2.6.3-7mdk
-rw-r--r--  1 root root 1440198 mar 17  2004 vmlinuz-2.6.3-7mdk
-rw-r--r--  1 root root 1507665 lug 30  2004 vmlinuz-2.6.3-patch1
-rw-r--r--  1 root root 1507663 ago  4  2004 vmlinuz-2.6.3-patch2

 

THEN I TRY TO MAKE LILO WORKING WITH hdb5 (boot partition)......

BUT STILL FAILS.........

 

[root@localhost lando]# cat /etc/lilo.conf

 

boot=/dev/fd0

map=/boot/map

keytable=/boot/it-latin1.klt

menu-scheme=wb:bw:wb:bw

prompt

nowarn

timeout=100

message=/boot/message

image=/boot/vmlinuz

label="MANDRIVA"

root=/dev/hdb12

initrd=/boot/initrd.img

append=" acpi=ht resume=/dev/hdb11"

other=/dev/hda1

label="windows"

table=/dev/hda

image=/mnt/hdb9//boot/vmlinuz-2.4.27

label="KNOPPIX"

root=/dev/hdb9

initrd=/mnt/hdb9//boot/initrd.img-2.4.27

append="ramdisk_size=100000 init=/etc/init apm=power-off nomce quiet lang=it"

read-only

image=/mnt/hdb5/boot/vmlinuz-2.6.3-7mdk

label="MANDRAKE"

root=/dev/hdb7

initrd=/mnt/hdb5/boot/initrd-2.6.3-7mdk.img

append="devfs=mount acpi=ht resume=/dev/hdb6"

read-only

 

 

[root@localhost lando]# lilo -t -v

 

LILO version 22.6.1 (test mode), Copyright © 1992-1998 Werner Almesberger

Development beyond version 21 Copyright © 1999-2004 John Coffman

Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

 

Reading boot sector from /dev/fd0

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.12-12mdk

Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

Added MANDRIVA

 

Boot other: /dev/hda1, on /dev/hda, loader CHAIN

Added windows

 

Boot image: /mnt/hdb9//boot/vmlinuz-2.4.27

Mapping RAM disk /mnt/hdb9//boot/initrd.img-2.4.27

Added KNOPPIX

 

Boot image: /mnt/hdb5/boot/vmlinuz-2.6.3-7mdk

Fatal: open /mnt/hdb5/boot/vmlinuz-2.6.3-7mdk: No such file or directory

Link to comment
Share on other sites

Giving phisical path ( mnt/hdb5/vmlinuz-2.6.3-7mdk ) everything works......Do you see possible problem ?

 

[root@localhost lando]# cat /etc/lilo.conf

boot=/dev/fd0

map=/boot/map

keytable=/boot/it-latin1.klt

menu-scheme=wb:bw:wb:bw

prompt

nowarn

timeout=100

message=/boot/message

image=/boot/vmlinuz

label="MANDRIVA"

root=/dev/hdb12

initrd=/boot/initrd.img

append=" acpi=ht resume=/dev/hdb11"

other=/dev/hda1

label="windows"

table=/dev/hda

image=/mnt/hdb9//boot/vmlinuz-2.4.27

label="KNOPPIX"

root=/dev/hdb9

initrd=/mnt/hdb9//boot/initrd.img-2.4.27

append="ramdisk_size=100000 init=/etc/init apm=power-off nomce quiet lan

g=it"

read-only

image=/mnt/hdb5/vmlinuz-2.6.3-7mdk

label="MANDRAKE"

root=/dev/hdb7

initrd=/mnt/hdb5/initrd-2.6.3-7mdk.img

append="devfs=mount acpi=ht resume=/dev/hdb6"

 

 

[root@localhost lando]# lilo -v

 

LILO version 22.6.1, Copyright © 1992-1998 Werner Almesberger

Development beyond version 21 Copyright © 1999-2004 John Coffman

Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

 

Reading boot sector from /dev/fd0

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.12-12mdk

Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

Added MANDRIVA *

 

Boot other: /dev/hda1, on /dev/hda, loader CHAIN

Added windows

 

Boot image: /mnt/hdb9//boot/vmlinuz-2.4.27

Mapping RAM disk /mnt/hdb9//boot/initrd.img-2.4.27

Added KNOPPIX

 

Boot image: /mnt/hdb5/vmlinuz-2.6.3-7mdk

Mapping RAM disk /mnt/hdb5/initrd-2.6.3-7mdk.img

Added MANDRAKE

 

Writing boot sector.

/boot/boot.0200 exists - no boot sector backup copy made.

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...