Any Linux Experts out there?
#1
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
_ 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
#2
Scooby Regular
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes
on
0 Posts
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.
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.
#3
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.
#4
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]
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]
Thread
Thread Starter
Forum
Replies
Last Post
The Joshua Tree
Computer & Technology Related
18
11 September 2015 09:24 PM