LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2006, 04:43 PM   #1
berlos
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
Unhappy Startup lilo disk damage


Hi, anyone can help me ???

i have three SO in my computer. Windows 2000...windows XP...and red hat 8.0.
To access the red hat system i usually use a startup disk but last week the disk was damage and now i can't use the red hat system what can i do ????
 
Old 02-17-2006, 04:49 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can boot with a live CD (or maybe even with your old RedHat CD) and then create a new boot disk.
 
Old 02-17-2006, 04:50 PM   #3
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Rep: Reputation: 30
Why are you running win2k and winxp? You can use a live cd/dvd to boot the system off then make a bootdisk with that. Try Knoppix, Slax, or Kanotix.

Edit: Oh, beat me to it,
 
Old 02-17-2006, 05:06 PM   #4
berlos
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy lilo disk

Alright pljvaldez thanks for you answer but when i run the first linux disk what i have to do to create the lilo startup disk ?
what do i have to write to create the disk? when i boot from the first linux disk the computer begin an installation of red hat and i don't want this i only want to create the lilo boot disk.
 
Old 02-17-2006, 05:12 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
At boot: type linux rescue... I'm trying to google to remember how to create a boot disk once you're there.
 
Old 02-17-2006, 05:36 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Follow Task B3 in the last link of my signature. Use
Code:
lilo -b /dev/fd0
instead of
Code:
lilo -b /dev/hda
The former put Lilo into a floppy. The latter put Lilo into MBR. Don't just use hda4. Use the root partition of you Red Hat!

If your are not sure list here the content of
Code:
fdisk -l
 
Old 02-17-2006, 05:46 PM   #7
berlos
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy lilo

hi saikee, you want that i write lilo -b /dev/fd0 but where ??? i can't enter in linux....i am typing this post in windows 2000 i need to have access to linux to write that. What do i do until that step "lilo -b /dev/fd0" ???

thanks for the reply
 
Old 02-17-2006, 05:50 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Read the 1st line.

I describe you case as Task B3, a method using a Live CD to get into an unbootable Linux to retore the boot loader.

Do I need to write the instructions every time? The link is in color!

The tips are good enough for you to boot 100+ systems. Trust me.
 
Old 02-17-2006, 05:55 PM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here is what he wants you to do:

1) put in your Redhat disc and at boot: type linux rescue
2) type fdisk -l, which should show all your partitions. Note which one is type ext2 (since you're redhat8, I'm assuming it's ext2, but which ever ones are NOT fat32, NTFS, or swap)
3) put a floppy in the drive
4) type
Code:
mkdir /mnt/temp
mount /dev/hdaX /mnt/temp
chroot /mnt/temp
lilo –b /dev/fd0
where /dev/hdaX is the right drive (/dev/hda3, /dev/hda4, etc) you found with the fdisk -l command
 
Old 02-17-2006, 06:08 PM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
pljvaldez,

Thanks.
 
Old 02-17-2006, 06:12 PM   #11
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
It works as a good tag team to have a guru like you point to something and then let us semi-Gnewbie's translate and do a bit of hand holding.

Helps me learn a bit more, helps the person with the problem get it done, and helps you to be able to move on to the next problem.
 
Old 02-17-2006, 06:20 PM   #12
berlos
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy lilo

yep...it seems to work and i have read about this on a web page before i write this thread. But i still have a problem.....after " boot: " i write "linux rescue" but next it appears a graphical screen to choose the language and the keyboard language to the installation program to continue. And now ??? how can i pass this ??? in this screen i don't have access to text mode..so i can't write want you want me to write.

thanks
 
Old 02-17-2006, 06:25 PM   #13
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
try linux single or linux emergency
 
Old 02-17-2006, 06:57 PM   #14
berlos
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy lilo

i tried linux single...linux emergency....but the screen is always the same....intallation screen thanks for your help my friends

bye
 
Old 02-17-2006, 07:15 PM   #15
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Therefore using a Linux Live CD is a simpler solution and works in every Linux.

Basically all you need to to boot to a kernel. That is all.

-------------------------------
pljvaldez,

Very well said. Thanks for giving a red face. I am here to learn just same as you and berlo.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Optical Disk Drive: no risk of damage when on the move? hanzj Linux - Laptop and Netbook 3 03-23-2005 12:57 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
Need to find source of hard crash that caused LILO damage tigerflag Linux - Hardware 6 02-01-2004 04:14 PM
Lilo Startup ? zenchicken Linux - Newbie 3 10-27-2003 01:01 PM
NEED your help! cannot startup LILO loader vwhk Linux - General 13 10-11-2002 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:00 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