Hello!

I cannot write the grub bootloader to disk: File not found.

I have created a configuration for grub 0.5.95 (menu.lst):

------------------------------------------------------
timeout 30
default 0

title Linux 2.2.15
root (hd0,4)
kernel /boot/vmlinuz-2.2.15-scsi root=/dev/hda6

title Windows 98
rootnoverify (hd0,0)
makeactive
chainloader +1

title Install GRUB into the hard disk
root    (hd0,4)
setup   (hd0)

title Change the colors
color light-green/brown blink-red/blue

------------------------------------------------------

Then I have started 'grub' and tried to setup GRUB on the MBR:

-------------------------------------------------------

    GRUB  version 0.5.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> root (hd0,4)
 Filesystem type is ext2fs, partition type 0x83

grub> setup --force-lba (hd0)

Error: File not found

grub> 

------------------------------------------------------------

After that I have tried to use 'find':

-------------------------------------------------------------

    GRUB  version 0.5.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /vmlinuz
 (hd0,3)
grub> find /usr/bin/less

grub> find /var/log/messages
 (hd0,3)
grub> find /home/qsim/models/throw.lisp

grub> find /usr/local/src/omsim.tar.gz

grub> find /spare/testfile

grub> find /dos/dl/modelicaparser.tar.gz

grub> find /boot/vmlinuz-2.2.15-scsi

grub> 

------------------------------------------------------------

This is strange, because only the root and var partitions can be seen by grub.

LILO (21.4.2) works without problems, so it must be a problem with grub.
(In LILO, the bootloader is installed in /dev/hda3, root is /dev/hda6.
 I want to install grub into the MBR (/dev/hda).)

My system configuration:

-------------------------------------------------------------

Mainboard: NMC 7VAX, VIA KX133, BIOS 2000/05/19 (forced LBA mode for IDE HDD)
Linux 2.2.15
grub 0.5.95

/dev/hda: Maxtor 53073U6 (30 GB UDMA66)
  driver: ide-disk version 1.08
  settings:

name                    value           min             max             mode
----                    -----           ---             ---             ----
bios_cyl                3736            0               65535           rw
bios_head               255             0               255             rw
bios_sect               63              0               63              rw
breada_readahead        4               0               127             rw
bswap                   0               0               1               r
file_readahead          124             0               2097151         rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
max_kb_per_request      64              1               127             rw
multcount               0               0               8               rw
nice1                   1               0               1               rw
nowerr                  0               0               1               rw
pio_mode                write-only      0               255             w
slow                    0               0               1               rw
unmaskirq               0               0               1               rw
using_dma               0               0               1               rw

----------------------------------------------------------------

And some more infos:

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda6               104376     61780     42596  59% /
/dev/hda8              3068252   1010168   2058084  33% /usr
/dev/hda9              2048188    154596   1893592   8% /var
/dev/hda11             5116476    500684   4615792  10% /home
/dev/hda10             8192832   1530228   6662604  19% /usr/local
/dev/hda2              2048000        32   2047968   0% /spare
/dev/hda1              5114696   4024076   1090620  79% /dos
/dev/hda5                38859      3372     33481   9% /boot

# mount
/dev/hda6 on / type reiserfs (rw,notail,notail)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda8 on /usr type reiserfs (rw,notail)
/dev/hda9 on /var type reiserfs (rw,notail)
/dev/hda11 on /home type reiserfs (rw,notail)
/dev/hda10 on /usr/local type reiserfs (rw,notail)
/dev/hda2 on /spare type vfat (rw,noexec,nosuid,nodev,umask=0)
/dev/hda1 on /dos type vfat (rw,noexec,nosuid,nodev,umask=0)
/dev/hda5 on /boot type ext2 (rw)

# fdisk /dev/hda

The number of cylinders for this disk is set to 3736.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 3736 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1       638   5124703+   b  Win95 FAT32
/dev/hda2           639       893   2048287+   6  FAT16
/dev/hda3   *       894      3238  18836212+   5  Extended
/dev/hda4          3239      3736   4000185   83  Linux
/dev/hda5           894       898     40131   83  Linux
/dev/hda6           899       911    104391   83  Linux
/dev/hda7           912       944    265041   82  Linux swap
/dev/hda8           945      1326   3068383+  83  Linux
/dev/hda9          1327      1581   2048256   83  Linux
/dev/hda10         1582      2601   8193118+  83  Linux
/dev/hda11         2602      3238   5116671   83  Linux


Can anyone help me?

Thanks,

-- 
Andr� Heynatz
University of Bremen - ARTEC

Reply via email to