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 01-24-2004, 10:55 AM   #1
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Rep: Reputation: 15
Unhappy bootable floppy problem


Hi there,
I've just installed my new kernel 2.6.1 to my RedHat 9.0 linux and want to make a boot floppy, to be able to run the new kernel. I have damaged MBR on my main disk, so I can't boot from it. When I installed RedHat i created a boot floppy too, which i use for booting instead of hdd.
But when i boot now from it, it boots the old kernel. how could i make a new one to boot with my new kernel?
thanx
 
Old 01-24-2004, 12:21 PM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
I would fix you MBR first.
1) Boot using the floppy.
2) Run grub-install (as root)
3) Reboot without the floppy
If that works then add the new kernel to /etc/grub.conf.
The floppy actually has the kernel on it. It is not a boot loader. It loads kernel and then mounts you filesystem. Unlike a boot load which looks for a kernel to load and loads the kernel and then passes everything off to that kernel. I have over simplified this, but you get the idea.
 
Old 01-25-2004, 04:59 AM   #3
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Thanx g-rod,
but my hdd is somehow damaged and i can't boot from it.
I tried to fix MBR, but it didn't work. I tried couple times low level format, but it helped me only once. Is there any utility which could somehoew diagnose my problem?
 
Old 01-25-2004, 05:57 AM   #4
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Try to see if your RH install disk-1 detects your HDD...
 
Old 01-25-2004, 06:08 AM   #5
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Sure it does, with instalation wasn.t any problem. Only when I boot from hdd it writes out only LILO and freezes. Once I made a low level and it worked, but after i installed linux and it was the sme bug again. I don't know how to solve this disc puzzle. Is there any utility for complete MBR check?
 
Old 01-25-2004, 06:24 AM   #6
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Did you check for bad sectors in your hdd before installing linux?
 
Old 01-25-2004, 08:33 AM   #7
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
no i didn't but i did it, when i was using fat32 on it, and no bad sectors were found!
 
Old 01-25-2004, 08:47 AM   #8
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Maybe the problem is with lilo. Will you please post what the error messages are so that we can get a better understanding?

Quite a few times, problems with lilo stop the system, so post the lilo messages. They are quite useful for diagnostics too...
 
Old 01-25-2004, 08:50 AM   #9
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Sure i can, but the problem isn't with lilo, because grub does the same. And winXp too, Dos boot too. So the problem must be with my hdd, i think i will try a low level on it sometimes again.
 
Old 01-25-2004, 08:50 AM   #10
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
OK. You are using LILO as you boot loader not grub. If during boot you get LILO that means that LILO has loaded correctly. Your MBR is not damage, but it doesn't know what to do next.
Boot the system using the floppy and run lilo. Try to reboot without the floppy. If that does not work then post you
/etc/lilo.conf and /etc/fstab files
and the output from
fdisk -l;
mount;
 
Old 01-25-2004, 08:55 AM   #11
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
g-rod
then why does winxp booting, dos booting and grub do the same?
 
Old 01-25-2004, 08:55 AM   #12
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Yes, if lilo loads then the problem is not with the MBR. That's why I asked for the errors that lilo gave, as it will generally be very informative.
 
Old 01-25-2004, 08:57 AM   #13
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
WinXP,grub anything will not boot if the partition info stored is not correct!

Generally, the errors given out by lilo or grub in this regard is very informative, but that is not the case of WinXP.

Last edited by UltimaGuy; 01-25-2004 at 09:01 AM.
 
Old 01-25-2004, 08:59 AM   #14
thrix
Member
 
Registered: Jan 2004
Location: Nove Zamky > Slovakia
Distribution: Slackware 9.1
Posts: 57

Original Poster
Rep: Reputation: 15
Ok, just a simple question. I now have 2 hdd. the hdc is that with booting problems, and hda is the good one, where i have winxp installed. now what i have to change to boot from hdc?
 
Old 01-25-2004, 09:00 AM   #15
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Where is the boot loader installed?

In hda or hdc?
 
  


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
Bootable Floppy to Bootable CD gamerxr72 Linux - Software 6 09-02-2005 03:39 PM
Bootable Floppy alnreddy Linux - General 1 02-22-2005 08:15 AM
Bootable Floppy Required Dogman2 Linux - Newbie 14 11-08-2004 11:49 AM
bootable cd not floppy w_r_r Slackware 3 10-19-2004 06:15 PM
Installing Slackware with non-bootable CD or bootable floppy (but not both) TiddlyPom Slackware 2 03-22-2004 04:15 PM

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

All times are GMT -5. The time now is 09:16 PM.

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