LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Startup lilo disk damage (https://www.linuxquestions.org/questions/linux-general-1/startup-lilo-disk-damage-416652/)

berlos 02-17-2006 04:43 PM

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 ????

pljvaldez 02-17-2006 04:49 PM

You can boot with a live CD (or maybe even with your old RedHat CD) and then create a new boot disk.

thekid 02-17-2006 04:50 PM

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, :)

berlos 02-17-2006 05:06 PM

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.

pljvaldez 02-17-2006 05:12 PM

At boot: type linux rescue... I'm trying to google to remember how to create a boot disk once you're there.

saikee 02-17-2006 05:36 PM

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

berlos 02-17-2006 05:46 PM

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

saikee 02-17-2006 05:50 PM

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.

pljvaldez 02-17-2006 05:55 PM

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

saikee 02-17-2006 06:08 PM

pljvaldez,

Thanks.

pljvaldez 02-17-2006 06:12 PM

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. :D

berlos 02-17-2006 06:20 PM

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

pljvaldez 02-17-2006 06:25 PM

try linux single or linux emergency

berlos 02-17-2006 06:57 PM

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

bye

saikee 02-17-2006 07:15 PM

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.


All times are GMT -5. The time now is 04:08 PM.