Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
06-22-2003, 05:38 AM
|
#16
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
Strange.
Try backing up your current working /etc/lilo.conf file somewhere, remember where so you can use it if you have probs again.
Be sure you have the latest upgrades and patches for Mandrake9.1. I suggest you use an ftp mirror from their site so you can keep the packages backed up elsewhere, so they aren't lost after OS re-install or if you un-install the package. 
|
|
|
06-22-2003, 09:48 AM
|
#17
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Rep:
|
...this is exactly why I was told not to use Lilo. Use Grub, and you'll have a lot less problems. It's uglier, but better.
Cheers!
Jack.
|
|
|
06-22-2003, 12:09 PM
|
#18
|
LQ Newbie
Registered: Jun 2003
Location: The place of the eternal darkness
Distribution: MAndrake 9.1
Posts: 23
Original Poster
Rep:
|
Well Proud... what good is a backup file gonna bring? I mean Lilo is in linux.. the backup file I can put outside it that's true.. but in case something goes wrong.. my access to linux will be denied so how on earth will I ever replace the config file. Indeed a backup will help if I could re-reach to linux and that I can do (probably) only through console.... and I have absolutely no idea how to do that.....
Oh and Jack.. can I just put Grub after I already let Lilo handle everything? Or will I have to reinstall?
|
|
|
06-22-2003, 12:17 PM
|
#19
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Rep:
|
Poke around in the Mandrake Control Panel, I'm sure you'll find something (I'd tell you what, but I'm not running Linux right now). However, if you don't have much to lose, I would reccommmend reinstalling. Always better to start fresh.
EDIT:
Ok, here you go. Load up your control panel, and go to boot. Then click on DrakBoot, and then configure. Where it says Lilo text or Lilo Graphic, Slecet GRUB. Theoretically, you should be booting off /dev/hda/ which is your Linux partition, but correct me if I'm wrong. If I find the options that let you make nice names for everything, I'll post. I know it's possible during the install.
Good luck.
Cheers!
Jack.
Last edited by evilmonkey; 06-22-2003 at 12:28 PM.
|
|
|
06-22-2003, 12:48 PM
|
#20
|
Member
Registered: Jun 2003
Posts: 45
Rep:
|
Quote:
Originally posted by eldiablo
My question is... How come this happened? How can I avoid it in the future? and what should I type in console in case this does happen again?
|
This is why i posted that you should NOT install the linux bootloader to the MBR, you are better off just leaving it alone and letting window's boot.ini do the work. I have a feeling that this is now possibly your problem, to avoid it in the future.... don't install the linux bootloader to the MBR when dual-booting with windows2K/XP
I am still kind of new at linux, so experts please correct me if i may be wrong.
Last edited by xoros; 06-22-2003 at 12:52 PM.
|
|
|
06-22-2003, 01:31 PM
|
#21
|
Member
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465
Rep:
|
Put in you ML 9.1 CD1 and hit F1 at the prompt. Type "rescue" and it'll give you a screen with the option to rebuild lilo. Rebuild it,reboot and you're right back where you started.
|
|
|
06-22-2003, 01:34 PM
|
#22
|
LQ Newbie
Registered: Jun 2003
Location: The place of the eternal darkness
Distribution: MAndrake 9.1
Posts: 23
Original Poster
Rep:
|
 I tried it a hundred times and it doesn't do it. When I press rescue it just asks me if I want to reinstall Lilo and when I do that it just gets the four stupid options back from the case and I'm lost again...
