LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2004, 04:03 AM   #1
5KIDMA
Member
 
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32

Rep: Reputation: 15
How to get LILO back from windows :(


hi all, i am only a noob so plz go easy. I just finished fixing winblows up after lilo made it unbootable, problem is now that i have no way of putting lilo back on hdb which is where i now want lilo to run from as i am scared that if i try to reinstall it back on hda i'll lose the ability to boot windows, i already lost everything when i did this before and my missus who is mainly a winblows user was pissed, i was quite happy so say bye bye to windows thoguh

is there any way i can manually install lilo from knoppix using my config file which is stored on hdb5, i would just have to edit lilo.conf to make boot=hdb right?????
 
Old 10-29-2004, 05:29 AM   #2
Alez
LQ Newbie
 
Registered: Oct 2004
Location: Madrid, Spain
Distribution: AGNULA/DeMuDi
Posts: 5

Rep: Reputation: 0
Just a quick note that you may want to consider Grub instead of Lilo. Grub is the current trend as for multiboot, Lilo being considered obsolete now I think. I've used both and after installing a couple of Grubs last week I'd say it's simpler to install (in other words, I think it's more difficult to mess up something with Grub than it is with Lilo). As to functionality, I found it as well suited for the simple task of a dual boot as Lilo is.

Sorry I can't help on your specific question.

Cheers,

Alex
 
Old 10-29-2004, 06:07 AM   #3
nmares
Member
 
Registered: Aug 2004
Location: Sydney, Australia
Distribution: Debian, Knoppix, LFS, Lycoris
Posts: 38

Rep: Reputation: 15
I dont think that you will be able to install LILO from the knoppix cd for the reason that /etc/lilo.conf is stored on teh cd making it read only... so you will not be able to change it to suit your system, and thus boot into windows or linux.
I dont know how grub works... i have neva had the time to play around with it... maybe that is what you will have to look at...

Hope that helped,
Nathan
 
Old 10-29-2004, 06:42 AM   #4
5KIDMA
Member
 
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32

Original Poster
Rep: Reputation: 15
I have never used grub before, i always thought i was text based and not a menu based boot selector, also what i want to do with lilo is edit my lilo.conf file on my linux partition because my partition is still there but i cannot boot into it because when i reformatted hda i didn't want to put anything else on the mbr again besides windows because i'm afraid of a what ahppened b4 happening again. The question being is it possible to boot using knoppix, and then get it to upload the lilo.conf file on hdb5 to the mbr of hdb?

Any help at all would be apreciated, i am having linux withdrawals, windows is so slow at everything, even typing and knoppix just isn't the same as my desktop i really don't wanna have to reinstall mdk10 cuz i'll lose all my stuff

Last edited by 5KIDMA; 10-29-2004 at 07:05 AM.
 
Old 10-29-2004, 10:56 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Boot up with the first install disk and enter the option 'rescue'. This will put you into the Rescue mode as the root user. There will be an option to mount your linux partitions under /mnt. Select that option, then type in 'chroot /mnt bash -l'

This will change the root directory to your normal one. Now you can edit the /etc/lilo.conf and rerun /sbin/lile.

Since you couldn't access windows after the last time lilo was run, you might want to use the XP's NTLDR to boot linux. Google for 'Linux Lilo NTLDR how to' for a number of how-to's on how to do this.
 
Old 10-29-2004, 11:06 AM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Lilo can be restored using Knoppix, It's very easy.
You should be able to boot Windows with Lilo, no problem.

Here's mine:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdd=ide-scsi"
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# 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
image = /boot/vmlinuz
root = /dev/hdb1
label = SLACK
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = WINDUHS
table = /dev/hda
# Windows bootable partition config ends

What Windows version are you running?
I don't know anything about XP, but with the others, you can restore
the Windows boot record by booting to the "start-up" floppy and doing:

sys c:

then:

fdisk /mbr

If you want instructions on how to restore lilo to the mbr, tell me where
everything is. (what partition are /etc/lilo.conf, and /sbin/lilo on, etc...)
 
Old 10-30-2004, 08:19 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The fdisk /mbr is for windows 98 and not windows XP, 2000 or NT.
 
Old 11-05-2004, 06:15 PM   #8
5KIDMA
Member
 
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32

Original Poster
Rep: Reputation: 15
Ah it's cool i figured it out i just installed the windows bootlaoder that way linux is ONLY on hdb and windows is ONLY one hda
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get LILO back? Ook Slackware 3 05-22-2005 10:27 PM
How do I get Lilo back? mngmd Linux - Newbie 2 04-06-2005 01:56 PM
Reinstalling Windows XP-How to bring back LILO? Micro420 Mandriva 4 03-29-2005 07:19 AM
How to get back my LILO finnysamuel Fedora 1 10-28-2004 08:23 PM
Help! - Deleted boot option for Windows from LILO! - HOW DO I GET IT BACK?! CrossfireCurt Linux - General 2 06-16-2002 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration