Jump to content
Compatible Support Forums

babusa

Members
  • Content count

    3
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About babusa

  • Rank
    stranger
  1. babusa

    Restore the bootloader

    Hi, I had a Windows 98 and Linux 9 multiboot environment on my PC having one 20GB HDD. After I reinstall Win98, unable to find Linux on the boot login. Unfortunately I don't have the bootable disk for Linux.How do I restore the Linux login. During the Windows reisntallation I haven't format my hard disk. Thanks & Rgds Babu
  2. Hi, Thanks for your detailed reply on my query.Unfortunately I ddidn't create the boot floppy during the installtion. Can I have the details how to go ahead to get activate the Linux? thanks & Rgds babu Quote: If you created a boot disk when you first set Linux up you can simply use that to boot your system and then restore your boot loader by logging in as root and, at a terminal, typing lilo to restore LILO. If you use GRUB though it's a little more complicated as you need to know the hard drive and partition numbers of your boot partition (the one with the /boot directory on it. It's become quite common to mount this in its own partition these days even though this isn't strictly necessary). Once you have that info, you can simply start the GRUB shell by typing grub at the prompt and then typing the following (assuming GRUB is installed into the MBR): Code: root (hdx,y)setup (hdx) where x represents the hard drive number (GRUB numbers hard drives from 0 starting at the first HDD in the system. If you only have one drive though, it'll always be 0) and y represents the number of the boot partition (like hard drives, GRUB numbers the partitions starting from 0 and employs the same numbering scheme that Linux does so 0-3 represent your 4 primary partitions and 5 upward represent logical drives. A quick rule of thumb is the GRUB number will be the Linux number subtract one so if your boot partition is /dev/hda5, it'll be (hd0,4) in GRUB). edit: I forgot to mention that if you don't have a boot disk for your system you're going to need to find an alternative way to get into your system in order to run the requisite lilo or grub commands to restore the bootloader. For this, you're going to need to get your hands on a "Live" type distribution such as Knoppix that'll let you mount your existing Linux partitions, chroot into your installed Linux environment and restore the bootloader.
  3. I have installed Win98 and Linix 9 on my system, both are running well. It happened to reinstall win98 on my system.Now, I am unable to find out the Linux boot screen.As I am new to Linux, don't know how to restore the multiboot login screen. Please help me out to resolve this Thanks in advance Rgds Babu
×