|
|
|
06-22-2003, 01:43 PM
|
#23
|
LQ Newbie
Registered: Jun 2003
Location: The place of the eternal darkness
Distribution: MAndrake 9.1
Posts: 23
Original Poster
Rep:
|
O.k... I could help everyone get the lilo problem with some images.. Is there any way to printscreen and paste in Kde?
|
|
|
06-22-2003, 01:53 PM
|
#24
|
Member
Registered: Jun 2003
Posts: 45
Rep:
|
the only thing i could think of would be to restore the master boot record back to winxp so you will not be using lilo.
then do as i said before.
|
|
|
06-22-2003, 01:55 PM
|
#25
|
LQ Newbie
Registered: Jun 2003
Location: The place of the eternal darkness
Distribution: MAndrake 9.1
Posts: 23
Original Poster
Rep:
|
yeah guess ur solution would be the best one if I decide to keep Lilo on... Thx 
|
|
|
06-22-2003, 01:57 PM
|
#26
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
Well KDE is well after Lilo has started and finished. Posting your /etc/lilo.conf might help. We'd find out what these options are exactly.
Backing up that file in linux will help, all you'd need to do is learn the command to copy from the backup location to /etc/lilo.conf and then run lilo again. You'd issue the command via the rescue disk.
Hmm, if one option's 'map' I think you may have a formatting error in lilo.conf.
|
|
|
06-22-2003, 01:59 PM
|
#27
|
LQ Newbie
Registered: Jun 2003
Location: The place of the eternal darkness
Distribution: MAndrake 9.1
Posts: 23
Original Poster
Rep:
|
My config file is this (now when it's working)
boot=/dev/hda
map=/boot/map
vga=normal
default="linux"
keytable=/boot/uk.klt
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
other=/dev/hda2
label="NT"
image=/boot/vmlinuz
label="linux"
root=/dev/hdb5
initrd=/boot/initrd.img
append="quiet devfs=mount hdd=ide-scsi acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdb5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb5
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi acpi=off"
read-only
other=/dev/hdb2
label="windows"
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label="floppy"
unsafe
I'll search for the map text thing and edit the message later k?
|
|
|
06-22-2003, 02:07 PM
|
#28
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
Well that looks quite sane. Yeah the broken version might shed more light on things. Post it in a new post please, dont edit that working config above.
|
|
|
06-22-2003, 02:25 PM
|
#29
|
LQ Newbie
Registered: Jun 2003
Location: The place of the eternal darkness
Distribution: MAndrake 9.1
Posts: 23
Original Poster
Rep:
|
Here we go with the erroneous config file...
boot=insert your boot device here
promt
timeout=50
message=/boot/message
root=/dev/hdb5
image=/boot/map
label="map"
root=/dev/hdb5
read-only
image=/boot/vmlinuz-2.4.21-0.13mdk
label="2.4.21-0.13"
root=/dev/hdb5
read-only
image=/usr/src/linux/arch/i386/boot/bzimage
label="Linux_Compiled"
root=/dev/hdb5
read-only
optional
other=/dev/hda2
label="NT"
other=/dev/hda2
label="hda2"
O.k. now this is what Lilo said was good after he changed something similar with the one above. I say simillar since my original one had a bonus
other=/dev/hdb2
label="Windows2" , where hdb2 was the second windows partition
in addition to the config in the previous post
Now when I booted with the one in this post.. I didn't get the Linux_Compiled in the options and the others didn't work (except the NT)
|
|
|
06-22-2003, 02:37 PM
|
#30
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
Quote:
what Lilo said was good after he changed something
|
I think there's a warning when you edit the lilo entries by hand that you should know what you're doing.
Quote:
boot=insert your boot device here
|
Obviously not right.
Spelling mistake in copying&posting here?
There should be a map entry at the top as before, and all entries are missing the initrd line.
2.4.21-0.13mdk would work if it had the initrd line, it's the precise name of the kernel you're using fyi.
The Linux_Compiled line looks very strange. Mandrake requires a 586 or greater, so you've very unlikely to have compiled for a 386, and then not completed the kernel compilation and move the boot image to /boot.
Keep the working version handy, copy that broken one to /etc/lilo.conf, and as root run the command lilo -v. Report what it says. Then restore the file and run the lilo command again to restore your boot loader.
Last edited by Proud; 06-22-2003 at 02:39 PM.
|
|
|
All times are GMT -5. The time now is 03:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|