LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-14-2004, 10:51 AM   #1
chrisplinux
LQ Newbie
 
Registered: Jul 2003
Posts: 27

Rep: Reputation: 15
grub-install failure on a syslinux system


I had a win 2000 machine that I had installed Red Hat 9 on as a test. I didn't want to mess with the 2000 boot loader and crash the system so I installed RH9 using a syslinux boot floppy. I just tried to install grub onto the system to do away with the boot flopp and 2000 but must have batched it. I used

grub-install '(fd0)'

and it appeared to install properly

I quickly realized my mistake as I really wanted to use

grub-install '(hd0)'

now my system won't boot because I blew the syslinux floppy away

I'm trying to get past the grub> prompt now

any ideas?

Chris
 
Old 07-14-2004, 11:41 AM   #2
chrisplinux
LQ Newbie
 
Registered: Jul 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Okay I got the system to boot by going into the original syslinux boot floppy and using the 'cat' command to view the syslinux.cfg file

it's contents were

kernel vmlinuz
append initrd=initrd.img root=/dev/hdd3 hdc=ide-scsi

so in the grub command window with the grub> prompt I typed

root (fd0)

it mounted the whole FAT partition on the floppy

then I typed

kernel /vmlinuz initrd=initrd.img root=/dev/hdd3 hdc=ide-scsi

it loaded the kernel and I typed

boot

it worked but still how to load grub... or how to get another syslinux disk
I figure I'll try mkbootdisk

we'll see
 
Old 07-14-2004, 11:57 AM   #3
chrisplinux
LQ Newbie
 
Registered: Jul 2003
Posts: 27

Original Poster
Rep: Reputation: 15
yes

mkbootdisk <kernel version>

made a new boot disk

now to really load grub
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Grub issue of HD failure (System Hang on HP Omnibook 600) shortname Linux - Hardware 2 04-26-2005 10:00 AM
Trouble getting Syslinux to install a bootloader swipple Linux - Software 3 01-13-2005 08:33 PM
Install grub on running system FiveFlat Linux - Software 4 10-12-2004 04:29 AM
Complete system failure twinkers Mandriva 6 09-25-2003 05:27 PM
Power Failure, cause bootup to grub Johnny Hutto Linux - Newbie 9 08-23-2003 09:29 AM


All times are GMT -5. The time now is 06:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration