LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-06-2003, 06:36 PM   #1
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Rep: Reputation: 15
How can I boot up Linux when lilo lost by winxp


How can I boot up Linux when lilo lost by winxp installation and without boot floppy? I have a 40GB HD, broken up into many partitions. On those, I have win98, win2000, linux, and winxp. I installed winxp last, and when I did it, the winxp seemingly wiped out lilo menu with it own MS loader, disabling access to linux partition. I do not have the linux boot floppy. Is there a way to boot to linux without installing the linux from the scratch on another partition? Is there a tool in winxp to edit loader and add pointer to the linux partition?

Thank you very much.
 
Old 02-06-2003, 06:45 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
You could put in your Linux CD and then make a boot floppy from it. I'm not 100% sure how to do it, but maybe there's someone here who would know how.
 
Old 02-06-2003, 07:26 PM   #3
farhan
Member
 
Registered: Feb 2003
Distribution: xNIX
Posts: 121

Rep: Reputation: 15
hi
u must understand it well before u do it
put in the botable first cd of redhat. when the prompt comes i mean the first screen write tehre linux rescue
then 2 or 3 more screen will appers accept them
then it will take u to the shell
write there chroot /mnt/sysimage
then type lilo press enter
or type grub-install /dev/hd? a or b or c or d not any no# after that bcz u have to write it on the MBR of the partition

try it the loader files r /etc/lilo.conf or grub.conf
vi them and have a look at it

good luck
 
Old 02-07-2003, 12:24 PM   #4
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you very much for the reply.

I will digest your suggestion and try very carefully.
Actually, I have a boot floppy diskette for the linux, but the boot diskette is made out of the /dev/hda3 partition, which I first installed the RH linux. Then, I installed another same RH linux on /dev/hda7 and did not make any bootable floppy out of the /dev/hda7. And I installed the WinXP on /dev/hda3, wiping out RH linux on there, since I did not use it much.

When I insert the boot diskette made for /dev/hda3, it run ok until it looks for the init file and then boot process hangs, asking to use the 'init= ' option at the beginning when 'boot: ' shows.

Thank you very much.
 
Old 02-12-2003, 01:04 PM   #5
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
The RH CD-rom disk for rescue did not work. After asking 2 questions(language and keyboard), the next screen has misaligned messages and hangs. So I could not use the CD-rom(it came from the back of the book redhat bible)

I found out that I could make use of the diskette from the /dev/hda3, which was wiped out by winxp installation. After inserting the floppy, I type linux root=/dev/hda7 to use the root file system from /dev/hda7. So I successfuly booted to linux on /dev/hda7 and reran the lilo to replace MBR put in by Winxp.

Thank you very much.
 
Old 02-12-2003, 01:35 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweet deal! Gotta love it when you find out cool little tricks

Cool
 
  


Reply



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
LILO suddenly won't boot WinXP jnsg Linux - General 22 07-18-2005 10:36 PM
lilo and grub won't boot winXP mshahwan Linux - Software 2 10-21-2004 07:57 PM
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 12:26 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
lilo wont boot winxp razey Linux - Software 6 12-06-2001 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 AM.

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