LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems vlinuz and grub (https://www.linuxquestions.org/questions/linux-newbie-8/problems-vlinuz-and-grub-388996/)

Gortex 12-03-2005 08:55 PM

Problems vlinuz and grub
 
I got Linux installed and running the other day. during the instalation prossess i made a boot disk dew to problems with the boot loader lilo and grub
when ever i try to boot from the hard drive with lilo or grub they boath do the same thing the computer displays the name grub or lilo then just hangs but with a boot disk i can get linux to boot fine well today i camehome and had to restart the computer and now when it trys to boot from the flopy it displays boot:
so i type linux
it displays loading
initd.rd ( or what ever its called cant remember off the top of my head) then
loading vmlinuz..... once it gets to the 4th dot the floppy drive quits reading and it says boot falure swap disks
i have recreated the boot disk 3 times to fix it 2 times in the instaler and 1 once with linux recover mkbootdisk command
just wondering if there is something else i can try ?

bigrigdriver 12-03-2005 09:15 PM

I don't have answers, but I do have questions.

Do you have another operating system on the computer, such as windows?

You decided to write the bootloader to floppy instead of to the Master Boot Record (MBR) of the hard disk. Why?

Which Linux distro are you using? SuSE, RedHat, Fedora, Debian, Other?

What kind of problems with the bootloader moved you to write to floppy instead of MBR?

Please include the contents of /etc/fstab, and the bootloader config file. If lilo, that would probably be /etc/lilo.conf. If grub, it will either be /boot/grub/menu.lst, or /etc/grub.conf, depending on your distro.

Since you can't boot from floppy, can you boot from disk 1 of the installation cds?

Without answers to these questions, there isn't much anyone can tell you about the problem and how to fix it.

Gortex 12-04-2005 12:05 AM

its a Single o.s
Redhat 7.2

on a p2 200mhz cpu ( spare computer ) 250megs ram


i did rite the boot loader to the mbr

but when it tries to boot it just hangs if i use grub it just says grub and then hangs if i try to use lilo i get basicly the the same thing it says lilo then Invalid system disk error replace disk and press any key.

but at instalation i also told it to make a boot disk
and was able to boot the system from the disk
and it ran fine so oh well

but today when i tried to boot the computer
this is what happens
SYSLINUX 1.52 2001-02-07
CopyRIght (2) 1994-2001 H.Peter Anvin

Press <return> (or wait 10 seconds) to boot your red hat linux system from /dev/hda5. you may override the default linux kernel parameters by typing "linux <params>. followed by <return> if you like.

Boot:
so I press return.

Loading Initrd.img........
Loading VmLinuz....
Boot failed: please change disks and press a key to continue.


thats it

I have tried to remake the boot disk useing
mkbootdisk
the same thing happens
I can boot from the 1st instalation cd
get to the install and get to linux rescue
i made 2 bootdisks from useing the install program
i have made 1 from linux rescue

so basicly why cant i get it to boot from any thing but the first cd rescue mode


/etc/fstab

lable = / / ext 3 defaults 1 1
lable = boot /boot ext 3 defaults 1 2
none /devpts devpts gid=5,mode=620 00
lable = home /home ext 3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
lable = user /usr ext 3 defaults 1 2
/dev/hda7 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom 1509660 noauto owner kudzu.ro 0 0
/dev/fd0 /mnt/floppy auto noauto owner kudzu 0 0


/etc/grub.conf


#boot = dev/hda
default = 0
timeout = 10
splash image = (hd0,0)splash.xpm.gz
Password = md5 "encrypted text"
title red hat linux (2.4.7-10)
root (hda 0,0)
kernel /vmlinuz-2.4.7-10 ro root = dev/hda5
initrd /initrd-2.4.7-10img hdd=ide-scsi

Gortex 12-04-2005 12:24 PM

I dont know if i can do this but

bump

Gortex 12-04-2005 03:41 PM

Sence i cant get my flopy to boot is there a way to make a cd-r bootdisk

aus9 01-07-2006 03:30 AM

have a read of tutorial it will tell you how to make a grub cdr with your own kernel etc

or you can stop it booting and just use the commands at menu screen


All times are GMT -5. The time now is 09:35 AM.