Ready, steady… save!
You don’t need a chart to join in. Here are 2 ways to record your savings:
1. Cross it off
Pop a chart into your first post. Saved an amount? Cross it out! Read more »
£0.01 £0.02 £0.03
2. Write it down
Skip the chart and add updates to your first post. Read more »
“Another +£3 saved today. Go me!”
Use +£ before each new saving so it counts towards your total.
We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Dual boot Windows/Linux: updating lilo when linux won't boot
esuhl
Posts: 9,409
Forumite
in Techie Stuff
I'm almost a complete noob when it comes to Linux, but I've just installed Windows 2000 and Zenwalk Linux on a PC and everything was working fine(ish) until I set the value timeout=0 in lilo.conf.
I had (stupidly) assumed that this would disable the timer on the boot screen. What it actually did was boot the default OS (Windows 2000) immediately.
I have run a Linux boot CD and have been able to remove the timeout=0 line from lilo.conf, but whenever I try to run /sbin/lilo to apply the changes, I get this error message:
"Fatal: open /dev/sda: No such device or address"
I presume that this is because the boot CD (Damn Small Linux) refers to the hard drive as /dev/hda, and Zenwalk refers to the drive as /dev/sda, but I haven't been able to work out how to "rebuild" lilo (if that's the right terminology).
Can anyone offer any suggestions?
I had (stupidly) assumed that this would disable the timer on the boot screen. What it actually did was boot the default OS (Windows 2000) immediately.
I have run a Linux boot CD and have been able to remove the timeout=0 line from lilo.conf, but whenever I try to run /sbin/lilo to apply the changes, I get this error message:
"Fatal: open /dev/sda: No such device or address"
I presume that this is because the boot CD (Damn Small Linux) refers to the hard drive as /dev/hda, and Zenwalk refers to the drive as /dev/sda, but I haven't been able to work out how to "rebuild" lilo (if that's the right terminology).
Can anyone offer any suggestions?
0
Comments
-
Try reinstalling LILO & see if that helps. If no joy, remove LILO & reinstall it (if you have a SATA drive use sda). G
P.S I've got a dual-booting system too (XP & PCLinuxOS), but not much knowledge of Linux0 -
You might want to look at "chroot" too..
When you boot from you're rescue disk - you should be able to mount your original hard drive somewhere.
When you've got that mounted, use 'chroot' to change to use your original disk as if you'd booted from it.. (ie it will become the '/' directory)
You might need to then mount /dev (using mount -a ? )
And then - you should hopefully be able to rerun lilo...0 -
Thanks everyone - when I get a moment I'll see what I can do with chroot, and reinstall lilo if that doesn't work.
Irnbru, the hard drive is just an olde IDE/PATA one. For some reason Zenwalk treats SATA and IDE drives as the same and refers to both as sda, sdb, etc.0 -
Thanks again everyone - I managed to fix lilo by using the Zenwalk installation CD, aborting the installation (to get to a shell prompt), then using chroot.
:T0
This discussion has been closed.
Categories
- All Categories
- 356K Banking & Borrowing
- 255K Reduce Debt & Boost Income
- 456.3K Spending & Discounts
- 248.5K Work, Benefits & Business
- 606.3K Mortgages, Homes & Bills
- 179.1K Life & Family
- 264.1K Travel & Transport
- 1.6M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards