LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red Hat 9.0 Wont Boot Lost Boot Disk! (https://www.linuxquestions.org/questions/linux-newbie-8/red-hat-9-0-wont-boot-lost-boot-disk-131556/)

AndrewBalmos 01-04-2004 08:37 PM

Red Hat 9.0 Wont Boot Lost Boot Disk!
 
Hello,

I installed Red Hat Linux 9.0 and the Partition is past the 1024th (I think that is what it is) so the MBR wont boot it or something...

Well I always used the boot disk to boot up Linux but the disk was over written with something else... I can not Start up Linux now... I have the install disk but I only get to the shell I can never get Red Hat Started...

The shell prompt is something like #sh-(Something)

After that what do I type to get Linux started and log in?

I am new to Linux and I am trying to learn...

How can I get Linux to boot with out anything?

Thanks,
Andrew

g-rod 01-04-2004 09:07 PM

Use the first RedHat cd. At the prompt boot: type
linux rescue
Answer the questions. When asked if you want to mount the file systems answer read-only. At the promt type
chroot /mnt/sysimage;
mkbootdisk 2.4.20-8;
where 2.4.20-8 is the kernel version. Put floppy in drive. When done type reboot

TheOneAndOnlySM 01-04-2004 09:20 PM

unless your computer is really old, grub (in the mbr) should not have a problem loading the kernel past the 1024 cylinder "boundary"

do like the above poster said, and then also try grub-install /dev/hdx (where x is your harddrive, like hda for the primary master driver)

AndrewBalmos 01-05-2004 04:58 PM

Thanks I will give it a try and let you know!

Andrew

g-rod 01-05-2004 05:05 PM

Looking back on what I wrote I realized you should mount it read/write not read only.

AndrewBalmos 01-05-2004 05:07 PM

Thanks you got me right when I was about to leave to try it...

Andrew

AndrewBalmos 01-05-2004 06:52 PM

Thanks it worked... I got the boot disk and GRUB running... For some reason the install would not set up GRUB because Linux was past the 1024th cyclinder....

Anyways it works now...

THANKS!,
Andrew

g-rod 01-05-2004 07:01 PM

Glas to hear it.
This link might help
http://www.gnu.org/software/grub/grub-faq.en.html#q3
Gerard

AndrewBalmos 01-05-2004 07:06 PM

Can you offer me any help on a Linux kernel compile (2.4.22) here?:

http://www.linuxquestions.org/questi...hreadid=131506

Thanks Again!,
Andrew


All times are GMT -5. The time now is 12:04 AM.