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 |
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.
|
|
10-29-2004, 04:03 AM
|
#1
|
Member
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32
Rep:
|
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?????
|
|
|
10-29-2004, 05:29 AM
|
#2
|
LQ Newbie
Registered: Oct 2004
Location: Madrid, Spain
Distribution: AGNULA/DeMuDi
Posts: 5
Rep:
|
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
|
|
|
10-29-2004, 06:07 AM
|
#3
|
Member
Registered: Aug 2004
Location: Sydney, Australia
Distribution: Debian, Knoppix, LFS, Lycoris
Posts: 38
Rep:
|
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
|
|
|
10-29-2004, 06:42 AM
|
#4
|
Member
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32
Original Poster
Rep:
|
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.
|
|
|
10-29-2004, 10:56 AM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
10-29-2004, 11:06 AM
|
#6
|
Member
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464
Rep:
|
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...)
|
|
|
10-30-2004, 08:19 AM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
The fdisk /mbr is for windows 98 and not windows XP, 2000 or NT.
|
|
|
11-05-2004, 06:15 PM
|
#8
|
Member
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:48 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
|
|