[SOLVED] Lilo multi boot problem - Zenwalk to Vector
ZenwalkThis forum is for the discussion of Zenwalk Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
My inserted Vector-specific lines:
image=/boot/vmlinuz
root=/dev/sda3
label= Vector
My Vector config:
Lilo is in its boot sector partitions recognized as HDA
Error messages when booting to Vector and getting frozen:
-Can't translate "/dev/sda5" into a device id yet
-VFS: Cannot open root device "803" or unknown-block(8,3)
-Please append a correct "root=" boot option; here are the available partitions:
hda driver: ide disk
hda1
hda2
......
hda8
-Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)
Click here to see the post LQ members have rated as the most helpful post in this thread.
Well, the copy of LILO installing to the MBR is the only one that will matter. There is no sense in additionally installing one to your boot sector . . .
I wonder if, since the Vector system knows the IDE drives as "hdx," you need to change the inserted Vector root line to reference the root partition in that way . . . Only problem is, I could see lilo complaining when you try to reinstall it into the MBR.
The problem is that LILO is telling the Vector kernel to mount its root fs from /dev/sda3, and it doesn't call that block device by that name. It calls it /dev/hda3.
Why does the error message say "/dev/sda5?"
What happens when you change the line from "root=/dev/sda3" to "root=/dev/hda3"? Will lilo recycle?
If it won't install lilo after you change that, could you post your entire lilo.conf file from the Zenwalk system?
So only one LILO is needed in the MBR, I didn't know that, but tried it that way too.
When only one LILO was placed in the MBR (either of Zenwalk or Vector) and no additional was installed in any boot sector, then:
-neither Zenwalk nor Vector could recognise each other's presence (-as with 2 LILOs). What's more, manually setting up LILO in Zenwalk's install program with expert option caused error when trying to write LILO to MBR. Only simple lilo setup was successful.
-If I manually edited Zenwalk's Lilo conf, hoping for a selectable Vector: system got frozen while loading Vector (with my aging laptop's 2 leds blinking misteriously for ever), without showing any error message.
I don't know why /DEV/SDA5 is shown in error messages, perhaps because of this LILO.conf line:
append="resume=/dev/sda5 splash=silent "
After changing "root=/dev/sda3" to "root=/dev/hda3", then unfortunately LiLo doesn't add Vector to selectable items. (adds only Zenwalk and Windows).
Here's my Lilo conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="resume=/dev/sda5 splash=silent "
boot = /dev/sda
bitmap=/boot/splash.bmp
bmp-table=234p,348p,1,4
bmp-colors=220,0,,255,220,
bmp-timer=539p,396p,220,0,
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Zenwalk
initrd = /boot/initrd.splash
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = Vector
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# append="resume=/dev/sda5 splash=silent "
boot = /dev/sda
bitmap=/boot/splash.bmp
bmp-table=234p,348p,1,4
bmp-colors=220,0,,255,220,
bmp-timer=539p,396p,220,0,
prompt
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Zenwalk
initrd = /boot/initrd.splash
append="resume=/dev/sda5 splash=silent "
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Vector
append="root=/dev/hda3"
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
Then, run 'lilo' as root. It should install LILO into the MBR with the above config. A reboot at this point should yield the desired functionality . . . let me know if it doesn't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.