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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What's /dev/hda4? and I believe there is a limit to 4 primary partitions on one drive. if you can do it, you're better off with a boot drive and then each of the different Linux OS's on extended or virtual partitions (limitations due to partition table size, at least that's what it was when I started working on computers). If you say there is no /dev/hda4, then there's a problem because you shouldn't have a hda5 without an hda4
This & post #2 no longer make sense -- OP originally referred to "hda5" & not to any "hda4". Post #4 explains that "hda5" was a typo & the edit history shows (implicitly) that OP fixed the mistake.
hda4 is probably his extended part. & he thought it's unnecessary to list it. If he had showed that output as a result of fdisk -l in a "Code" block, then I would worry.
Last edited by archtoad6; 05-12-2007 at 06:15 AM.
Reason: Add explanation of apparent non sequitur
Lilo can be configured from either. i can boot either system with super grub. currently booting with lilo 22.7.3 from Zenwalker 2.6.20. Debian is 2.6.18.
in grub, to boot hda2 i have to enter "root (hd0,0)" to boot the the hda1 (Zenwalker) partition and "root (hd0,1) to boot hda2 (Debian). Just need to know how to make the drive switch with lilo and boot from one lilo menu.
Can you post your whole Lilo.conf file, because you said that zenwalker is on /dev/hda1 but you're trying to boot it via /dev/sda1 (at least I think that's what you're doing in your first post). I'm a little lost.
zenwalk use new naming scheme, with new kernel there isn't any hd* they became sd* for hard drives and sr* for CD/DVD drives.
So:
- that's why i asked if lilo was configured from a < 2.6.19 kernel.
- that's why some parts of lilo.conf must refer to sda* (the one for Zenwalk at least, and any other distrib with a recent kernel) and some other parts must refer to hda*
To get debian to boot by creating a temporary workaround. I like grub better too but would like to be able to fully use both, can boot easily to all installed os's with grub and switch the partition locations for it to boot too. That is basically what I was doing before, just wanted to figure out lilo too .
The workaround atm is to have a copy of debian's vmlinuz (copied and renamed vmlinuz.debian), the map file (.debian again) and initrd (.debian) to the zenwalkers boot dir. have to append the location of root, because zenwalker uses sda for drives and debian uses hda, and the initrd.debian and map.debian calls. I don't like passing that much info and that is why i wanted to see if there was a command to switch what partition lilo boots too like grubs root (hd*,*). Here is the current working dual boot configuration.
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32
# append="resume2=swap:/dev/sda4 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,
#compact # faster, but won't work on all systems.
#prompt
#timeout = 5
# 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
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
Sorry for the confusion. Would still be interested in a way to change the current default boot partition in lilo from within lilo.config. I can change it from the prompt with the lilo commands (lilo --help for commands) and boot to either without the large append section, just not from within the lilo.config file.
P.S. I also corrected the initial cut and paste error in my first post ( sorry just noticed.)
i actually never had to specify which map to use, so i'm not sure it's required too. So i think: no append is neededif root is set to /dev/hda2 (instead of root=/dev/sda2) for debian, i guess you just defined twice this value and the one in append is kept.
so you might try:
The zenwalk lilo refuses to accept root = /dev/hda2. When i use the root = /dev/sda lilo updates, but debian hangs searching for root on boot so i appended root = /dev/hda2. I tried that exact lilo config, no luck with it . Problem seems to lie in lilo's default partition boot. possible due to the map differences (sda vs hda). The current boot setup works, just doesn't seem like the best or most appropriate way. all ideas are appreciated though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.