Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Any Linux Experts out there?

Thread Tools
 
Search this Thread
 
Old Nov 18, 2002 | 01:07 PM
  #1  
gregh's Avatar
gregh
Thread Starter
Scooby Regular
 
Joined: Dec 1999
Posts: 3,360
Likes: 0
Post

I installed Linux using an automated method from a boot floppy, now when I boot I get a prompt saying GRUB and a flashing
_ afterwards, but nothing else.

I can boot from the floppy and by choosing rescue get into a shell, and mount the filesystems and they look fine.

I tried to re-run grub from this command line but I got a message 'Unrecognised terminal: linux'

I had tried to install Redhat 8 onto a 2nd hard drive and reserve Windows XP on the 1st hard drive.

any ideas?

cheers,

Greg
Reply
Old Nov 18, 2002 | 01:44 PM
  #2  
orbv's Avatar
orbv
Scooby Regular
 
Joined: Apr 2001
Posts: 1,103
Likes: 0
From: Hants
Post

Grub is the program that installs a boot block enabling the machine to boot. Sounds like your almost there, try the following.....


1. Boot rescue floppy/cdrom
2. From memory redhat rescue disks mount root for you, if not mount manualy
3. Chroot root disk. 'chroot /mnt/sysimage'
4. Try grub
5. If get same message sounds like you dont have terminal information installed for 'linux' so type 'TERM=vt100 grub'

let us know what happends.
Reply
Old Nov 19, 2002 | 12:55 PM
  #3  
Ken E's Avatar
Ken E
Scooby Regular
 
Joined: Feb 2001
Posts: 450
Likes: 0
Post

I installed Red Hat 8 using the bootable CD, set the BIOS to boot from CDRom, and it installed fine. Maybe worth a try reinstalling this way ? Don't forget to switch the boot sequence back when it reboots at the end though.
Reply
Old Nov 22, 2002 | 04:20 PM
  #4  
gregh's Avatar
gregh
Thread Starter
Scooby Regular
 
Joined: Dec 1999
Posts: 3,360
Likes: 0
Post

thanks for the help so far, the chroot command made a big difference

Now I almost have a dual boot system!! I can boot XP fine, and created a boot block for Linux using the command

dd if=/dev/hdl /of=/tmp/linuxboot.bin bs=512 count=1

then copied that file to C:\

then I added an entry in boot.ini

c:\linuxboot.bin="Redhat 8"

when I boot and choose Redhat I get a Grub error 1.5, error 21

which means

Selected disk does not exist
This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.

anyone got any ideas?

My device.map and grub.conf are below:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdl3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1

# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdl



[Edited by gregh - 11/22/2002 4:22:06 PM]
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
roysc
ScoobyNet General
2
Sep 16, 2015 09:10 AM
The Joshua Tree
Computer & Technology Related
18
Sep 11, 2015 09:24 PM
PeterJ
ScoobyNet General
1
Jul 24, 2001 05:26 PM




All times are GMT +1. The time now is 03:53 AM.